halov 0.26.415 → 0.26.513
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/halov.es.js +303 -301
- package/dist/halov.umd.cjs +4 -4
- package/package.json +1 -1
package/dist/halov.es.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode("img[data-v-f7799232]{display:block;max-width:100%}.app-tab-item[data-v-df170cc3]{border-top-width:2px}[data-v-e7319d81] .n-upload-trigger{display:block}.item-box[data-v-e7319d81]{display:block;flex-grow:1}.form-input[data-v-e7319d81]{display:block}.text-input[data-v-e7319d81]{font-size:small;display:block;text-align:end;padding-right:4px}div[data-v-8b391a0f] div.n-form-item-feedback-wrapper{display:none}div[data-v-8b391a0f] .n-form-item-blank{margin-bottom:4px}.n-form-item.n-form-item--left-labelled.n-form-item--auto-label-width>label{min-width:8em}[data-v-18129d6e] .n-upload-trigger{display:block}.edit-title-btn{visibility:hidden}.grid-config-global-mode .edit-title-btn{visibility:visible}.main-detail-panel[data-v-ca4664e2]{display:flex;width:100%;height:100%;overflow:hidden;--n-resize-trigger-color: rgb(224, 224, 230, .24);--n-resize-trigger-color-hover: #36ad6a}.dark .main-detail-panel[data-v-ca4664e2]{--n-resize-trigger-color: rgba(255, 255, 255, .24);--n-resize-trigger-color-hover: #7fe7c4}.main-detail-panel.horizontal[data-v-ca4664e2]{flex-direction:row}.main-detail-panel.vertical[data-v-ca4664e2]{flex-direction:column}.panel[data-v-ca4664e2]{overflow:auto;display:flex;flex-direction:column}.divider[data-v-ca4664e2]{background-color:var(--n-resize-trigger-color);cursor:col-resize;transition:background .2s}.main-detail-panel.horizontal .divider[data-v-ca4664e2]{width:4px;height:100%}.main-detail-panel.vertical .divider[data-v-ca4664e2]{height:4px;width:100%;cursor:row-resize}.divider.dragging[data-v-ca4664e2],.divider[data-v-ca4664e2]:hover{background-color:var(--n-resize-trigger-color-hover)}.icon-container[data-v-ff87aac6]{display:flex;flex-direction:row;flex-wrap:wrap;padding-right:4px;padding-bottom:4px}.icon-button[data-v-ff87aac6]{max-width:100px;height:90px;width:80px;margin:4px 0 0 4px}.menu-spin>.n-spin-content{height:100%;display:flex;flex-direction:column}.user-name-box[data-v-0d4b7b61]{background:#abf3;position:relative;z-index:1;width:6rem;height:27px;line-height:27px;border-radius:0 27px 27px 0;left:20px;top:6px}.user-name-label[data-v-0d4b7b61]{padding-left:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:uppercase;text-align:center}.app-tabs{margin-bottom:0}.app-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type{--n-tab-color: #D1D5DB;--n-tab-text-color: #1E1B4B;--n-tab-text-color-active: #1E1B4B;--n-tab-border-color: #A3A3A3}.dark .app-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type{--n-tab-color: #27272A;--n-tab-text-color: #71717A;--n-tab-text-color-active: #D4D4D8;--n-tab-border-color: #525252}.app-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-tab.n-tabs-tab--active{background-color:#f4f4f5;border-bottom-color:#f4f4f5;font-weight:bolder;border-top-color:#1e40af}.dark .app-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-tab.n-tabs-tab--active{background-color:#171717;border-bottom-color:#171717;border-top-color:#e2e8f0}.app-tab-label{padding:0 1em}.d-block{display:block}.d-none{display:none}.d-flex{display:flex}.d-inline{display:inline}.d-inline-block{display:inline-block}.n-form .n-form-item .n-form-item-feedback-wrapper:empty{display:none}.n-form .n-form-item{margin-bottom:4px}.n-data-table-td,.n-data-table-th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.n-dropdown-menu.n-dropdown{min-width:150px}.text-monospace,.halo-form-code input,.halo-form-code-u input,.halo-form-code-l input{font-family:Monaco,Consolas,Liberation Mono,SimHei,Courier New,monospace}.halo-form-code-u input,.halo-form-code-u{text-transform:uppercase}.halo-form-code-l input,.halo-form-code-l{text-transform:lowercase}.halo-form-wrap{white-space:wrap;overflow-wrap:break-word;display:inline-block}.h-100{height:100%}.h-50{height:50%}td .halo-form-code,td .halo-form-code-u,td .halo-form-code-l{font-family:Monaco,Consolas,Liberation Mono,SimHei,Courier New,monospace}td.text-num{font-family:Monaco,Consolas,Liberation Mono,SimHei,Courier New,monospace;text-align:right}td.text-date,td.text-time,td.text-datetime{font-family:Monaco,Consolas,Liberation Mono,SimHei,Courier New,monospace}td .percent-mark{margin-left:4px;margin-right:2px}td .percent-mark svg{margin:0 auto;display:block}td .status-tag{border-radius:2px;border-width:0 0 0 4px;border-style:solid;padding:0 4px;font-size:smaller;border-color:#9999}td .status-New,td .status-Created,td .status-Standby{border-color:#8bc34a99}td .status-True,td .status-true,td .status-Success,td .status-Succeeded,td .status-Succeed,td .status-Good,td .status-InStock,td .status-Passed,td .status-Resolved,td .status-Processing,td .status-InProduction,td .status-Allowed,td .status-Qualified,td .status-Loaded{border-color:#18a05899}td .status-False,td .status-false,td .status-NonGood,td .status-Failed,td .status-Rejected,td .status-Abnormal,td .status-Forbidden,td .status-Defective{border-color:#d0305099}td .status-Confirmed,td .status-Dispatched,td .status-Inspected{border-color:#3f51b599}td .status-Consumed,td .status-Finished,td .status-Unloaded{border-color:#607d8b99}td .status-Ignored{border-color:#79554899}td .status-OutStock,td .status-Cancelled{border-color:#9e9e9e99}td .status-InTransit{border-color:#78909c99}td .status-InFactory{border-color:#43a04799}td .status-InGarage{border-color:#673ab799}td .status-Doubt,td .status-Paused{border-color:#ffc10799}td .status-Read{border-color:#ffc107cc}td .status-Write{border-color:#673ab7cc}.n-data-table .n-data-table-th .n-data-table-sorter:not(.n-data-table-sorter--asc):not(.n-data-table-sorter--desc){display:none}.n-data-table .btn-cell-ref .n-button__content{opacity:.2}.n-data-table .btn-cell-ref:hover .n-button__content{opacity:1;color:#673ab7}.n-data-table .btn-cell-qr .n-button__content{opacity:.2}.n-data-table .btn-cell-qr:hover .n-button__content{opacity:1;color:#673ab7}.n-data-table-td:not(.check-mark) .cell-unchecked{display:none}.draging-ghost{opacity:.5;background:#c8ebfb}.drag-sorting-handle{cursor:row-resize}.pg-item{margin:1px;border:1px solid transparent;padding:2px;border-radius:3px}.pg-item:hover{border-color:#eee}.dark .pg-item:hover{border-color:#fff6}.pg-label{padding:0 2px;white-space:nowrap;max-width:50%;text-overflow:clip}.pg-value{padding-left:.5em;padding-right:1em;position:relative}.menu-icon{border-radius:2px}.menu-icon-blank{width:16px;height:16px}.text-positive{color:#00c853}.text-negative,.text-danger{color:#b71c1c}ul,li{list-style:none}html,body,#app,.n-config-provider{height:100%;margin:0;padding:0}.flex-column{display:flex;flex-direction:column}.flex-row{display:flex;flex-direction:row}.flex-1{flex:1 1 0}.flex-grow-1{flex-grow:1}.flex-shrink-1{flex-shrink:1}.flex-wrap{flex-wrap:wrap}.gap1{gap:1em}.gap05{gap:.5em}.gap025{gap:.25em}.gap015{gap:.15em}.gap01{gap:.1em}.gap-x-1{column-gap:1em}.gap-x-05{column-gap:.5em}.gap-x-25{column-gap:.25em}.gap-y-1{row-gap:1em}.gap-y-05{row-gap:.5em}.gap-y-25{row-gap:.25em}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.week-0{background-color:#a5d6a7}input.ime-off,.ime-off input{ime-mode:disabled}.h-scroll{overflow-x:scroll}.v-scroll{overflow-y:scroll}.tabs-card.n-card>.n-card__content{padding:0}.tabs-card.n-card>.n-card__content .n-tab-pane{padding:0}.tabs-card.n-card>.n-card__content .n-tab-pane>.n-card{border-top:0}.info-card{flex-grow:1;margin-top:1em}.info-card>.n-card__content{display:flex;flex-direction:column}.info-card>.n-card__content>.n-tabs{flex-grow:1}.info-card>.n-card__content>.n-tabs>.n-tab-pane{flex-grow:1;display:flex;flex-direction:column}.info-card>.n-card__content>.n-tabs>.n-tab-pane>div{flex-grow:1;display:flex;flex-direction:column}.page-component.n-space>div:first-child{flex-grow:1;display:flex;flex-direction:column}.form-create .n-input--disabled .n-input__input-el,.form-create .n-input--disabled .n-input__placeholder,.form-create .n-input--disabled .n-input__textarea-el,.form-create .n-base-selection--disabled .n-base-selection-overlay__wrapper{color:#000;font-weight:700}.bordered{border:1px solid var(--n-border-color);border-radius:var(--n-border-radius)}.n-dialog__content .line,.n-message__content .line{display:block}.n-tree-node-content__text{white-space:nowrap}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var fe = (e, n, t) =>
|
|
5
|
-
import { inject as xe, defineComponent as H, ref as T, watch as le, openBlock as w, createElementBlock as P, normalizeStyle as ce, createElementVNode as N, createCommentVNode as te, computed as Ie, createBlock as j, unref as r, withCtx as f, Fragment as we, renderList as be, createTextVNode as K, toDisplayString as F, createVNode as h, renderSlot as de, h as D, onMounted as ge, reactive as Mt, toRefs as
|
|
2
|
+
var Uo = Object.defineProperty;
|
|
3
|
+
var Po = (e, n, t) => n in e ? Uo(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
4
|
+
var fe = (e, n, t) => Po(e, typeof n != "symbol" ? n + "" : n, t);
|
|
5
|
+
import { inject as xe, defineComponent as H, ref as T, watch as le, openBlock as w, createElementBlock as P, normalizeStyle as ce, createElementVNode as N, createCommentVNode as te, computed as Ie, createBlock as j, unref as r, withCtx as f, Fragment as we, renderList as be, createTextVNode as K, toDisplayString as F, createVNode as h, renderSlot as de, h as D, onMounted as ge, reactive as Mt, toRefs as Fo, resolveComponent as ne, resolveDynamicComponent as Vt, KeepAlive as Ho, normalizeClass as je, withDirectives as Ne, vShow as Re, createStaticVNode as qt, onUnmounted as Vo, createSlots as Go } from "vue";
|
|
6
6
|
import Ue from "axios";
|
|
7
7
|
import { default as ff } from "axios";
|
|
8
8
|
import { useRouter as tt, RouterLink as el } from "vue-router";
|
|
9
|
-
import { NTabs as Jl, NTab as ql, NButton as X, NDropdown as rt, NIcon as Q, NImage as en, useMessage as Pe, NForm as At, NInputGroup as We, NInput as Fe, NColorPicker as
|
|
9
|
+
import { NTabs as Jl, NTab as ql, NButton as X, NDropdown as rt, NIcon as Q, NImage as en, useMessage as Pe, NForm as At, NInputGroup as We, NInput as Fe, NColorPicker as Ko, NDatePicker as Zo, NTimePicker as Wo, NSelect as Ze, useDialog as tl, useModal as tn, NQrCode as Yo, NDynamicTags as Qo, NModal as Me, NSpace as ye, NText as Te, NFormItem as ut, NGrid as kt, NGridItem as Gt, NProgress as ln, NSpin as He, NCard as _t, NCollapse as Xo, NCollapseItem as Jo, NH2 as qo, NSwitch as ea, NDataTable as ll, NInputNumber as Lt, NInputGroupLabel as nn, NTag as ta, NPagination as nl, useLoadingBar as on, NUpload as la, NUploadDragger as na, NAlert as oa, NButtonGroup as aa, NFormItemGi as ra, NTree as sa, NH3 as ia, NEmpty as ua, NBreadcrumb as da, NBreadcrumbItem as ca, NScrollbar as fa, NRadioGroup as pa, NRadio as ma, NMenu as an } from "naive-ui";
|
|
10
10
|
import { defineStore as ct } from "pinia";
|
|
11
11
|
import Le from "moment";
|
|
12
12
|
import Je from "mustache";
|
|
13
13
|
import { useDraggable as rn } from "vue-draggable-plus";
|
|
14
14
|
const Pt = window, Rl = "halo-lang";
|
|
15
|
-
class
|
|
15
|
+
class ga {
|
|
16
16
|
constructor(n, t = !0) {
|
|
17
17
|
fe(this, "langCode", "");
|
|
18
18
|
fe(this, "ignoreCase", !1);
|
|
@@ -70,11 +70,11 @@ class ma {
|
|
|
70
70
|
}
|
|
71
71
|
const sn = Symbol("halo-i18n");
|
|
72
72
|
let Ft = null;
|
|
73
|
-
function
|
|
74
|
-
return Ft || (Ft = new
|
|
73
|
+
function ha(e, n) {
|
|
74
|
+
return Ft || (Ft = new ga(e, n)), Ft;
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
const l =
|
|
76
|
+
function va(e, n, t = !0) {
|
|
77
|
+
const l = ha(n, t);
|
|
78
78
|
e.config.globalProperties.$t = (o) => l.t(o), e.provide(sn, l);
|
|
79
79
|
}
|
|
80
80
|
function re() {
|
|
@@ -88,11 +88,11 @@ function re() {
|
|
|
88
88
|
lang: e.info
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
|
-
const
|
|
91
|
+
const ya = () => {
|
|
92
92
|
let e = localStorage.getItem("Client-Device-Id");
|
|
93
93
|
return e || (typeof crypto < "u" && typeof crypto.randomUUID == "function" ? e = crypto.randomUUID() : e = "c-" + Math.random().toString(36).substring(2) + Date.now().toString(36), localStorage.setItem("Client-Device-Id", e)), e;
|
|
94
94
|
};
|
|
95
|
-
Ue.defaults.headers["Client-Device-Id"] =
|
|
95
|
+
Ue.defaults.headers["Client-Device-Id"] = ya();
|
|
96
96
|
Ue.defaults.headers["Content-type"] = "application/json";
|
|
97
97
|
Ue.defaults.timeout = 1e3 * 60;
|
|
98
98
|
Ue.interceptors.request.use(
|
|
@@ -113,7 +113,7 @@ Ue.interceptors.response.use((e) => e.status == 200 ? e.data : Promise.reject(e.
|
|
|
113
113
|
}
|
|
114
114
|
return Promise.reject(e);
|
|
115
115
|
});
|
|
116
|
-
const
|
|
116
|
+
const wa = ["src"], ba = /* @__PURE__ */ H({
|
|
117
117
|
__name: "AppLogoBox",
|
|
118
118
|
props: {
|
|
119
119
|
src: {
|
|
@@ -145,15 +145,15 @@ const ya = ["src"], wa = /* @__PURE__ */ H({
|
|
|
145
145
|
style: ce({ height: e.height, objectFit: "contain" }),
|
|
146
146
|
onError: l,
|
|
147
147
|
alt: "App Logo"
|
|
148
|
-
}, null, 44,
|
|
148
|
+
}, null, 44, wa));
|
|
149
149
|
}
|
|
150
150
|
}), Ae = (e, n) => {
|
|
151
151
|
const t = e.__vccOpts || e;
|
|
152
152
|
for (const [l, o] of n)
|
|
153
153
|
t[l] = o;
|
|
154
154
|
return t;
|
|
155
|
-
},
|
|
156
|
-
function
|
|
155
|
+
}, Ca = /* @__PURE__ */ Ae(ba, [["__scopeId", "data-v-f7799232"]]);
|
|
156
|
+
function xa() {
|
|
157
157
|
try {
|
|
158
158
|
const e = sessionStorage.getItem("tabs");
|
|
159
159
|
return e ? JSON.parse(e) : null;
|
|
@@ -163,7 +163,7 @@ function Ca() {
|
|
|
163
163
|
}
|
|
164
164
|
const un = ct("tabs", {
|
|
165
165
|
state: () => ({
|
|
166
|
-
tabs:
|
|
166
|
+
tabs: xa(),
|
|
167
167
|
selectedTab: sessionStorage.getItem("selectedTab")
|
|
168
168
|
}),
|
|
169
169
|
actions: {
|
|
@@ -199,44 +199,44 @@ const un = ct("tabs", {
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
});
|
|
202
|
-
var
|
|
203
|
-
function
|
|
204
|
-
var n =
|
|
202
|
+
var Ia = typeof global == "object" && global && global.Object === Object && global, ka = typeof self == "object" && self && self.Object === Object && self, Sa = Ia || ka || Function("return this")(), qe = Sa.Symbol, dn = Object.prototype, Ma = dn.hasOwnProperty, Aa = dn.toString, at = qe ? qe.toStringTag : void 0;
|
|
203
|
+
function _a(e) {
|
|
204
|
+
var n = Ma.call(e, at), t = e[at];
|
|
205
205
|
try {
|
|
206
206
|
e[at] = void 0;
|
|
207
207
|
var l = !0;
|
|
208
208
|
} catch {
|
|
209
209
|
}
|
|
210
|
-
var o =
|
|
210
|
+
var o = Aa.call(e);
|
|
211
211
|
return l && (n ? e[at] = t : delete e[at]), o;
|
|
212
212
|
}
|
|
213
|
-
var
|
|
214
|
-
function
|
|
215
|
-
return
|
|
216
|
-
}
|
|
217
|
-
var za = "[object Null]", $a = "[object Undefined]", Bl = qe ? qe.toStringTag : void 0;
|
|
218
|
-
function Na(e) {
|
|
219
|
-
return e == null ? e === void 0 ? $a : za : Bl && Bl in Object(e) ? Aa(e) : Ta(e);
|
|
213
|
+
var La = Object.prototype, Ta = La.toString;
|
|
214
|
+
function za(e) {
|
|
215
|
+
return Ta.call(e);
|
|
220
216
|
}
|
|
217
|
+
var $a = "[object Null]", Na = "[object Undefined]", Bl = qe ? qe.toStringTag : void 0;
|
|
221
218
|
function Ra(e) {
|
|
219
|
+
return e == null ? e === void 0 ? Na : $a : Bl && Bl in Object(e) ? _a(e) : za(e);
|
|
220
|
+
}
|
|
221
|
+
function Ba(e) {
|
|
222
222
|
return e != null && typeof e == "object";
|
|
223
223
|
}
|
|
224
|
-
var
|
|
225
|
-
function
|
|
226
|
-
return typeof e == "symbol" ||
|
|
224
|
+
var Oa = "[object Symbol]";
|
|
225
|
+
function ja(e) {
|
|
226
|
+
return typeof e == "symbol" || Ba(e) && Ra(e) == Oa;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function Da(e, n) {
|
|
229
229
|
for (var t = -1, l = e == null ? 0 : e.length, o = Array(l); ++t < l; )
|
|
230
230
|
o[t] = n(e[t], t, e);
|
|
231
231
|
return o;
|
|
232
232
|
}
|
|
233
|
-
var
|
|
233
|
+
var Ea = Array.isArray, Ol = qe ? qe.prototype : void 0, jl = Ol ? Ol.toString : void 0;
|
|
234
234
|
function cn(e) {
|
|
235
235
|
if (typeof e == "string")
|
|
236
236
|
return e;
|
|
237
|
-
if (
|
|
238
|
-
return
|
|
239
|
-
if (
|
|
237
|
+
if (Ea(e))
|
|
238
|
+
return Da(e, cn) + "";
|
|
239
|
+
if (ja(e))
|
|
240
240
|
return jl ? jl.call(e) : "";
|
|
241
241
|
var n = e + "";
|
|
242
242
|
return n == "0" && 1 / e == -1 / 0 ? "-0" : n;
|
|
@@ -244,50 +244,50 @@ function cn(e) {
|
|
|
244
244
|
function ol(e) {
|
|
245
245
|
return e == null ? "" : cn(e);
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function Ua(e, n, t) {
|
|
248
248
|
var l = -1, o = e.length;
|
|
249
249
|
n < 0 && (n = -n > o ? 0 : o + n), t = t > o ? o : t, t < 0 && (t += o), o = n > t ? 0 : t - n >>> 0, n >>>= 0;
|
|
250
250
|
for (var a = Array(o); ++l < o; )
|
|
251
251
|
a[l] = e[l + n];
|
|
252
252
|
return a;
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function Pa(e, n, t) {
|
|
255
255
|
var l = e.length;
|
|
256
|
-
return t = t === void 0 ? l : t, !n && t >= l ? e :
|
|
256
|
+
return t = t === void 0 ? l : t, !n && t >= l ? e : Ua(e, n, t);
|
|
257
257
|
}
|
|
258
|
-
var
|
|
258
|
+
var Fa = "\\ud800-\\udfff", Ha = "\\u0300-\\u036f", Va = "\\ufe20-\\ufe2f", Ga = "\\u20d0-\\u20ff", Ka = Ha + Va + Ga, Za = "\\ufe0e\\ufe0f", Wa = "\\u200d", Ya = RegExp("[" + Wa + Fa + Ka + Za + "]");
|
|
259
259
|
function fn(e) {
|
|
260
|
-
return
|
|
260
|
+
return Ya.test(e);
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function Qa(e) {
|
|
263
263
|
return e.split("");
|
|
264
264
|
}
|
|
265
|
-
var pn = "\\ud800-\\udfff",
|
|
266
|
-
function ir(e) {
|
|
267
|
-
return e.match(sr) || [];
|
|
268
|
-
}
|
|
265
|
+
var pn = "\\ud800-\\udfff", Xa = "\\u0300-\\u036f", Ja = "\\ufe20-\\ufe2f", qa = "\\u20d0-\\u20ff", er = Xa + Ja + qa, tr = "\\ufe0e\\ufe0f", lr = "[" + pn + "]", Kt = "[" + er + "]", Zt = "\\ud83c[\\udffb-\\udfff]", nr = "(?:" + Kt + "|" + Zt + ")", mn = "[^" + pn + "]", gn = "(?:\\ud83c[\\udde6-\\uddff]){2}", hn = "[\\ud800-\\udbff][\\udc00-\\udfff]", or = "\\u200d", vn = nr + "?", yn = "[" + tr + "]?", ar = "(?:" + or + "(?:" + [mn, gn, hn].join("|") + ")" + yn + vn + ")*", rr = yn + vn + ar, sr = "(?:" + [mn + Kt + "?", Kt, gn, hn, lr].join("|") + ")", ir = RegExp(Zt + "(?=" + Zt + ")|" + sr + rr, "g");
|
|
269
266
|
function ur(e) {
|
|
270
|
-
return
|
|
267
|
+
return e.match(ir) || [];
|
|
271
268
|
}
|
|
272
269
|
function dr(e) {
|
|
270
|
+
return fn(e) ? ur(e) : Qa(e);
|
|
271
|
+
}
|
|
272
|
+
function cr(e) {
|
|
273
273
|
return function(n) {
|
|
274
274
|
n = ol(n);
|
|
275
|
-
var t = fn(n) ?
|
|
275
|
+
var t = fn(n) ? dr(n) : void 0, l = t ? t[0] : n.charAt(0), o = t ? Pa(t, 1).join("") : n.slice(1);
|
|
276
276
|
return l[e]() + o;
|
|
277
277
|
};
|
|
278
278
|
}
|
|
279
|
-
var
|
|
280
|
-
function
|
|
279
|
+
var fr = cr("toUpperCase");
|
|
280
|
+
function pr(e, n, t, l) {
|
|
281
281
|
for (var o = -1, a = e == null ? 0 : e.length; ++o < a; )
|
|
282
282
|
t = n(t, e[o], o, e);
|
|
283
283
|
return t;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function mr(e) {
|
|
286
286
|
return function(n) {
|
|
287
287
|
return e == null ? void 0 : e[n];
|
|
288
288
|
};
|
|
289
289
|
}
|
|
290
|
-
var
|
|
290
|
+
var gr = {
|
|
291
291
|
// Latin-1 Supplement block.
|
|
292
292
|
À: "A",
|
|
293
293
|
Á: "A",
|
|
@@ -480,46 +480,46 @@ var mr = {
|
|
|
480
480
|
œ: "oe",
|
|
481
481
|
ʼn: "'n",
|
|
482
482
|
ſ: "s"
|
|
483
|
-
},
|
|
484
|
-
function
|
|
485
|
-
return e = ol(e), e && e.replace(
|
|
483
|
+
}, hr = mr(gr), vr = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, yr = "\\u0300-\\u036f", wr = "\\ufe20-\\ufe2f", br = "\\u20d0-\\u20ff", Cr = yr + wr + br, xr = "[" + Cr + "]", Ir = RegExp(xr, "g");
|
|
484
|
+
function kr(e) {
|
|
485
|
+
return e = ol(e), e && e.replace(vr, hr).replace(Ir, "");
|
|
486
486
|
}
|
|
487
|
-
var
|
|
488
|
-
function
|
|
489
|
-
return e.match(
|
|
487
|
+
var Sr = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
488
|
+
function Mr(e) {
|
|
489
|
+
return e.match(Sr) || [];
|
|
490
490
|
}
|
|
491
|
-
var
|
|
492
|
-
function
|
|
493
|
-
return
|
|
491
|
+
var Ar = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
492
|
+
function _r(e) {
|
|
493
|
+
return Ar.test(e);
|
|
494
494
|
}
|
|
495
|
-
var wn = "\\ud800-\\udfff",
|
|
495
|
+
var wn = "\\ud800-\\udfff", Lr = "\\u0300-\\u036f", Tr = "\\ufe20-\\ufe2f", zr = "\\u20d0-\\u20ff", $r = Lr + Tr + zr, bn = "\\u2700-\\u27bf", Cn = "a-z\\xdf-\\xf6\\xf8-\\xff", Nr = "\\xac\\xb1\\xd7\\xf7", Rr = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Br = "\\u2000-\\u206f", Or = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", xn = "A-Z\\xc0-\\xd6\\xd8-\\xde", jr = "\\ufe0e\\ufe0f", In = Nr + Rr + Br + Or, kn = "['’]", Dl = "[" + In + "]", Dr = "[" + $r + "]", Sn = "\\d+", Er = "[" + bn + "]", Mn = "[" + Cn + "]", An = "[^" + wn + In + Sn + bn + Cn + xn + "]", Ur = "\\ud83c[\\udffb-\\udfff]", Pr = "(?:" + Dr + "|" + Ur + ")", Fr = "[^" + wn + "]", _n = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ln = "[\\ud800-\\udbff][\\udc00-\\udfff]", Xe = "[" + xn + "]", Hr = "\\u200d", El = "(?:" + Mn + "|" + An + ")", Vr = "(?:" + Xe + "|" + An + ")", Ul = "(?:" + kn + "(?:d|ll|m|re|s|t|ve))?", Pl = "(?:" + kn + "(?:D|LL|M|RE|S|T|VE))?", Tn = Pr + "?", zn = "[" + jr + "]?", Gr = "(?:" + Hr + "(?:" + [Fr, _n, Ln].join("|") + ")" + zn + Tn + ")*", Kr = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Zr = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Wr = zn + Tn + Gr, Yr = "(?:" + [Er, _n, Ln].join("|") + ")" + Wr, Qr = RegExp([
|
|
496
496
|
Xe + "?" + Mn + "+" + Ul + "(?=" + [Dl, Xe, "$"].join("|") + ")",
|
|
497
|
-
|
|
497
|
+
Vr + "+" + Pl + "(?=" + [Dl, Xe + El, "$"].join("|") + ")",
|
|
498
498
|
Xe + "?" + El + "+" + Ul,
|
|
499
499
|
Xe + "+" + Pl,
|
|
500
|
+
Zr,
|
|
500
501
|
Kr,
|
|
501
|
-
Gr,
|
|
502
502
|
Sn,
|
|
503
|
-
|
|
503
|
+
Yr
|
|
504
504
|
].join("|"), "g");
|
|
505
|
-
function
|
|
506
|
-
return e.match(
|
|
505
|
+
function Xr(e) {
|
|
506
|
+
return e.match(Qr) || [];
|
|
507
507
|
}
|
|
508
|
-
function
|
|
509
|
-
return e = ol(e), n = n, n === void 0 ?
|
|
508
|
+
function Jr(e, n, t) {
|
|
509
|
+
return e = ol(e), n = n, n === void 0 ? _r(e) ? Xr(e) : Mr(e) : e.match(n) || [];
|
|
510
510
|
}
|
|
511
|
-
var
|
|
512
|
-
function
|
|
511
|
+
var qr = "['’]", es = RegExp(qr, "g");
|
|
512
|
+
function ts(e) {
|
|
513
513
|
return function(n) {
|
|
514
|
-
return
|
|
514
|
+
return pr(Jr(kr(n).replace(es, "")), e, "");
|
|
515
515
|
};
|
|
516
516
|
}
|
|
517
|
-
var
|
|
518
|
-
return e + (t ? " " : "") +
|
|
517
|
+
var ls = ts(function(e, n, t) {
|
|
518
|
+
return e + (t ? " " : "") + fr(n);
|
|
519
519
|
});
|
|
520
520
|
const St = "YYYY/MM/DD HH:mm:ss", et = "YYYY/MM/DD", xt = "HH:mm:ss";
|
|
521
521
|
function Ce(e) {
|
|
522
|
-
return e.length ?
|
|
522
|
+
return e.length ? ls(e) : e;
|
|
523
523
|
}
|
|
524
524
|
function Ee(e) {
|
|
525
525
|
if (e != null) {
|
|
@@ -551,7 +551,7 @@ function al(e, n) {
|
|
|
551
551
|
const t = Ee(e);
|
|
552
552
|
return t === void 0 ? n || !1 : t;
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function ns(e, n) {
|
|
555
555
|
if (e != null) {
|
|
556
556
|
if (e instanceof Date)
|
|
557
557
|
return e;
|
|
@@ -561,7 +561,7 @@ function ls(e, n) {
|
|
|
561
561
|
return Le(e, n || St).toDate();
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function os(e) {
|
|
565
565
|
return typeof e == "object" && e !== null && "hour" in e && "minute" in e;
|
|
566
566
|
}
|
|
567
567
|
function Oc(e) {
|
|
@@ -577,7 +577,7 @@ function Oc(e) {
|
|
|
577
577
|
millisecond: n
|
|
578
578
|
};
|
|
579
579
|
}
|
|
580
|
-
function
|
|
580
|
+
function as(e) {
|
|
581
581
|
const n = e % 60;
|
|
582
582
|
e /= 60;
|
|
583
583
|
const t = e % 60;
|
|
@@ -588,7 +588,7 @@ function os(e) {
|
|
|
588
588
|
millisecond: 0
|
|
589
589
|
};
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function rs(e, n) {
|
|
592
592
|
const t = Le(e, n || xt);
|
|
593
593
|
if (t)
|
|
594
594
|
return {
|
|
@@ -598,7 +598,7 @@ function as(e, n) {
|
|
|
598
598
|
millisecond: t.millisecond()
|
|
599
599
|
};
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function ss(e, n) {
|
|
602
602
|
var t, l;
|
|
603
603
|
if (e) {
|
|
604
604
|
if (typeof e == "string")
|
|
@@ -609,7 +609,7 @@ function rs(e, n) {
|
|
|
609
609
|
return e.getTime();
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function is(e, n) {
|
|
613
613
|
if (e != null) {
|
|
614
614
|
if (typeof e == "string")
|
|
615
615
|
return e;
|
|
@@ -617,13 +617,13 @@ function ss(e, n) {
|
|
|
617
617
|
return Le(new Date(e)).format(n || xt);
|
|
618
618
|
if (e instanceof Date)
|
|
619
619
|
return Le(e).format(n || xt);
|
|
620
|
-
if (
|
|
620
|
+
if (os(e))
|
|
621
621
|
return Le(new Date(2e3, 1, 1, e.hour, e.minute, e.second)).format(n || xt);
|
|
622
622
|
if (typeof e == "object")
|
|
623
623
|
return e == null ? void 0 : e.toString();
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function $n(e, n) {
|
|
627
627
|
if (e != null) {
|
|
628
628
|
if (typeof e == "string")
|
|
629
629
|
return e;
|
|
@@ -635,7 +635,7 @@ function is(e, n) {
|
|
|
635
635
|
return e == null ? void 0 : e.toString();
|
|
636
636
|
}
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function Nn(e, n) {
|
|
639
639
|
if (e != null) {
|
|
640
640
|
if (typeof e == "string")
|
|
641
641
|
return e;
|
|
@@ -726,7 +726,7 @@ function Wt(e, n, t) {
|
|
|
726
726
|
return Ee(e);
|
|
727
727
|
case "date":
|
|
728
728
|
case "datetime":
|
|
729
|
-
return
|
|
729
|
+
return Nn(e);
|
|
730
730
|
default:
|
|
731
731
|
return t && typeof e == "string" && (t.includes("code-u") ? e = e.toUpperCase() : t.includes("code-l") && (e = e.toLowerCase())), e;
|
|
732
732
|
}
|
|
@@ -912,7 +912,7 @@ const ft = ct("common", {
|
|
|
912
912
|
xmlns: "http://www.w3.org/2000/svg",
|
|
913
913
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
914
914
|
viewBox: "0 0 24 24"
|
|
915
|
-
},
|
|
915
|
+
}, Rn = H({
|
|
916
916
|
name: "ClearFilled",
|
|
917
917
|
render: function(n, t) {
|
|
918
918
|
return w(), P(
|
|
@@ -1008,7 +1008,7 @@ const ft = ct("common", {
|
|
|
1008
1008
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1009
1009
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
1010
1010
|
viewBox: "0 0 24 24"
|
|
1011
|
-
},
|
|
1011
|
+
}, Bn = H({
|
|
1012
1012
|
name: "EditFilled",
|
|
1013
1013
|
render: function(n, t) {
|
|
1014
1014
|
return w(), P(
|
|
@@ -1577,9 +1577,9 @@ const ft = ct("common", {
|
|
|
1577
1577
|
}), ii = {
|
|
1578
1578
|
rootMenuName: "MainMenu",
|
|
1579
1579
|
menuPosition: "side"
|
|
1580
|
-
},
|
|
1581
|
-
function
|
|
1582
|
-
return xe(
|
|
1580
|
+
}, On = Symbol("HalovConfig");
|
|
1581
|
+
function jn() {
|
|
1582
|
+
return xe(On);
|
|
1583
1583
|
}
|
|
1584
1584
|
const ui = ["src"], pt = /* @__PURE__ */ H({
|
|
1585
1585
|
__name: "MenuIcon",
|
|
@@ -1608,7 +1608,7 @@ const ui = ["src"], pt = /* @__PURE__ */ H({
|
|
|
1608
1608
|
emits: ["update:currentTab", "closeTab", "closeAll", "closeOthers"],
|
|
1609
1609
|
setup(e, { emit: n }) {
|
|
1610
1610
|
var S;
|
|
1611
|
-
const t = e, l = n, { t: o } = re(), a = un(), u = ft(), c = Ie(() => u.menuCollapsed), v = ((S =
|
|
1611
|
+
const t = e, l = n, { t: o } = re(), a = un(), u = ft(), c = Ie(() => u.menuCollapsed), v = ((S = jn()) == null ? void 0 : S.menuPosition) ?? "side", i = () => u.setMenuCollapsed(!u.menuCollapsed), s = T(t.currentTab), m = Ie(() => [
|
|
1612
1612
|
{
|
|
1613
1613
|
label: o("Close"),
|
|
1614
1614
|
key: "close-current"
|
|
@@ -1873,9 +1873,9 @@ const vi = /* @__PURE__ */ H({
|
|
|
1873
1873
|
}, null, 8, ["src", "width", "height"]));
|
|
1874
1874
|
}
|
|
1875
1875
|
});
|
|
1876
|
-
function
|
|
1876
|
+
function Dn(e) {
|
|
1877
1877
|
for (const n of e)
|
|
1878
|
-
n.guid && (n.guid = n.guid.toLowerCase()), n.items &&
|
|
1878
|
+
n.guid && (n.guid = n.guid.toLowerCase()), n.items && Dn(n.items);
|
|
1879
1879
|
}
|
|
1880
1880
|
function yi() {
|
|
1881
1881
|
try {
|
|
@@ -1913,13 +1913,13 @@ const mt = ct("account", () => {
|
|
|
1913
1913
|
var d;
|
|
1914
1914
|
c(!0);
|
|
1915
1915
|
try {
|
|
1916
|
-
m || (m = ((d =
|
|
1916
|
+
m || (m = ((d = jn()) == null ? void 0 : d.rootMenuName) ?? "MainMenu");
|
|
1917
1917
|
const g = await Ue.get(
|
|
1918
1918
|
`/api/core/account/menus?rootName=${encodeURIComponent(m)}`
|
|
1919
1919
|
);
|
|
1920
1920
|
if (g.isSuccess) {
|
|
1921
1921
|
const x = g.value || [];
|
|
1922
|
-
|
|
1922
|
+
Dn(x), u(x);
|
|
1923
1923
|
} else
|
|
1924
1924
|
console.log(g.errorMessage || "get remote menus error.");
|
|
1925
1925
|
} catch (g) {
|
|
@@ -1931,7 +1931,7 @@ const mt = ct("account", () => {
|
|
|
1931
1931
|
e.messages.push(m), localStorage.setItem("_msgs", JSON.stringify(e.messages));
|
|
1932
1932
|
};
|
|
1933
1933
|
return {
|
|
1934
|
-
...
|
|
1934
|
+
...Fo(e),
|
|
1935
1935
|
// actions
|
|
1936
1936
|
setSession: n,
|
|
1937
1937
|
setLastUserName: t,
|
|
@@ -1947,7 +1947,7 @@ const mt = ct("account", () => {
|
|
|
1947
1947
|
}), wi = {
|
|
1948
1948
|
key: 0,
|
|
1949
1949
|
style: { "padding-left": "1rem" }
|
|
1950
|
-
},
|
|
1950
|
+
}, En = /* @__PURE__ */ H({
|
|
1951
1951
|
__name: "ChangePassword",
|
|
1952
1952
|
props: {
|
|
1953
1953
|
show: { type: Boolean }
|
|
@@ -2130,7 +2130,7 @@ const mt = ct("account", () => {
|
|
|
2130
2130
|
}, 8, ["show", "title"]);
|
|
2131
2131
|
};
|
|
2132
2132
|
}
|
|
2133
|
-
}),
|
|
2133
|
+
}), Un = /* @__PURE__ */ H({
|
|
2134
2134
|
__name: "ColorInput",
|
|
2135
2135
|
props: {
|
|
2136
2136
|
value: {},
|
|
@@ -2150,7 +2150,7 @@ const mt = ct("account", () => {
|
|
|
2150
2150
|
clearable: n.clearable,
|
|
2151
2151
|
"onUpdate:value": t[0] || (t[0] = (l) => n.$emit("update:value", l))
|
|
2152
2152
|
}, null, 8, ["readonly", "value", "placeholder", "clearable"]),
|
|
2153
|
-
h(r(
|
|
2153
|
+
h(r(Ko), {
|
|
2154
2154
|
value: n.value,
|
|
2155
2155
|
"show-preview": "",
|
|
2156
2156
|
modes: ["hex"],
|
|
@@ -2541,12 +2541,12 @@ const Qt = /* @__PURE__ */ H({
|
|
|
2541
2541
|
emits: ["update:value"],
|
|
2542
2542
|
setup(e, { emit: n }) {
|
|
2543
2543
|
const t = e, l = n, o = (c) => {
|
|
2544
|
-
const v =
|
|
2544
|
+
const v = ss(c);
|
|
2545
2545
|
return v === void 0 ? null : v;
|
|
2546
2546
|
}, a = T(o(t.value)), u = (c) => {
|
|
2547
2547
|
if (c != null) {
|
|
2548
2548
|
a.value = c;
|
|
2549
|
-
const v = $n(c);
|
|
2549
|
+
const v = t.type == "date" ? $n(c) : Nn(c);
|
|
2550
2550
|
l("update:value", v, c);
|
|
2551
2551
|
} else
|
|
2552
2552
|
l("update:value", null, c);
|
|
@@ -2554,7 +2554,7 @@ const Qt = /* @__PURE__ */ H({
|
|
|
2554
2554
|
return le(
|
|
2555
2555
|
() => t.value,
|
|
2556
2556
|
(c) => a.value = o(c)
|
|
2557
|
-
), (c, v) => (w(), j(r(
|
|
2557
|
+
), (c, v) => (w(), j(r(Zo), {
|
|
2558
2558
|
value: a.value,
|
|
2559
2559
|
type: c.type,
|
|
2560
2560
|
placeholder: "",
|
|
@@ -2563,7 +2563,7 @@ const Qt = /* @__PURE__ */ H({
|
|
|
2563
2563
|
clearable: c.clearable
|
|
2564
2564
|
}, null, 8, ["value", "type", "disabled", "clearable"]));
|
|
2565
2565
|
}
|
|
2566
|
-
}),
|
|
2566
|
+
}), Pn = /* @__PURE__ */ H({
|
|
2567
2567
|
__name: "HaloTimePicker",
|
|
2568
2568
|
props: {
|
|
2569
2569
|
value: {},
|
|
@@ -2580,7 +2580,7 @@ const Qt = /* @__PURE__ */ H({
|
|
|
2580
2580
|
const v = new Date(2e3, 1, 1);
|
|
2581
2581
|
return v.setSeconds(c), v.getTime();
|
|
2582
2582
|
} else if (typeof c == "string") {
|
|
2583
|
-
const v =
|
|
2583
|
+
const v = rs(c);
|
|
2584
2584
|
if (!v) return null;
|
|
2585
2585
|
const i = new Date(2e3, 1, 1);
|
|
2586
2586
|
return i.setMilliseconds(
|
|
@@ -2600,7 +2600,7 @@ const Qt = /* @__PURE__ */ H({
|
|
|
2600
2600
|
return le(
|
|
2601
2601
|
() => t.value,
|
|
2602
2602
|
(c) => u.value = o(c)
|
|
2603
|
-
), (c, v) => (w(), j(r(
|
|
2603
|
+
), (c, v) => (w(), j(r(Wo), {
|
|
2604
2604
|
value: u.value,
|
|
2605
2605
|
type: c.type,
|
|
2606
2606
|
placeholder: "",
|
|
@@ -2609,7 +2609,7 @@ const Qt = /* @__PURE__ */ H({
|
|
|
2609
2609
|
clearable: c.clearable
|
|
2610
2610
|
}, null, 8, ["value", "type", "disabled", "clearable"]));
|
|
2611
2611
|
}
|
|
2612
|
-
}),
|
|
2612
|
+
}), Fn = /* @__PURE__ */ H({
|
|
2613
2613
|
__name: "NullableBooleanInput",
|
|
2614
2614
|
props: {
|
|
2615
2615
|
value: { type: Boolean },
|
|
@@ -2637,7 +2637,7 @@ const Qt = /* @__PURE__ */ H({
|
|
|
2637
2637
|
"onUpdate:value": i[0] || (i[0] = (s) => c(s))
|
|
2638
2638
|
}, null, 8, ["value", "disabled"]));
|
|
2639
2639
|
}
|
|
2640
|
-
}),
|
|
2640
|
+
}), Hn = () => {
|
|
2641
2641
|
const { t: e } = re(), n = Pe(), t = tl(), l = tn(), o = (x) => x && e(x), a = (x) => D(
|
|
2642
2642
|
"div",
|
|
2643
2643
|
{},
|
|
@@ -2784,7 +2784,7 @@ const Qt = /* @__PURE__ */ H({
|
|
|
2784
2784
|
{ class: "flex-column", style: "align-items: center" },
|
|
2785
2785
|
[
|
|
2786
2786
|
D(
|
|
2787
|
-
|
|
2787
|
+
Yo,
|
|
2788
2788
|
{ value: x, size: 160 }
|
|
2789
2789
|
),
|
|
2790
2790
|
D(
|
|
@@ -2875,7 +2875,7 @@ function _i() {
|
|
|
2875
2875
|
}(It)), It.exports;
|
|
2876
2876
|
}
|
|
2877
2877
|
var Li = _i();
|
|
2878
|
-
function
|
|
2878
|
+
function Vn() {
|
|
2879
2879
|
const e = Ue.create({
|
|
2880
2880
|
headers: {
|
|
2881
2881
|
"Content-type": "application/json"
|
|
@@ -2902,30 +2902,32 @@ function Ti(e) {
|
|
|
2902
2902
|
}
|
|
2903
2903
|
}
|
|
2904
2904
|
async function Ke(e, n, t, l) {
|
|
2905
|
-
|
|
2905
|
+
var s;
|
|
2906
|
+
const o = Vn();
|
|
2906
2907
|
let a;
|
|
2907
2908
|
(l == null ? void 0 : l.toLowerCase()) == "post" ? a = await o.post(e, { responseType: "blob" }) : a = await o.get(e, { responseType: "blob" });
|
|
2908
2909
|
const { data: u, headers: c, status: v, statusText: i } = a;
|
|
2909
2910
|
if (v == 200 || u.length) {
|
|
2910
|
-
c && (t || (t = c["content-type"]), n || (n = Ti(c["content-disposition"])));
|
|
2911
|
-
const
|
|
2911
|
+
c && (t || (t = (s = c["content-type"]) == null ? void 0 : s.toString()), n || (n = Ti(c["content-disposition"])));
|
|
2912
|
+
const m = new Blob([u], {
|
|
2912
2913
|
type: t || "application/octet-stream"
|
|
2913
2914
|
});
|
|
2914
|
-
Li.saveAs(
|
|
2915
|
+
Li.saveAs(m, n);
|
|
2915
2916
|
} else
|
|
2916
2917
|
throw `[${v}] ${i}`;
|
|
2917
2918
|
}
|
|
2918
2919
|
async function zi(e, n, t) {
|
|
2919
|
-
|
|
2920
|
+
var i;
|
|
2921
|
+
const l = Vn();
|
|
2920
2922
|
let o;
|
|
2921
2923
|
(t == null ? void 0 : t.toLowerCase()) == "post" ? o = await l.post(e, { responseType: "blob" }) : o = await l.get(e, { responseType: "blob" });
|
|
2922
2924
|
const { data: a, headers: u, status: c, statusText: v } = o;
|
|
2923
2925
|
if (c == 200 || a.length) {
|
|
2924
|
-
u && (n || (n = u["content-type"]));
|
|
2925
|
-
const
|
|
2926
|
+
u && (n || (n = (i = u["content-type"]) == null ? void 0 : i.toString()));
|
|
2927
|
+
const s = new Blob([a], {
|
|
2926
2928
|
type: n || "application/octet-stream"
|
|
2927
|
-
}),
|
|
2928
|
-
window.open(
|
|
2929
|
+
}), m = URL.createObjectURL(s);
|
|
2930
|
+
window.open(m);
|
|
2929
2931
|
} else
|
|
2930
2932
|
throw `[${c}] ${v}`;
|
|
2931
2933
|
}
|
|
@@ -3110,7 +3112,7 @@ function Ri() {
|
|
|
3110
3112
|
};
|
|
3111
3113
|
}
|
|
3112
3114
|
const Be = () => {
|
|
3113
|
-
const e =
|
|
3115
|
+
const e = Hn(), n = xe("axios"), t = Ri();
|
|
3114
3116
|
async function l(s, m = "Error") {
|
|
3115
3117
|
if (s)
|
|
3116
3118
|
if (s.response) {
|
|
@@ -3193,7 +3195,7 @@ const Be = () => {
|
|
|
3193
3195
|
openFile: v,
|
|
3194
3196
|
downloadFile: i
|
|
3195
3197
|
};
|
|
3196
|
-
},
|
|
3198
|
+
}, Gn = /* @__PURE__ */ H({
|
|
3197
3199
|
__name: "HaloTagsInput",
|
|
3198
3200
|
props: {
|
|
3199
3201
|
value: {},
|
|
@@ -3231,13 +3233,13 @@ const Be = () => {
|
|
|
3231
3233
|
multiple: "",
|
|
3232
3234
|
options: c.value,
|
|
3233
3235
|
"onUpdate:value": s
|
|
3234
|
-
}, null, 8, ["value", "options"])) : (w(), j(r(
|
|
3236
|
+
}, null, 8, ["value", "options"])) : (w(), j(r(Qo), {
|
|
3235
3237
|
key: 1,
|
|
3236
3238
|
value: u.value,
|
|
3237
3239
|
"onUpdate:value": s
|
|
3238
3240
|
}, null, 8, ["value"]));
|
|
3239
3241
|
}
|
|
3240
|
-
}),
|
|
3242
|
+
}), Kn = /* @__PURE__ */ H({
|
|
3241
3243
|
__name: "ListInputModal",
|
|
3242
3244
|
props: {
|
|
3243
3245
|
title: {},
|
|
@@ -3327,7 +3329,7 @@ const Be = () => {
|
|
|
3327
3329
|
_: 1
|
|
3328
3330
|
}, 8, ["title", "show"]));
|
|
3329
3331
|
}
|
|
3330
|
-
}),
|
|
3332
|
+
}), Zn = /* @__PURE__ */ H({
|
|
3331
3333
|
__name: "HaloModalInput",
|
|
3332
3334
|
props: {
|
|
3333
3335
|
value: {},
|
|
@@ -3438,7 +3440,7 @@ const Be = () => {
|
|
|
3438
3440
|
var R, Z, W, E, q, A, y, _, $, U, O, J, se, me, ve, ke, Se, ae;
|
|
3439
3441
|
const x = ne("n-switch"), S = ne("n-text"), M = ne("n-select"), Y = ne("n-input-number"), z = ne("n-checkbox"), I = ne("n-input"), k = ne("n-icon"), L = ne("n-button");
|
|
3440
3442
|
return d.formItem ? (w(), P("div", Bi, [
|
|
3441
|
-
typeof d.formItem.editor == "function" ? (w(), j(
|
|
3443
|
+
typeof d.formItem.editor == "function" ? (w(), j(Ho, { key: 0 }, [
|
|
3442
3444
|
(w(), j(Vt(d.formItem.editor), {
|
|
3443
3445
|
value: o.value,
|
|
3444
3446
|
"onUpdate:value": g[0] || (g[0] = (oe) => o.value = oe)
|
|
@@ -3451,7 +3453,7 @@ const Be = () => {
|
|
|
3451
3453
|
label: d.formItem.label,
|
|
3452
3454
|
readonly: d.readonly,
|
|
3453
3455
|
disabled: d.readonly
|
|
3454
|
-
}, null, 40, ["value", "config", "label", "readonly", "disabled"])) : d.formItem.editor == "modal" ? (w(), j(
|
|
3456
|
+
}, null, 40, ["value", "config", "label", "readonly", "disabled"])) : d.formItem.editor == "modal" ? (w(), j(Zn, {
|
|
3455
3457
|
key: 2,
|
|
3456
3458
|
value: o.value,
|
|
3457
3459
|
"onUpdate:value": g[2] || (g[2] = (oe) => o.value = oe),
|
|
@@ -3509,7 +3511,7 @@ const Be = () => {
|
|
|
3509
3511
|
readonly: d.readonly,
|
|
3510
3512
|
placeholder: d.placeholder,
|
|
3511
3513
|
style: ce((q = d.formItem.editorConfig) == null ? void 0 : q.style)
|
|
3512
|
-
}, null, 8, ["value", "min", "max", "clearable", "readonly", "placeholder", "style"])) : d.formItem.editor == "boolean" && d.formItem.nullable ? (w(), j(
|
|
3514
|
+
}, null, 8, ["value", "min", "max", "clearable", "readonly", "placeholder", "style"])) : d.formItem.editor == "boolean" && d.formItem.nullable ? (w(), j(Fn, {
|
|
3513
3515
|
key: 6,
|
|
3514
3516
|
value: o.value,
|
|
3515
3517
|
"onUpdate:value": g[6] || (g[6] = (oe) => o.value = oe),
|
|
@@ -3545,7 +3547,7 @@ const Be = () => {
|
|
|
3545
3547
|
disabled: d.readonly,
|
|
3546
3548
|
clearable: d.formItem.nullable,
|
|
3547
3549
|
style: ce(($ = d.formItem.editorConfig) == null ? void 0 : $.style)
|
|
3548
|
-
}, null, 8, ["value", "disabled", "clearable", "style"])) : d.formItem.editor == "time" ? (w(), j(
|
|
3550
|
+
}, null, 8, ["value", "disabled", "clearable", "style"])) : d.formItem.editor == "time" ? (w(), j(Pn, {
|
|
3549
3551
|
key: 10,
|
|
3550
3552
|
value: o.value,
|
|
3551
3553
|
"onUpdate:value": g[10] || (g[10] = (oe) => o.value = oe),
|
|
@@ -3553,7 +3555,7 @@ const Be = () => {
|
|
|
3553
3555
|
disabled: d.readonly,
|
|
3554
3556
|
clearable: d.formItem.nullable,
|
|
3555
3557
|
style: ce((U = d.formItem.editorConfig) == null ? void 0 : U.style)
|
|
3556
|
-
}, null, 8, ["value", "disabled", "clearable", "style"])) : d.formItem.editor == "color" ? (w(), j(
|
|
3558
|
+
}, null, 8, ["value", "disabled", "clearable", "style"])) : d.formItem.editor == "color" ? (w(), j(Un, {
|
|
3557
3559
|
key: 11,
|
|
3558
3560
|
value: o.value,
|
|
3559
3561
|
"onUpdate:value": g[11] || (g[11] = (oe) => o.value = oe),
|
|
@@ -3562,7 +3564,7 @@ const Be = () => {
|
|
|
3562
3564
|
readonly: d.readonly,
|
|
3563
3565
|
clearable: d.formItem.nullable,
|
|
3564
3566
|
style: ce((O = d.formItem.editorConfig) == null ? void 0 : O.style)
|
|
3565
|
-
}, null, 8, ["value", "disabled", "readonly", "clearable", "style"])) : d.formItem.editor == "tags" ? (w(), j(
|
|
3567
|
+
}, null, 8, ["value", "disabled", "readonly", "clearable", "style"])) : d.formItem.editor == "tags" ? (w(), j(Gn, {
|
|
3566
3568
|
key: 12,
|
|
3567
3569
|
value: o.value,
|
|
3568
3570
|
"onUpdate:value": g[12] || (g[12] = (oe) => o.value = oe),
|
|
@@ -3633,7 +3635,7 @@ const Be = () => {
|
|
|
3633
3635
|
]),
|
|
3634
3636
|
_: 1
|
|
3635
3637
|
}, 8, ["value", "class", "placeholder", "readonly", "clearable", "type", "style"])),
|
|
3636
|
-
v.value ? (w(), j(
|
|
3638
|
+
v.value ? (w(), j(Kn, {
|
|
3637
3639
|
key: 18,
|
|
3638
3640
|
show: i.value,
|
|
3639
3641
|
"onUpdate:show": g[17] || (g[17] = (oe) => i.value = oe),
|
|
@@ -3923,7 +3925,7 @@ function Hi(e, n, t, l, o, a) {
|
|
|
3923
3925
|
_: 3
|
|
3924
3926
|
}, 8, ["model", "rules"]);
|
|
3925
3927
|
}
|
|
3926
|
-
const
|
|
3928
|
+
const Wn = /* @__PURE__ */ Ae(Ei, [["render", Hi], ["__scopeId", "data-v-e7319d81"]]), Vi = { class: "pg-value flex-grow-1" }, Yn = /* @__PURE__ */ H({
|
|
3927
3929
|
__name: "PropertyGrid",
|
|
3928
3930
|
props: {
|
|
3929
3931
|
columns: { default: 1 },
|
|
@@ -4064,7 +4066,7 @@ const Zn = /* @__PURE__ */ Ae(Ei, [["render", Hi], ["__scopeId", "data-v-e7319d8
|
|
|
4064
4066
|
"content-class": "flex-column"
|
|
4065
4067
|
}, {
|
|
4066
4068
|
header: f(() => [
|
|
4067
|
-
h(r(
|
|
4069
|
+
h(r(qo), { style: { "margin-bottom": "2px" } }, {
|
|
4068
4070
|
default: f(() => [
|
|
4069
4071
|
de(l.$slots, "icon"),
|
|
4070
4072
|
l.title ? (w(), P("span", Gi, F(r(n)(l.title)), 1)) : te("", !0)
|
|
@@ -4109,17 +4111,17 @@ const Zn = /* @__PURE__ */ Ae(Ei, [["render", Hi], ["__scopeId", "data-v-e7319d8
|
|
|
4109
4111
|
}, null, 8, Xi)) : te("", !0)
|
|
4110
4112
|
])
|
|
4111
4113
|
]),
|
|
4112
|
-
h(r(
|
|
4114
|
+
h(r(Xo), {
|
|
4113
4115
|
"display-directive": "show",
|
|
4114
4116
|
"default-expanded-names": "info"
|
|
4115
4117
|
}, {
|
|
4116
4118
|
default: f(() => [
|
|
4117
|
-
h(r(
|
|
4119
|
+
h(r(Jo), {
|
|
4118
4120
|
name: "info",
|
|
4119
4121
|
title: r(n)("Property")
|
|
4120
4122
|
}, {
|
|
4121
4123
|
default: f(() => [
|
|
4122
|
-
h(
|
|
4124
|
+
h(Yn, {
|
|
4123
4125
|
data: l.data,
|
|
4124
4126
|
columns: l.columns,
|
|
4125
4127
|
names: l.properties,
|
|
@@ -4258,7 +4260,7 @@ const Zn = /* @__PURE__ */ Ae(Ei, [["render", Hi], ["__scopeId", "data-v-e7319d8
|
|
|
4258
4260
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4259
4261
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
4260
4262
|
viewBox: "0 0 32 32"
|
|
4261
|
-
},
|
|
4263
|
+
}, Qn = H({
|
|
4262
4264
|
name: "Checkbox",
|
|
4263
4265
|
render: function(n, t) {
|
|
4264
4266
|
return w(), P(
|
|
@@ -4282,7 +4284,7 @@ const Zn = /* @__PURE__ */ Ae(Ei, [["render", Hi], ["__scopeId", "data-v-e7319d8
|
|
|
4282
4284
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4283
4285
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
4284
4286
|
viewBox: "0 0 32 32"
|
|
4285
|
-
},
|
|
4287
|
+
}, Xn = H({
|
|
4286
4288
|
name: "CheckboxChecked",
|
|
4287
4289
|
render: function(n, t) {
|
|
4288
4290
|
return w(), P(
|
|
@@ -4408,7 +4410,7 @@ const Zn = /* @__PURE__ */ Ae(Ei, [["render", Hi], ["__scopeId", "data-v-e7319d8
|
|
|
4408
4410
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4409
4411
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
4410
4412
|
viewBox: "0 0 32 32"
|
|
4411
|
-
},
|
|
4413
|
+
}, Jn = H({
|
|
4412
4414
|
name: "Cube",
|
|
4413
4415
|
render: function(n, t) {
|
|
4414
4416
|
return w(), P(
|
|
@@ -4432,7 +4434,7 @@ const Zn = /* @__PURE__ */ Ae(Ei, [["render", Hi], ["__scopeId", "data-v-e7319d8
|
|
|
4432
4434
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4433
4435
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
4434
4436
|
viewBox: "0 0 32 32"
|
|
4435
|
-
},
|
|
4437
|
+
}, qn = H({
|
|
4436
4438
|
name: "DocumentDownload",
|
|
4437
4439
|
render: function(n, t) {
|
|
4438
4440
|
return w(), P(
|
|
@@ -4534,7 +4536,7 @@ const Zn = /* @__PURE__ */ Ae(Ei, [["render", Hi], ["__scopeId", "data-v-e7319d8
|
|
|
4534
4536
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4535
4537
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
4536
4538
|
viewBox: "0 0 32 32"
|
|
4537
|
-
},
|
|
4539
|
+
}, eo = H({
|
|
4538
4540
|
name: "Draggable",
|
|
4539
4541
|
render: function(n, t) {
|
|
4540
4542
|
return w(), P("svg", wu, t[0] || (t[0] = [qt('<path d="M10 6h4v4h-4z" fill="currentColor"></path><path d="M18 6h4v4h-4z" fill="currentColor"></path><path d="M10 14h4v4h-4z" fill="currentColor"></path><path d="M18 14h4v4h-4z" fill="currentColor"></path><path d="M10 22h4v4h-4z" fill="currentColor"></path><path d="M18 22h4v4h-4z" fill="currentColor"></path>', 6)]));
|
|
@@ -4746,7 +4748,7 @@ const Zn = /* @__PURE__ */ Ae(Ei, [["render", Hi], ["__scopeId", "data-v-e7319d8
|
|
|
4746
4748
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4747
4749
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
4748
4750
|
viewBox: "0 0 32 32"
|
|
4749
|
-
},
|
|
4751
|
+
}, to = H({
|
|
4750
4752
|
name: "Search",
|
|
4751
4753
|
render: function(n, t) {
|
|
4752
4754
|
return w(), P(
|
|
@@ -4770,7 +4772,7 @@ const Zn = /* @__PURE__ */ Ae(Ei, [["render", Hi], ["__scopeId", "data-v-e7319d8
|
|
|
4770
4772
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4771
4773
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
4772
4774
|
viewBox: "0 0 32 32"
|
|
4773
|
-
},
|
|
4775
|
+
}, lo = H({
|
|
4774
4776
|
name: "SearchLocate",
|
|
4775
4777
|
render: function(n, t) {
|
|
4776
4778
|
return w(), P(
|
|
@@ -4931,7 +4933,7 @@ const Zn = /* @__PURE__ */ Ae(Ei, [["render", Hi], ["__scopeId", "data-v-e7319d8
|
|
|
4931
4933
|
])
|
|
4932
4934
|
);
|
|
4933
4935
|
}
|
|
4934
|
-
}), Hu = { style: { "min-height": "50px" } },
|
|
4936
|
+
}), Hu = { style: { "min-height": "50px" } }, no = /* @__PURE__ */ H({
|
|
4935
4937
|
__name: "ExportModal",
|
|
4936
4938
|
props: {
|
|
4937
4939
|
show: { type: Boolean },
|
|
@@ -4986,7 +4988,7 @@ const Zn = /* @__PURE__ */ Ae(Ei, [["render", Hi], ["__scopeId", "data-v-e7319d8
|
|
|
4986
4988
|
icon: f(() => [
|
|
4987
4989
|
h(r(Q), null, {
|
|
4988
4990
|
default: f(() => [
|
|
4989
|
-
h(r(
|
|
4991
|
+
h(r(qn))
|
|
4990
4992
|
]),
|
|
4991
4993
|
_: 1
|
|
4992
4994
|
})
|
|
@@ -5128,7 +5130,7 @@ function Zu(e, n, t, l, o, a) {
|
|
|
5128
5130
|
_: 1
|
|
5129
5131
|
}, 8, ["onClick"]);
|
|
5130
5132
|
}
|
|
5131
|
-
const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]),
|
|
5133
|
+
const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), oo = (e) => {
|
|
5132
5134
|
const n = xe("axios"), t = {}, l = [], o = [];
|
|
5133
5135
|
e.forEach((m) => {
|
|
5134
5136
|
typeof m == "string" ? (t[m] = !1, l.push(m)) : (t[m.id] = !1, t[m.name] = !1, l.push(m.id), o.push(m));
|
|
@@ -5177,7 +5179,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
5177
5179
|
key: 0,
|
|
5178
5180
|
class: "flex-row",
|
|
5179
5181
|
style: { "align-items": "center", "justify-content": "space-between", gap: "0.25em", "margin-bottom": "1em" }
|
|
5180
|
-
}, Qu = { style: { display: "grid", "grid-template-columns": "auto 1fr", gap: "0.5em", "margin-top": "1em", "align-items": "center" } }, Zl = 200,
|
|
5182
|
+
}, Qu = { style: { display: "grid", "grid-template-columns": "auto 1fr", gap: "0.5em", "margin-top": "1em", "align-items": "center" } }, Zl = 200, ao = /* @__PURE__ */ H({
|
|
5181
5183
|
__name: "GridConfigModal",
|
|
5182
5184
|
props: {
|
|
5183
5185
|
gridId: {},
|
|
@@ -5187,7 +5189,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
5187
5189
|
},
|
|
5188
5190
|
emits: ["close", "update:pageSize", "update:config"],
|
|
5189
5191
|
setup(e, { emit: n }) {
|
|
5190
|
-
const t = e, l = n, { t: o } = re(), a = Be(), u = xe("axios"), c = Pe(), v =
|
|
5192
|
+
const t = e, l = n, { t: o } = re(), a = Be(), u = xe("axios"), c = Pe(), v = oo(["2E2466DDD34847C8B33460E4277A6528"]), i = T(t.pageSize), s = T(!1), m = T(!1), d = (k) => k ? k.map((L, R) => ({
|
|
5191
5193
|
columnId: L.name,
|
|
5192
5194
|
title: L.title ? o(L.title) : o(Ce(L.name)),
|
|
5193
5195
|
visible: !0,
|
|
@@ -5200,7 +5202,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
5200
5202
|
Q,
|
|
5201
5203
|
{ size: "20" },
|
|
5202
5204
|
{
|
|
5203
|
-
default: () => W ? D(
|
|
5205
|
+
default: () => W ? D(Xn) : D(Qn)
|
|
5204
5206
|
}
|
|
5205
5207
|
);
|
|
5206
5208
|
} else k == "move_up" ? Z = D(
|
|
@@ -5378,7 +5380,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
5378
5380
|
default: f(() => [
|
|
5379
5381
|
m.value ? (w(), P("div", Yu, [
|
|
5380
5382
|
N("span", null, F(r(o)("System Default")), 1),
|
|
5381
|
-
h(r(
|
|
5383
|
+
h(r(ea), {
|
|
5382
5384
|
value: s.value,
|
|
5383
5385
|
"onUpdate:value": L[0] || (L[0] = (Z) => s.value = Z)
|
|
5384
5386
|
}, null, 8, ["value"])
|
|
@@ -5677,7 +5679,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
5677
5679
|
_: 1
|
|
5678
5680
|
}, 8, ["model"]));
|
|
5679
5681
|
}
|
|
5680
|
-
}), il = /* @__PURE__ */ Ae(Ju, [["__scopeId", "data-v-8b391a0f"]]), qu = { class: "flex-row gap05" },
|
|
5682
|
+
}), il = /* @__PURE__ */ Ae(Ju, [["__scopeId", "data-v-8b391a0f"]]), qu = { class: "flex-row gap05" }, ro = /* @__PURE__ */ H({
|
|
5681
5683
|
__name: "TagsView",
|
|
5682
5684
|
props: {
|
|
5683
5685
|
tags: {},
|
|
@@ -5705,7 +5707,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
5705
5707
|
}
|
|
5706
5708
|
}
|
|
5707
5709
|
return le(() => n.tags, () => a()), ge(() => a()), (u, c) => (w(), P("div", qu, [
|
|
5708
|
-
(w(!0), P(we, null, be(o.value, (v) => (w(), j(r(
|
|
5710
|
+
(w(!0), P(we, null, be(o.value, (v) => (w(), j(r(ta), {
|
|
5709
5711
|
key: v.value,
|
|
5710
5712
|
title: v.desc,
|
|
5711
5713
|
color: { borderColor: v.color },
|
|
@@ -5748,7 +5750,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
5748
5750
|
"rowSorting"
|
|
5749
5751
|
],
|
|
5750
5752
|
setup(e, { expose: n, emit: t }) {
|
|
5751
|
-
const l = e, o = t, { t: a } = re(), u = tt(), c =
|
|
5753
|
+
const l = e, o = t, { t: a } = re(), u = tt(), c = Hn(), v = T(void 0), i = T(Y()), s = T([]), m = T(void 0), d = T(g());
|
|
5752
5754
|
function g() {
|
|
5753
5755
|
const y = {};
|
|
5754
5756
|
return typeof l.height == "number" ? y.height = `${l.height}px` : typeof l.height == "string" && (y.height = l.height), y;
|
|
@@ -5862,7 +5864,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
5862
5864
|
color: "#5C6BC0",
|
|
5863
5865
|
size: "20"
|
|
5864
5866
|
},
|
|
5865
|
-
{ default: () => D(
|
|
5867
|
+
{ default: () => D(Bn) }
|
|
5866
5868
|
)
|
|
5867
5869
|
}
|
|
5868
5870
|
);
|
|
@@ -5888,7 +5890,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
5888
5890
|
color: "#f44336",
|
|
5889
5891
|
size: "20"
|
|
5890
5892
|
},
|
|
5891
|
-
{ default: () => D(
|
|
5893
|
+
{ default: () => D(Rn) }
|
|
5892
5894
|
)
|
|
5893
5895
|
}
|
|
5894
5896
|
);
|
|
@@ -5931,7 +5933,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
5931
5933
|
size: "20",
|
|
5932
5934
|
class: "drag-sorting-handle"
|
|
5933
5935
|
},
|
|
5934
|
-
{ default: () => D(
|
|
5936
|
+
{ default: () => D(eo) }
|
|
5935
5937
|
);
|
|
5936
5938
|
}
|
|
5937
5939
|
}), _ += 30), v.value = _, y;
|
|
@@ -5957,9 +5959,9 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
5957
5959
|
}
|
|
5958
5960
|
) : U = D("span");
|
|
5959
5961
|
} else if (y.dataType == "date")
|
|
5960
|
-
U =
|
|
5962
|
+
U = $n(ns(_[O]));
|
|
5961
5963
|
else if (y.dataType == "time")
|
|
5962
|
-
U =
|
|
5964
|
+
U = is(as(_[O]));
|
|
5963
5965
|
else if (y.dataType == "timespan")
|
|
5964
5966
|
U = us(_[O]);
|
|
5965
5967
|
else {
|
|
@@ -5970,7 +5972,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
5970
5972
|
if (J && !Array.isArray(J) && (J = [J]), J != null && J.length)
|
|
5971
5973
|
if (J.includes("tag")) {
|
|
5972
5974
|
let ae;
|
|
5973
|
-
Array.isArray(_[O]) ? ae = _[O] : ae = (Se = (ke = (ve = _[O]) == null ? void 0 : ve.toString()) == null ? void 0 : ke.split(",")) == null ? void 0 : Se.filter((oe) => oe.length), ae && ae.length && (U = D(
|
|
5975
|
+
Array.isArray(_[O]) ? ae = _[O] : ae = (Se = (ke = (ve = _[O]) == null ? void 0 : ve.toString()) == null ? void 0 : ke.split(",")) == null ? void 0 : Se.filter((oe) => oe.length), ae && ae.length && (U = D(ro, {
|
|
5974
5976
|
tags: ae,
|
|
5975
5977
|
tagSource: y.tagSource
|
|
5976
5978
|
}, {}));
|
|
@@ -6068,7 +6070,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
6068
6070
|
title: a("Details"),
|
|
6069
6071
|
onClick: () => I(y, $)
|
|
6070
6072
|
},
|
|
6071
|
-
{ default: () => D(Q, {}, { default: () => D(
|
|
6073
|
+
{ default: () => D(Q, {}, { default: () => D(to) }) }
|
|
6072
6074
|
)), me.length ? D(
|
|
6073
6075
|
"div",
|
|
6074
6076
|
{
|
|
@@ -6344,7 +6346,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
6344
6346
|
}, od = { style: { "margin-left": "0.5em" } }, ad = {
|
|
6345
6347
|
class: "flex-row",
|
|
6346
6348
|
style: { "justify-content": "space-between" }
|
|
6347
|
-
},
|
|
6349
|
+
}, so = /* @__PURE__ */ H({
|
|
6348
6350
|
__name: "SearchModal",
|
|
6349
6351
|
props: {
|
|
6350
6352
|
show: { type: Boolean },
|
|
@@ -6568,7 +6570,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
6568
6570
|
icon: f(() => [
|
|
6569
6571
|
h(r(Q), null, {
|
|
6570
6572
|
default: f(() => [
|
|
6571
|
-
h(r(
|
|
6573
|
+
h(r(qn))
|
|
6572
6574
|
]),
|
|
6573
6575
|
_: 1
|
|
6574
6576
|
})
|
|
@@ -6599,7 +6601,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
6599
6601
|
default: f(() => [
|
|
6600
6602
|
h(r(ye), { vertical: "" }, {
|
|
6601
6603
|
default: f(() => [
|
|
6602
|
-
h(r(
|
|
6604
|
+
h(r(la), {
|
|
6603
6605
|
multiple: I.multiple,
|
|
6604
6606
|
"default-upload": !1,
|
|
6605
6607
|
"file-list": m.value,
|
|
@@ -6609,7 +6611,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
6609
6611
|
"show-retry-button": !1
|
|
6610
6612
|
}, {
|
|
6611
6613
|
default: f(() => [
|
|
6612
|
-
h(r(
|
|
6614
|
+
h(r(na), null, {
|
|
6613
6615
|
default: f(() => [
|
|
6614
6616
|
N("div", rd, [
|
|
6615
6617
|
h(r(Q), {
|
|
@@ -6641,7 +6643,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
6641
6643
|
]),
|
|
6642
6644
|
_: 3
|
|
6643
6645
|
}, 8, ["show"]),
|
|
6644
|
-
g.value ? (w(), j(r(
|
|
6646
|
+
g.value ? (w(), j(r(oa), {
|
|
6645
6647
|
key: 0,
|
|
6646
6648
|
type: "error",
|
|
6647
6649
|
class: "my-1",
|
|
@@ -6657,7 +6659,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
6657
6659
|
_: 3
|
|
6658
6660
|
}, 8, ["show", "title"]));
|
|
6659
6661
|
}
|
|
6660
|
-
}), cl = /* @__PURE__ */ Ae(sd, [["__scopeId", "data-v-18129d6e"]]),
|
|
6662
|
+
}), cl = /* @__PURE__ */ Ae(sd, [["__scopeId", "data-v-18129d6e"]]), io = /* @__PURE__ */ H({
|
|
6661
6663
|
__name: "InputModal",
|
|
6662
6664
|
props: {
|
|
6663
6665
|
title: {},
|
|
@@ -6759,7 +6761,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
6759
6761
|
},
|
|
6760
6762
|
emits: ["close", "reset", "update:pageSize", "update:config"],
|
|
6761
6763
|
setup(e, { emit: n }) {
|
|
6762
|
-
const t = e, l = n, { t: o } = re(), a = Be(), u =
|
|
6764
|
+
const t = e, l = n, { t: o } = re(), a = Be(), u = oo(["2E2466DDD34847C8B33460E4277A6528"]), c = tt(), v = T(t.pageSize), i = T(!1), s = T(!1), m = T(void 0), d = T(void 0), g = T(!1), x = T(!1), S = (A) => A ? A.map((y, _) => ({
|
|
6763
6765
|
columnId: y.name,
|
|
6764
6766
|
title: y.title ? o(y.title) : o(Ce(y.name)),
|
|
6765
6767
|
visible: !0,
|
|
@@ -6884,7 +6886,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
6884
6886
|
Q,
|
|
6885
6887
|
{ size: 20 },
|
|
6886
6888
|
{
|
|
6887
|
-
default: () => A.visible ? D(
|
|
6889
|
+
default: () => A.visible ? D(Xn) : D(Qn)
|
|
6888
6890
|
}
|
|
6889
6891
|
)
|
|
6890
6892
|
}
|
|
@@ -6937,7 +6939,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
6937
6939
|
size: "20",
|
|
6938
6940
|
class: "drag-sorting-handle"
|
|
6939
6941
|
},
|
|
6940
|
-
{ default: () => D(
|
|
6942
|
+
{ default: () => D(eo) }
|
|
6941
6943
|
)
|
|
6942
6944
|
},
|
|
6943
6945
|
{ key: "empty", width: 20, fixed: "right" }
|
|
@@ -7009,7 +7011,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7009
7011
|
style: { "max-width": "200px" }
|
|
7010
7012
|
}, null, 8, ["value"])
|
|
7011
7013
|
]),
|
|
7012
|
-
h(
|
|
7014
|
+
h(io, {
|
|
7013
7015
|
show: g.value,
|
|
7014
7016
|
"onUpdate:show": y[2] || (y[2] = ($) => g.value = $),
|
|
7015
7017
|
value: ((_ = d.value) == null ? void 0 : _.customTitle) ?? "",
|
|
@@ -7188,14 +7190,14 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7188
7190
|
let S = 1;
|
|
7189
7191
|
const M = T(1), Y = T(0), z = T(0), I = T(l.pageSize), k = T(!0), L = T(!1), R = T(!1), Z = T(""), W = T(l.searchAction && ((Nl = l.columns) == null ? void 0 : Nl.some((p) => dt(p) && p.search))), E = T(W.value && !l.getListAction), q = T(E.value && !0), A = T(!1), y = T(null), _ = T(null), $ = T(new Array()), U = T(!1), O = T(void 0), J = T(void 0), se = T(void 0), me = T(!1), ve = T(l.readOnly), ke = T(a("Property")), Se = T(!1), ae = T(!1);
|
|
7190
7192
|
let oe;
|
|
7191
|
-
const ze = T([]), zt = T(Nt("page")), fl = T(
|
|
7193
|
+
const ze = T([]), zt = T(Nt("page")), fl = T(po()), $t = T(void 0), Oe = T([]), Ye = T(void 0), gt = T(!1);
|
|
7192
7194
|
let Ve;
|
|
7193
7195
|
const pl = T(void 0), Ge = T(void 0), Qe = T(void 0);
|
|
7194
7196
|
let lt = [], nt = 0;
|
|
7195
|
-
const
|
|
7196
|
-
width:
|
|
7197
|
+
const fo = T({
|
|
7198
|
+
width: mo(l.modalColumns)
|
|
7197
7199
|
});
|
|
7198
|
-
function
|
|
7200
|
+
function po() {
|
|
7199
7201
|
var b;
|
|
7200
7202
|
const p = {};
|
|
7201
7203
|
if (l.defaultSearchArgs)
|
|
@@ -7208,7 +7210,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7208
7210
|
function Nt(p) {
|
|
7209
7211
|
return l.exportRanges && l.exportRanges.length && !l.exportRanges.includes(p) ? l.exportRanges[0] : p;
|
|
7210
7212
|
}
|
|
7211
|
-
function
|
|
7213
|
+
function mo(p) {
|
|
7212
7214
|
return p ? p > 4 ? "100%" : p > 1 ? 450 * p + "px" : "600px" : "600px";
|
|
7213
7215
|
}
|
|
7214
7216
|
function ht(p) {
|
|
@@ -7279,10 +7281,10 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7279
7281
|
function Rt() {
|
|
7280
7282
|
$e(0);
|
|
7281
7283
|
}
|
|
7282
|
-
function
|
|
7284
|
+
function go() {
|
|
7283
7285
|
Z.value = "", $e(0);
|
|
7284
7286
|
}
|
|
7285
|
-
function
|
|
7287
|
+
function ho(p) {
|
|
7286
7288
|
if (l.additionKeys)
|
|
7287
7289
|
for (const b in l.additionKeys) {
|
|
7288
7290
|
const C = l.additionKeys[b];
|
|
@@ -7326,7 +7328,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7326
7328
|
const p = (b = y.value) == null ? void 0 : b.pickValues();
|
|
7327
7329
|
if (p && l.searchAction) {
|
|
7328
7330
|
const C = {};
|
|
7329
|
-
Object.assign(C, p),
|
|
7331
|
+
Object.assign(C, p), ho(C), C.pageSize = I.value, C.pageIndex = 0, C.sortBy = Ge.value ?? l.defaultSortBy, C.sortDirection = Qe.value ?? l.defaultSortDirection, C.groupBy = $t.value, Ot(C);
|
|
7330
7332
|
}
|
|
7331
7333
|
}
|
|
7332
7334
|
async function Ot(p) {
|
|
@@ -7397,11 +7399,11 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7397
7399
|
positiveText: a("Delete"),
|
|
7398
7400
|
negativeText: a("Cancel"),
|
|
7399
7401
|
onPositiveClick: () => {
|
|
7400
|
-
|
|
7402
|
+
vo(p, b);
|
|
7401
7403
|
}
|
|
7402
7404
|
});
|
|
7403
7405
|
}
|
|
7404
|
-
async function
|
|
7406
|
+
async function vo(p, b) {
|
|
7405
7407
|
var C;
|
|
7406
7408
|
if (l.deleteAction && l.keys.length)
|
|
7407
7409
|
try {
|
|
@@ -7417,7 +7419,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7417
7419
|
let pe = c.value.indexOf(p);
|
|
7418
7420
|
if (pe > -1 && (c.value.splice(pe, 1), i.success(a("The data has been deleted."))), $.value && (pe = $.value.findIndex((ie) => ie == V), pe > -1)) {
|
|
7419
7421
|
$.value.splice(pe, 1);
|
|
7420
|
-
const ie = (C = c.value) == null ? void 0 : C.filter((
|
|
7422
|
+
const ie = (C = c.value) == null ? void 0 : C.filter((Eo) => $.value.includes(Eo["__key__]"]));
|
|
7421
7423
|
o("update:selectedIds", $.value, ie), $.value.length ? o("update:selectedId", $.value[0], ie != null && ie.length ? ie[0] : void 0) : o("update:selectedId", void 0, void 0);
|
|
7422
7424
|
}
|
|
7423
7425
|
} else
|
|
@@ -7426,18 +7428,18 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7426
7428
|
console.error(B), i.error(B == null ? void 0 : B.toString());
|
|
7427
7429
|
}
|
|
7428
7430
|
}
|
|
7429
|
-
function
|
|
7431
|
+
function yo(p) {
|
|
7430
7432
|
l.readOnly || l.disabled || l.deleteBatchAction && p && p.length && v.warning({
|
|
7431
7433
|
title: a("Delete"),
|
|
7432
7434
|
content: a("Are you sure you want to delete selected rows?"),
|
|
7433
7435
|
positiveText: a("Delete"),
|
|
7434
7436
|
negativeText: a("Cancel"),
|
|
7435
7437
|
onPositiveClick: () => {
|
|
7436
|
-
|
|
7438
|
+
wo(p);
|
|
7437
7439
|
}
|
|
7438
7440
|
});
|
|
7439
7441
|
}
|
|
7440
|
-
async function
|
|
7442
|
+
async function wo(p) {
|
|
7441
7443
|
if (l.deleteBatchAction && p.length)
|
|
7442
7444
|
try {
|
|
7443
7445
|
const b = {
|
|
@@ -7468,7 +7470,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7468
7470
|
}
|
|
7469
7471
|
function wl() {
|
|
7470
7472
|
if ($.value.length > 1 && l.deleteBatchAction)
|
|
7471
|
-
|
|
7473
|
+
yo($.value);
|
|
7472
7474
|
else if ($.value.length) {
|
|
7473
7475
|
const p = c.value.find((b) => b.__key__ == $.value[0]);
|
|
7474
7476
|
p && Dt(p, c.value.indexOf(p));
|
|
@@ -7516,7 +7518,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7516
7518
|
yt(b, "create");
|
|
7517
7519
|
}
|
|
7518
7520
|
}
|
|
7519
|
-
async function
|
|
7521
|
+
async function bo(p, b) {
|
|
7520
7522
|
var V;
|
|
7521
7523
|
if (l.readOnly || l.disabled) return;
|
|
7522
7524
|
const C = Ye.value;
|
|
@@ -7553,7 +7555,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7553
7555
|
function Cl(p) {
|
|
7554
7556
|
Ye.value = p, gt.value = !0;
|
|
7555
7557
|
}
|
|
7556
|
-
function
|
|
7558
|
+
function Co(p) {
|
|
7557
7559
|
const b = d.value;
|
|
7558
7560
|
if (!b || !b.length) return !1;
|
|
7559
7561
|
b.forEach((C) => {
|
|
@@ -7563,7 +7565,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7563
7565
|
C.nullable === !1 && !C.readonly && (p[C.name] == null || p[C.name] === null || !C.dataType && (p[C.name] == null || p[C.name] == null) ? (C.validationStatus = "error", C.errorMessage = a("Required here.")) : (C.validationStatus = "success", C.errorMessage = void 0));
|
|
7564
7566
|
return !b.some((C) => C.validationStatus == "error" || C.validationStatus == "warning");
|
|
7565
7567
|
}
|
|
7566
|
-
function
|
|
7568
|
+
function xo() {
|
|
7567
7569
|
if (l.readOnly || l.disabled) return;
|
|
7568
7570
|
const p = d.value;
|
|
7569
7571
|
if (!p || !p.length) return;
|
|
@@ -7579,7 +7581,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7579
7581
|
}
|
|
7580
7582
|
if (o("commitEdit", { data: V, current: C, original: B, method: b }), l.beforeSave && l.beforeSave(V, b) === !1)
|
|
7581
7583
|
return;
|
|
7582
|
-
|
|
7584
|
+
Co(V) ? xl({
|
|
7583
7585
|
data: V,
|
|
7584
7586
|
original: B,
|
|
7585
7587
|
method: b
|
|
@@ -7625,14 +7627,14 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7625
7627
|
}
|
|
7626
7628
|
}
|
|
7627
7629
|
} else
|
|
7628
|
-
i.error(a(G.errorMessage || "Error")), G.errors &&
|
|
7630
|
+
i.error(a(G.errorMessage || "Error")), G.errors && Io(d.value, G.errors);
|
|
7629
7631
|
} catch (C) {
|
|
7630
7632
|
i.error((C == null ? void 0 : C.toString()) || a("Error")), console.error(C);
|
|
7631
7633
|
} finally {
|
|
7632
7634
|
R.value = !1;
|
|
7633
7635
|
}
|
|
7634
7636
|
}
|
|
7635
|
-
function
|
|
7637
|
+
function Io(p, b) {
|
|
7636
7638
|
if (p && p.length)
|
|
7637
7639
|
for (const C of b) {
|
|
7638
7640
|
const B = p.find((V) => V.name.toLowerCase() == C.key.toLowerCase());
|
|
@@ -7651,21 +7653,21 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7651
7653
|
for (const B in p)
|
|
7652
7654
|
C[B] = p[B];
|
|
7653
7655
|
}
|
|
7654
|
-
function
|
|
7656
|
+
function ko(p) {
|
|
7655
7657
|
if (q.value && Ve) {
|
|
7656
7658
|
const b = Object.assign({}, Ve);
|
|
7657
7659
|
b.pageIndex = Math.max(0, p - 1), Ot(b);
|
|
7658
7660
|
} else
|
|
7659
7661
|
p > 0 ? $e(p - 1) : $e(0);
|
|
7660
7662
|
}
|
|
7661
|
-
function
|
|
7663
|
+
function So(p) {
|
|
7662
7664
|
p && (I.value = p);
|
|
7663
7665
|
}
|
|
7664
|
-
function
|
|
7666
|
+
function Mo(p, b) {
|
|
7665
7667
|
$.value = p, o("update:selectedIds", p, b), o("update:selectedId", p.length ? p[0] : void 0, b.length ? b[0] : void 0);
|
|
7666
7668
|
}
|
|
7667
|
-
async function
|
|
7668
|
-
l.exportAction ? await
|
|
7669
|
+
async function Ao(p, b) {
|
|
7670
|
+
l.exportAction ? await _o(p, b) && (Se.value = !1) : l.dataExchangeCode && (Sl(p, b), Se.value = !1);
|
|
7669
7671
|
}
|
|
7670
7672
|
function kl(p, b, C) {
|
|
7671
7673
|
const B = {
|
|
@@ -7694,7 +7696,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7694
7696
|
}
|
|
7695
7697
|
return B;
|
|
7696
7698
|
}
|
|
7697
|
-
async function
|
|
7699
|
+
async function _o(p, b) {
|
|
7698
7700
|
let C = l.exportAction;
|
|
7699
7701
|
if (typeof C == "function" && (C = C.call(void 0)), C) {
|
|
7700
7702
|
try {
|
|
@@ -7711,10 +7713,10 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7711
7713
|
} else
|
|
7712
7714
|
return !1;
|
|
7713
7715
|
}
|
|
7714
|
-
function
|
|
7716
|
+
function Lo() {
|
|
7715
7717
|
l.importAction && (U.value = !0);
|
|
7716
7718
|
}
|
|
7717
|
-
async function
|
|
7719
|
+
async function To() {
|
|
7718
7720
|
const p = l.importTemplateCode;
|
|
7719
7721
|
if (p) {
|
|
7720
7722
|
const b = `/api/core/DataExchangeTemplates/ImportTemplate?templateCode=${p}`;
|
|
@@ -7798,10 +7800,10 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7798
7800
|
$.value && $.value.length ? zt.value = Nt("selection") : zt.value = Nt("page"), Se.value = !0;
|
|
7799
7801
|
break;
|
|
7800
7802
|
case "menu_export_template_action":
|
|
7801
|
-
|
|
7803
|
+
To();
|
|
7802
7804
|
break;
|
|
7803
7805
|
case "menu_import_action":
|
|
7804
|
-
|
|
7806
|
+
Lo();
|
|
7805
7807
|
break;
|
|
7806
7808
|
case "menu_export":
|
|
7807
7809
|
Se.value = !0;
|
|
@@ -7828,7 +7830,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7828
7830
|
};
|
|
7829
7831
|
typeof p != "string" && ((B = p.click) == null || B.call(null, C)), o("extendedMenuSelect", C);
|
|
7830
7832
|
}
|
|
7831
|
-
function
|
|
7833
|
+
function zo(p) {
|
|
7832
7834
|
const b = [];
|
|
7833
7835
|
l.exportAction && b.push({
|
|
7834
7836
|
label: a("Export") + "…",
|
|
@@ -7864,7 +7866,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7864
7866
|
gridId: l.name,
|
|
7865
7867
|
onConfigChanged: (p) => Ut(p),
|
|
7866
7868
|
onPageSizeChanged: (p) => I.value = p,
|
|
7867
|
-
onReset: () =>
|
|
7869
|
+
onReset: () => No
|
|
7868
7870
|
});
|
|
7869
7871
|
_l.loadGridConfig();
|
|
7870
7872
|
const Ut = (p, b) => {
|
|
@@ -7879,19 +7881,19 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7879
7881
|
b.sort((C, B) => (C.sortIndex || 0) - (B.sortIndex || 0)), g.value = b;
|
|
7880
7882
|
}
|
|
7881
7883
|
};
|
|
7882
|
-
function
|
|
7884
|
+
function $o(p) {
|
|
7883
7885
|
p ? Ut(p) : (g.value = st(l.columns || []), I.value = l.pageSize || 20), ae.value = !1;
|
|
7884
7886
|
}
|
|
7885
|
-
const
|
|
7887
|
+
const No = () => {
|
|
7886
7888
|
g.value = st(l.columns || []), I.value = l.pageSize || 20;
|
|
7887
|
-
},
|
|
7889
|
+
}, Ro = () => {
|
|
7888
7890
|
l.name && _l.showConfigModal({
|
|
7889
7891
|
gridId: l.name,
|
|
7890
7892
|
gridColumns: g.value,
|
|
7891
7893
|
pageSize: I.value
|
|
7892
7894
|
});
|
|
7893
7895
|
};
|
|
7894
|
-
function
|
|
7896
|
+
function Bo(p, b) {
|
|
7895
7897
|
var C;
|
|
7896
7898
|
for (const B of p)
|
|
7897
7899
|
wt(B);
|
|
@@ -7905,7 +7907,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7905
7907
|
const b = lt == null ? void 0 : lt.find((C) => C.key == p);
|
|
7906
7908
|
b && Al(b);
|
|
7907
7909
|
}
|
|
7908
|
-
function
|
|
7910
|
+
function Oo(p) {
|
|
7909
7911
|
var b, C;
|
|
7910
7912
|
Array.isArray(p) ? (Ge.value = (b = p[0].columnKey) == null ? void 0 : b.toString(), Qe.value = p[0].order == "ascend" ? "Asc" : "Desc") : p && (Ge.value = (C = p.columnKey) == null ? void 0 : C.toString(), Qe.value = p.order == "ascend" ? "Asc" : "Desc"), ot();
|
|
7911
7913
|
}
|
|
@@ -7917,11 +7919,11 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7917
7919
|
label: a(C),
|
|
7918
7920
|
key: S++
|
|
7919
7921
|
}) : (C.key || (C.key = S++), p.push(C));
|
|
7920
|
-
lt = p,
|
|
7922
|
+
lt = p, jo(p);
|
|
7921
7923
|
const b = p.filter((C) => C.group == "import" || C.group == "export");
|
|
7922
|
-
|
|
7924
|
+
zo(b);
|
|
7923
7925
|
}
|
|
7924
|
-
function
|
|
7926
|
+
function jo(p) {
|
|
7925
7927
|
if (p) {
|
|
7926
7928
|
const b = p.filter((C) => !C.group).map((C) => C.label == "-" ? {
|
|
7927
7929
|
type: "divider"
|
|
@@ -7949,7 +7951,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7949
7951
|
const p = Object.assign({}, zl(), l.importOptions);
|
|
7950
7952
|
pl.value = Object.keys(p).length ? p : void 0;
|
|
7951
7953
|
}
|
|
7952
|
-
function
|
|
7954
|
+
function Do() {
|
|
7953
7955
|
E ? A.value = !A.value : A.value = !1;
|
|
7954
7956
|
}
|
|
7955
7957
|
return ge(() => {
|
|
@@ -7992,7 +7994,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
7992
7994
|
deleteSelectedRows: wl,
|
|
7993
7995
|
saveData: xl,
|
|
7994
7996
|
doQuickSearch: Rt,
|
|
7995
|
-
clearQuickSearch:
|
|
7997
|
+
clearQuickSearch: go,
|
|
7996
7998
|
advancedSerach: Bt,
|
|
7997
7999
|
checkedRowKeys: $,
|
|
7998
8000
|
editRow: jt,
|
|
@@ -8000,14 +8002,14 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8000
8002
|
showDetails: vl,
|
|
8001
8003
|
insertRow: wt,
|
|
8002
8004
|
updateRow: Il,
|
|
8003
|
-
appendRows:
|
|
8005
|
+
appendRows: Bo,
|
|
8004
8006
|
buildExportArgs: kl
|
|
8005
8007
|
}), (p, b) => {
|
|
8006
8008
|
var C, B, V, ee, ue;
|
|
8007
8009
|
return w(), P("div", gd, [
|
|
8008
8010
|
de(p.$slots, "header"),
|
|
8009
8011
|
E.value ? te("", !0) : (w(), P("div", hd, [
|
|
8010
|
-
h(r(
|
|
8012
|
+
h(r(aa), null, {
|
|
8011
8013
|
default: f(() => [
|
|
8012
8014
|
de(p.$slots, "prefix-tools"),
|
|
8013
8015
|
p.readOnly ? te("", !0) : (w(!0), P(we, { key: 0 }, be(p.batchAdds, (G) => (w(), j(r(X), {
|
|
@@ -8054,7 +8056,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8054
8056
|
icon: f(() => [
|
|
8055
8057
|
h(r(Q), { color: "#5c6bc0" }, {
|
|
8056
8058
|
default: f(() => [
|
|
8057
|
-
h(r(
|
|
8059
|
+
h(r(Bn))
|
|
8058
8060
|
]),
|
|
8059
8061
|
_: 1
|
|
8060
8062
|
})
|
|
@@ -8072,7 +8074,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8072
8074
|
icon: f(() => [
|
|
8073
8075
|
h(r(Q), { color: "#f44336" }, {
|
|
8074
8076
|
default: f(() => [
|
|
8075
|
-
h(r(
|
|
8077
|
+
h(r(Rn))
|
|
8076
8078
|
]),
|
|
8077
8079
|
_: 1
|
|
8078
8080
|
})
|
|
@@ -8241,7 +8243,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8241
8243
|
N("div", {
|
|
8242
8244
|
class: "flex-row",
|
|
8243
8245
|
style: ce([{ "align-items": "center" }, { cursor: E.value ? "pointer" : "unset" }]),
|
|
8244
|
-
onClick:
|
|
8246
|
+
onClick: Do
|
|
8245
8247
|
}, [
|
|
8246
8248
|
h(r(Q), { size: "20" }, {
|
|
8247
8249
|
default: f(() => [
|
|
@@ -8396,9 +8398,9 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8396
8398
|
onEditRow: jt,
|
|
8397
8399
|
onDeleteRow: Dt,
|
|
8398
8400
|
onShowDetails: vl,
|
|
8399
|
-
"onUpdate:selectedIds":
|
|
8401
|
+
"onUpdate:selectedIds": Mo,
|
|
8400
8402
|
onColumnButtonClick: b[9] || (b[9] = (G, pe, ie) => p.$emit("columnButtonClick", G, pe, ie)),
|
|
8401
|
-
"onUpdate:sorter": b[10] || (b[10] = (G) =>
|
|
8403
|
+
"onUpdate:sorter": b[10] || (b[10] = (G) => Oo(G)),
|
|
8402
8404
|
onRowSorting: b[11] || (b[11] = (G) => p.$emit("rowSorting", G))
|
|
8403
8405
|
}, null, 8, ["data", "columns", "loading", "drag-sorting", "flex-height", "with-edit", "with-delete", "with-details", "multi-select", "max-height", "height", "checkable"])
|
|
8404
8406
|
]),
|
|
@@ -8409,14 +8411,14 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8409
8411
|
page: M.value,
|
|
8410
8412
|
"onUpdate:page": [
|
|
8411
8413
|
b[12] || (b[12] = (G) => M.value = G),
|
|
8412
|
-
|
|
8414
|
+
ko
|
|
8413
8415
|
],
|
|
8414
8416
|
"item-count": z.value,
|
|
8415
8417
|
"page-size": I.value,
|
|
8416
8418
|
"page-sizes": [10, 20, 30, 40, 50, 100],
|
|
8417
8419
|
"show-quick-jumper": "",
|
|
8418
8420
|
"show-size-picker": "",
|
|
8419
|
-
"onUpdate:pageSize":
|
|
8421
|
+
"onUpdate:pageSize": So
|
|
8420
8422
|
}, {
|
|
8421
8423
|
suffix: f(({ startIndex: G, endIndex: pe, itemCount: ie }) => [
|
|
8422
8424
|
ie ? (w(), j(r(Te), {
|
|
@@ -8435,7 +8437,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8435
8437
|
p.name ? (w(), j(r(X), {
|
|
8436
8438
|
key: 1,
|
|
8437
8439
|
text: "",
|
|
8438
|
-
onClick: b[13] || (b[13] = () =>
|
|
8440
|
+
onClick: b[13] || (b[13] = () => Ro())
|
|
8439
8441
|
}, {
|
|
8440
8442
|
icon: f(() => [
|
|
8441
8443
|
h(r(Q), null, {
|
|
@@ -8463,7 +8465,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8463
8465
|
"onUpdate:show": b[15] || (b[15] = (G) => me.value = G),
|
|
8464
8466
|
preset: "card",
|
|
8465
8467
|
draggable: "",
|
|
8466
|
-
style: ce([
|
|
8468
|
+
style: ce([fo.value, p.modalStyle]),
|
|
8467
8469
|
title: ke.value,
|
|
8468
8470
|
"close-on-esc": !1,
|
|
8469
8471
|
"mask-closable": !1
|
|
@@ -8473,7 +8475,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8473
8475
|
default: f(() => [
|
|
8474
8476
|
J.value == "create" || J.value == "edit" ? (w(), j(r(X), {
|
|
8475
8477
|
key: 0,
|
|
8476
|
-
onClick:
|
|
8478
|
+
onClick: xo,
|
|
8477
8479
|
style: { "min-width": "100px" },
|
|
8478
8480
|
type: "primary"
|
|
8479
8481
|
}, {
|
|
@@ -8513,7 +8515,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8513
8515
|
original: se.value,
|
|
8514
8516
|
method: J.value
|
|
8515
8517
|
}, () => [
|
|
8516
|
-
h(
|
|
8518
|
+
h(Wn, {
|
|
8517
8519
|
"form-items": d.value,
|
|
8518
8520
|
columns: p.modalColumns,
|
|
8519
8521
|
data: O.value,
|
|
@@ -8539,7 +8541,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8539
8541
|
]),
|
|
8540
8542
|
_: 3
|
|
8541
8543
|
}, 8, ["show", "style", "title"]),
|
|
8542
|
-
(C = p.batchAdds) != null && C.length ? (w(), j(
|
|
8544
|
+
(C = p.batchAdds) != null && C.length ? (w(), j(so, {
|
|
8543
8545
|
key: 2,
|
|
8544
8546
|
show: gt.value,
|
|
8545
8547
|
"onUpdate:show": b[16] || (b[16] = (G) => gt.value = G),
|
|
@@ -8548,7 +8550,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8548
8550
|
title: (V = Ye.value) == null ? void 0 : V.searchTitle,
|
|
8549
8551
|
"multi-select": ((ee = Ye.value) == null ? void 0 : ee.singleOne) != !0,
|
|
8550
8552
|
"addition-query": (ue = Ye.value) == null ? void 0 : ue.additionQuery,
|
|
8551
|
-
onSearchBack:
|
|
8553
|
+
onSearchBack: bo
|
|
8552
8554
|
}, null, 8, ["show", "config", "title", "multi-select", "addition-query"])) : te("", !0),
|
|
8553
8555
|
p.importAction ? (w(), j(cl, {
|
|
8554
8556
|
key: 3,
|
|
@@ -8565,14 +8567,14 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8565
8567
|
]),
|
|
8566
8568
|
_: 3
|
|
8567
8569
|
}, 8, ["show", "action", "addition-params", "timeout", "template-code"])) : te("", !0),
|
|
8568
|
-
p.dataExchangeCode || p.exportAction ? (w(), j(
|
|
8570
|
+
p.dataExchangeCode || p.exportAction ? (w(), j(no, {
|
|
8569
8571
|
key: 4,
|
|
8570
8572
|
show: Se.value,
|
|
8571
8573
|
draggable: "",
|
|
8572
8574
|
"supported-formats": p.exportFormats,
|
|
8573
8575
|
"supported-ranges": p.exportRanges,
|
|
8574
8576
|
onClose: b[18] || (b[18] = () => Se.value = !1),
|
|
8575
|
-
onExport:
|
|
8577
|
+
onExport: Ao,
|
|
8576
8578
|
range: zt.value,
|
|
8577
8579
|
"template-code": p.importTemplateCode
|
|
8578
8580
|
}, {
|
|
@@ -8581,7 +8583,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8581
8583
|
]),
|
|
8582
8584
|
_: 3
|
|
8583
8585
|
}, 8, ["show", "supported-formats", "supported-ranges", "range", "template-code"])) : te("", !0),
|
|
8584
|
-
p.name ? (w(), j(
|
|
8586
|
+
p.name ? (w(), j(ao, {
|
|
8585
8587
|
key: 5,
|
|
8586
8588
|
"grid-id": p.name,
|
|
8587
8589
|
draggable: "",
|
|
@@ -8590,7 +8592,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8590
8592
|
"onUpdate:pageSize": b[19] || (b[19] = (G) => I.value = G),
|
|
8591
8593
|
show: ae.value,
|
|
8592
8594
|
onClose: b[20] || (b[20] = () => ae.value = !1),
|
|
8593
|
-
"onUpdate:config":
|
|
8595
|
+
"onUpdate:config": $o
|
|
8594
8596
|
}, null, 8, ["grid-id", "grid-columns", "pageSize", "show"])) : te("", !0)
|
|
8595
8597
|
]);
|
|
8596
8598
|
};
|
|
@@ -8762,7 +8764,7 @@ const Wu = /* @__PURE__ */ Ae(Ku, [["render", Zu]]), no = (e) => {
|
|
|
8762
8764
|
}
|
|
8763
8765
|
}), Sd = H({
|
|
8764
8766
|
components: {
|
|
8765
|
-
SearchIcon:
|
|
8767
|
+
SearchIcon: to,
|
|
8766
8768
|
LeftIcon: nu,
|
|
8767
8769
|
RightIcon: au
|
|
8768
8770
|
},
|
|
@@ -9014,7 +9016,7 @@ const Nd = /* @__PURE__ */ Ae(Sd, [["render", $d]]), Rd = /* @__PURE__ */ H({
|
|
|
9014
9016
|
};
|
|
9015
9017
|
return ge(() => {
|
|
9016
9018
|
document.addEventListener("mousemove", v), document.addEventListener("mouseup", i);
|
|
9017
|
-
}),
|
|
9019
|
+
}), Vo(() => {
|
|
9018
9020
|
document.removeEventListener("mousemove", v), document.removeEventListener("mouseup", i);
|
|
9019
9021
|
}), (s, m) => (w(), P("div", {
|
|
9020
9022
|
class: je(["main-detail-panel", [s.direction]]),
|
|
@@ -9094,7 +9096,7 @@ const Nd = /* @__PURE__ */ Ae(Sd, [["render", $d]]), Rd = /* @__PURE__ */ H({
|
|
|
9094
9096
|
"x-gap": 24
|
|
9095
9097
|
}, {
|
|
9096
9098
|
default: f(() => [
|
|
9097
|
-
h(r(
|
|
9099
|
+
h(r(ra), {
|
|
9098
9100
|
span: 24,
|
|
9099
9101
|
label: a.message
|
|
9100
9102
|
}, {
|
|
@@ -9215,7 +9217,7 @@ const Nd = /* @__PURE__ */ Ae(Sd, [["render", $d]]), Rd = /* @__PURE__ */ H({
|
|
|
9215
9217
|
return (y = t.iconRender) == null ? void 0 : y.call(null, A);
|
|
9216
9218
|
}
|
|
9217
9219
|
}) : A.option.isLeaf ? D(Q, null, {
|
|
9218
|
-
default: () => D(
|
|
9220
|
+
default: () => D(Jn)
|
|
9219
9221
|
}) : D(Q, null, {
|
|
9220
9222
|
default: () => D(sl)
|
|
9221
9223
|
}), k = (A) => {
|
|
@@ -9293,7 +9295,7 @@ const Nd = /* @__PURE__ */ Ae(Sd, [["render", $d]]), Rd = /* @__PURE__ */ H({
|
|
|
9293
9295
|
prefix: f(() => [
|
|
9294
9296
|
h(r(Q), null, {
|
|
9295
9297
|
default: f(() => [
|
|
9296
|
-
h(r(
|
|
9298
|
+
h(r(lo))
|
|
9297
9299
|
]),
|
|
9298
9300
|
_: 1
|
|
9299
9301
|
})
|
|
@@ -9348,7 +9350,7 @@ const Nd = /* @__PURE__ */ Ae(Sd, [["render", $d]]), Rd = /* @__PURE__ */ H({
|
|
|
9348
9350
|
]),
|
|
9349
9351
|
_: 1
|
|
9350
9352
|
}),
|
|
9351
|
-
h(r(
|
|
9353
|
+
h(r(sa), {
|
|
9352
9354
|
class: "flex-grow-1",
|
|
9353
9355
|
style: { height: "10px" },
|
|
9354
9356
|
"virtual-scroll": "",
|
|
@@ -9544,7 +9546,7 @@ const Nd = /* @__PURE__ */ Ae(Sd, [["render", $d]]), Rd = /* @__PURE__ */ H({
|
|
|
9544
9546
|
default: f(() => [
|
|
9545
9547
|
a.code ? (w(), P("div", Gd, [
|
|
9546
9548
|
N("img", { src: o.value }, null, 8, Kd),
|
|
9547
|
-
h(r(
|
|
9549
|
+
h(r(ia), { style: { margin: "1em" } }, {
|
|
9548
9550
|
default: f(() => [
|
|
9549
9551
|
h(c, { class: "text-monospace" }, {
|
|
9550
9552
|
default: f(() => [
|
|
@@ -9566,7 +9568,7 @@ const Nd = /* @__PURE__ */ Ae(Sd, [["render", $d]]), Rd = /* @__PURE__ */ H({
|
|
|
9566
9568
|
_: 1
|
|
9567
9569
|
})
|
|
9568
9570
|
])) : (w(), P("div", Zd, [
|
|
9569
|
-
h(r(
|
|
9571
|
+
h(r(ua))
|
|
9570
9572
|
]))
|
|
9571
9573
|
]),
|
|
9572
9574
|
_: 1
|
|
@@ -9712,9 +9714,9 @@ const Jd = { class: "flex-grow-1 flex-column" }, qd = { class: "icon-container"
|
|
|
9712
9714
|
M(z || 0);
|
|
9713
9715
|
}), (z, I) => (w(), P("div", Jd, [
|
|
9714
9716
|
N("div", null, [
|
|
9715
|
-
h(r(
|
|
9717
|
+
h(r(da), null, {
|
|
9716
9718
|
default: f(() => [
|
|
9717
|
-
(w(!0), P(we, null, be(u.value, (k) => (w(), j(r(
|
|
9719
|
+
(w(!0), P(we, null, be(u.value, (k) => (w(), j(r(ca), {
|
|
9718
9720
|
key: k.path
|
|
9719
9721
|
}, {
|
|
9720
9722
|
default: f(() => [
|
|
@@ -9822,7 +9824,7 @@ const Jd = { class: "flex-grow-1 flex-column" }, qd = { class: "icon-container"
|
|
|
9822
9824
|
"content-class": "flex-grow-1 flex-column"
|
|
9823
9825
|
}, {
|
|
9824
9826
|
default: f(() => [
|
|
9825
|
-
h(r(
|
|
9827
|
+
h(r(fa), {
|
|
9826
9828
|
"x-scrollable": "",
|
|
9827
9829
|
class: "flex-grow-1",
|
|
9828
9830
|
style: { "min-height": "100%", "min-width": "100%", overflow: "auto", height: "1px", width: "1px" }
|
|
@@ -9874,7 +9876,7 @@ const Jd = { class: "flex-grow-1 flex-column" }, qd = { class: "icon-container"
|
|
|
9874
9876
|
})
|
|
9875
9877
|
]));
|
|
9876
9878
|
}
|
|
9877
|
-
}),
|
|
9879
|
+
}), uo = /* @__PURE__ */ Ae(tc, [["__scopeId", "data-v-ff87aac6"]]), lc = /* @__PURE__ */ H({
|
|
9878
9880
|
__name: "SelectObjectModal",
|
|
9879
9881
|
props: {
|
|
9880
9882
|
show: { type: Boolean },
|
|
@@ -9952,7 +9954,7 @@ const Jd = { class: "flex-grow-1 flex-column" }, qd = { class: "icon-container"
|
|
|
9952
9954
|
]),
|
|
9953
9955
|
_: 1
|
|
9954
9956
|
}),
|
|
9955
|
-
h(r(
|
|
9957
|
+
h(r(pa), {
|
|
9956
9958
|
value: i.value,
|
|
9957
9959
|
"onUpdate:value": x[0] || (x[0] = (S) => i.value = S),
|
|
9958
9960
|
name: "valueList",
|
|
@@ -9961,7 +9963,7 @@ const Jd = { class: "flex-grow-1 flex-column" }, qd = { class: "icon-container"
|
|
|
9961
9963
|
default: f(() => [
|
|
9962
9964
|
h(r(ye), { vertical: "" }, {
|
|
9963
9965
|
default: f(() => [
|
|
9964
|
-
(w(!0), P(we, null, be(c.value, (S) => (w(), j(r(
|
|
9966
|
+
(w(!0), P(we, null, be(c.value, (S) => (w(), j(r(ma), {
|
|
9965
9967
|
key: S[g.keyName],
|
|
9966
9968
|
value: S[g.keyName]
|
|
9967
9969
|
}, {
|
|
@@ -10029,7 +10031,7 @@ function nc(e, n) {
|
|
|
10029
10031
|
}
|
|
10030
10032
|
}
|
|
10031
10033
|
}
|
|
10032
|
-
const
|
|
10034
|
+
const co = () => {
|
|
10033
10035
|
const e = {};
|
|
10034
10036
|
function n(l, o, a) {
|
|
10035
10037
|
return !!(o && o.includes(a) || l.title && l.title.includes(a) || l.url && l.url.includes(a));
|
|
@@ -10075,7 +10077,7 @@ const uo = () => {
|
|
|
10075
10077
|
currentMenuId: {}
|
|
10076
10078
|
},
|
|
10077
10079
|
setup(e) {
|
|
10078
|
-
const { t: n } = re(), t = xe("axios"), l = mt(), o = /^https?:\/\//i, a = T([]), u = T(void 0), c =
|
|
10080
|
+
const { t: n } = re(), t = xe("axios"), l = mt(), o = /^https?:\/\//i, a = T([]), u = T(void 0), c = co(), v = Ie(() => c.systemMenuToNaiveMenu(n, l.menus, void 0, u.value)), i = Ie(() => l.isLoadingMenu);
|
|
10079
10081
|
function s(g) {
|
|
10080
10082
|
if (typeof g.href == "string" && g.href && !g.children) {
|
|
10081
10083
|
let x = g.href.startsWith("~") ? g.href.substring(1) : g.href;
|
|
@@ -10098,7 +10100,7 @@ const uo = () => {
|
|
|
10098
10100
|
const z = (M = g.key) == null ? void 0 : M.toString();
|
|
10099
10101
|
return z && a.value.includes(z) ? D(Q, { class: "menu-icon" }, { default: () => D(ku) }) : D(Q, { class: "menu-icon" }, { default: () => D(sl) });
|
|
10100
10102
|
} else
|
|
10101
|
-
return D(Q, { class: "menu-icon" }, { default: () => D(
|
|
10103
|
+
return D(Q, { class: "menu-icon" }, { default: () => D(Jn) });
|
|
10102
10104
|
}
|
|
10103
10105
|
}
|
|
10104
10106
|
function d(g) {
|
|
@@ -10150,7 +10152,7 @@ const uo = () => {
|
|
|
10150
10152
|
prefix: f(() => [
|
|
10151
10153
|
h(r(Q), null, {
|
|
10152
10154
|
default: f(() => [
|
|
10153
|
-
h(r(
|
|
10155
|
+
h(r(lo))
|
|
10154
10156
|
]),
|
|
10155
10157
|
_: 1
|
|
10156
10158
|
})
|
|
@@ -10224,7 +10226,7 @@ const uo = () => {
|
|
|
10224
10226
|
"content-style": "display: flex; flex-direction: column;"
|
|
10225
10227
|
}, {
|
|
10226
10228
|
default: f(() => [
|
|
10227
|
-
h(
|
|
10229
|
+
h(uo, {
|
|
10228
10230
|
"onUpdate:selected": s[1] || (s[1] = (m) => v(m))
|
|
10229
10231
|
})
|
|
10230
10232
|
]),
|
|
@@ -10253,7 +10255,7 @@ const uo = () => {
|
|
|
10253
10255
|
});
|
|
10254
10256
|
function ic(e, n, t, l, o, a) {
|
|
10255
10257
|
const u = ne("n-icon"), c = ne("n-button");
|
|
10256
|
-
return w(), j(c, null,
|
|
10258
|
+
return w(), j(c, null, Go({
|
|
10257
10259
|
default: f(() => [
|
|
10258
10260
|
K(" " + F(e.title ? e.t(e.title) : ""), 1)
|
|
10259
10261
|
]),
|
|
@@ -10280,7 +10282,7 @@ const uc = /* @__PURE__ */ Ae(sc, [["render", ic]]), dc = H({
|
|
|
10280
10282
|
NSpin: He
|
|
10281
10283
|
},
|
|
10282
10284
|
setup() {
|
|
10283
|
-
const { t: e } = re(), n = xe("axios"), t = mt(), l = /^https?:\/\//i, o =
|
|
10285
|
+
const { t: e } = re(), n = xe("axios"), t = mt(), l = /^https?:\/\//i, o = co(), a = Ie(() => o.systemMenuToNaiveMenu(e, t.menus)), u = Ie(() => t.isLoadingMenu);
|
|
10284
10286
|
function c(s) {
|
|
10285
10287
|
if (typeof s.href == "string" && s.href && !s.children) {
|
|
10286
10288
|
let m = s.href.startsWith("~") ? s.href.substr(1) : s.href;
|
|
@@ -10615,7 +10617,7 @@ function mc(e, n, t, l, o, a) {
|
|
|
10615
10617
|
}
|
|
10616
10618
|
const gc = /* @__PURE__ */ Ae(pc, [["render", mc]]), hc = H({
|
|
10617
10619
|
components: {
|
|
10618
|
-
ChangePassword:
|
|
10620
|
+
ChangePassword: En,
|
|
10619
10621
|
NotificationIcon: Zs
|
|
10620
10622
|
},
|
|
10621
10623
|
setup() {
|
|
@@ -10907,50 +10909,50 @@ const rf = ct("fontSize", () => {
|
|
|
10907
10909
|
loadFromLocalStorage: i
|
|
10908
10910
|
};
|
|
10909
10911
|
}), Mc = {
|
|
10910
|
-
AppLogoBox:
|
|
10912
|
+
AppLogoBox: Ca,
|
|
10911
10913
|
AppTabs: ci,
|
|
10912
10914
|
AutoScrollView: gi,
|
|
10913
10915
|
BarcodeImage: vi,
|
|
10914
|
-
ChangePassword:
|
|
10915
|
-
ColorInput:
|
|
10916
|
-
DefaultPropertyForm:
|
|
10916
|
+
ChangePassword: En,
|
|
10917
|
+
ColorInput: Un,
|
|
10918
|
+
DefaultPropertyForm: Wn,
|
|
10917
10919
|
DetailPage: qi,
|
|
10918
|
-
ExportModal:
|
|
10920
|
+
ExportModal: no,
|
|
10919
10921
|
EmptyDetailView: Gu,
|
|
10920
10922
|
FormInput: it,
|
|
10921
10923
|
FullscreenSwitch: Wu,
|
|
10922
|
-
GridConfigModal:
|
|
10924
|
+
GridConfigModal: ao,
|
|
10923
10925
|
HaloButtonSelect: Xu,
|
|
10924
10926
|
HaloDatePicker: Qt,
|
|
10925
10927
|
HaloForm: bd,
|
|
10926
10928
|
HaloGrid: ul,
|
|
10927
10929
|
HaloModal: xd,
|
|
10928
|
-
HaloModalInput:
|
|
10930
|
+
HaloModalInput: Zn,
|
|
10929
10931
|
HaloSelect: kd,
|
|
10930
|
-
HaloTagsInput:
|
|
10931
|
-
HaloTimePicker:
|
|
10932
|
+
HaloTagsInput: Gn,
|
|
10933
|
+
HaloTimePicker: Pn,
|
|
10932
10934
|
HaloTransfer: Nd,
|
|
10933
10935
|
ImportModal: cl,
|
|
10934
|
-
InputModal:
|
|
10935
|
-
ListInputModal:
|
|
10936
|
+
InputModal: io,
|
|
10937
|
+
ListInputModal: Kn,
|
|
10936
10938
|
MainDetailPanel: Bd,
|
|
10937
10939
|
MenuIcon: pt,
|
|
10938
|
-
NullableBooleanInput:
|
|
10940
|
+
NullableBooleanInput: Fn,
|
|
10939
10941
|
NumberInputModal: Od,
|
|
10940
10942
|
ObjectTreeView: Dd,
|
|
10941
10943
|
PhotoBox: Ud,
|
|
10942
10944
|
PrintModal: Vd,
|
|
10943
|
-
PropertyGrid:
|
|
10945
|
+
PropertyGrid: Yn,
|
|
10944
10946
|
QrModal: Wd,
|
|
10945
10947
|
SearchCard: Xd,
|
|
10946
10948
|
SearchForm: il,
|
|
10947
|
-
SearchModal:
|
|
10949
|
+
SearchModal: so,
|
|
10948
10950
|
SearchPanel: dl,
|
|
10949
|
-
SelectIconBox:
|
|
10951
|
+
SelectIconBox: uo,
|
|
10950
10952
|
SelectObjectModal: lc,
|
|
10951
10953
|
SideMenu: oc,
|
|
10952
10954
|
SystemIconInput: rc,
|
|
10953
|
-
TagsView:
|
|
10955
|
+
TagsView: ro,
|
|
10954
10956
|
ToolButton: uc,
|
|
10955
10957
|
TopMenu: fc,
|
|
10956
10958
|
TreeView: gc,
|
|
@@ -10961,62 +10963,62 @@ const rf = ct("fontSize", () => {
|
|
|
10961
10963
|
const t = { ...ii, ...n };
|
|
10962
10964
|
for (const [l, o] of Object.entries(Mc))
|
|
10963
10965
|
e.component(l, o);
|
|
10964
|
-
n != null && n.langCode && e.use(
|
|
10966
|
+
n != null && n.langCode && e.use(va, n == null ? void 0 : n.langCode, !0), e.provide("axios", Ue), e.provide(On, t);
|
|
10965
10967
|
}
|
|
10966
10968
|
};
|
|
10967
10969
|
export {
|
|
10968
|
-
|
|
10970
|
+
Ca as AppLogoBox,
|
|
10969
10971
|
ci as AppTabs,
|
|
10970
10972
|
gi as AutoScrollView,
|
|
10971
10973
|
vi as BarcodeImage,
|
|
10972
|
-
|
|
10973
|
-
|
|
10974
|
+
En as ChangePassword,
|
|
10975
|
+
Un as ColorInput,
|
|
10974
10976
|
nf as DataPage,
|
|
10975
10977
|
et as DateFormat,
|
|
10976
10978
|
St as DateTimeFormat,
|
|
10977
|
-
|
|
10979
|
+
Wn as DefaultPropertyForm,
|
|
10978
10980
|
qi as DetailPage,
|
|
10979
10981
|
Gu as EmptyDetailView,
|
|
10980
|
-
|
|
10982
|
+
no as ExportModal,
|
|
10981
10983
|
it as FormInput,
|
|
10982
10984
|
Wu as FullscreenSwitch,
|
|
10983
|
-
|
|
10985
|
+
ao as GridConfigModal,
|
|
10984
10986
|
Xu as HaloButtonSelect,
|
|
10985
10987
|
Qt as HaloDatePicker,
|
|
10986
10988
|
bd as HaloForm,
|
|
10987
10989
|
ul as HaloGrid,
|
|
10988
10990
|
xd as HaloModal,
|
|
10989
|
-
|
|
10991
|
+
Zn as HaloModalInput,
|
|
10990
10992
|
kd as HaloSelect,
|
|
10991
|
-
|
|
10992
|
-
|
|
10993
|
+
Gn as HaloTagsInput,
|
|
10994
|
+
Pn as HaloTimePicker,
|
|
10993
10995
|
Nd as HaloTransfer,
|
|
10994
|
-
|
|
10995
|
-
|
|
10996
|
+
On as HalovConfigKey,
|
|
10997
|
+
va as I18nPlugin,
|
|
10996
10998
|
cl as ImportModal,
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
+
io as InputModal,
|
|
11000
|
+
Kn as ListInputModal,
|
|
10999
11001
|
Bd as MainDetailPanel,
|
|
11000
11002
|
pt as MenuIcon,
|
|
11001
|
-
|
|
11003
|
+
Fn as NullableBooleanInput,
|
|
11002
11004
|
Od as NumberInputModal,
|
|
11003
11005
|
Dd as ObjectTreeView,
|
|
11004
11006
|
Ud as PhotoBox,
|
|
11005
11007
|
Vd as PrintModal,
|
|
11006
|
-
|
|
11008
|
+
Yn as PropertyGrid,
|
|
11007
11009
|
Wd as QrModal,
|
|
11008
11010
|
Xd as SearchCard,
|
|
11009
11011
|
il as SearchForm,
|
|
11010
|
-
|
|
11012
|
+
so as SearchModal,
|
|
11011
11013
|
dl as SearchPanel,
|
|
11012
|
-
|
|
11014
|
+
uo as SelectIconBox,
|
|
11013
11015
|
lc as SelectObjectModal,
|
|
11014
11016
|
of as SessionSummary,
|
|
11015
11017
|
oc as SideMenu,
|
|
11016
11018
|
rc as SystemIconInput,
|
|
11017
11019
|
af as SystemMenu,
|
|
11018
11020
|
Sc as TabMenu,
|
|
11019
|
-
|
|
11021
|
+
ro as TagsView,
|
|
11020
11022
|
xt as TimeFormat,
|
|
11021
11023
|
uc as ToolButton,
|
|
11022
11024
|
fc as TopMenu,
|
|
@@ -11038,10 +11040,10 @@ export {
|
|
|
11038
11040
|
Ii as copyEntity,
|
|
11039
11041
|
xi as copyToEntity,
|
|
11040
11042
|
st as createGridColumns,
|
|
11041
|
-
|
|
11042
|
-
|
|
11043
|
-
|
|
11044
|
-
|
|
11043
|
+
ha as createI18n,
|
|
11044
|
+
Nn as dateTimeToString,
|
|
11045
|
+
ss as dateToNumber,
|
|
11046
|
+
$n as dateToString,
|
|
11045
11047
|
uf as default,
|
|
11046
11048
|
ii as defaultHalovOptions,
|
|
11047
11049
|
cs as defaultValue,
|
|
@@ -11050,13 +11052,13 @@ export {
|
|
|
11050
11052
|
Uc as firstDayOfMonth,
|
|
11051
11053
|
us as formatTimespan,
|
|
11052
11054
|
Vl as getColumnWidth,
|
|
11053
|
-
|
|
11055
|
+
jn as getConfig,
|
|
11054
11056
|
Gl as iconRender,
|
|
11055
11057
|
Wc as iconRenderIf,
|
|
11056
11058
|
Ci as initEntity,
|
|
11057
11059
|
bi as instanceOfColumnValueSource,
|
|
11058
11060
|
dt as instanceOfHaloColumn,
|
|
11059
|
-
|
|
11061
|
+
os as instanceOfTime,
|
|
11060
11062
|
ps as isNullOrWhiteSpace,
|
|
11061
11063
|
Pc as lastDayOfMonth,
|
|
11062
11064
|
Hc as linesToArray,
|
|
@@ -11069,27 +11071,27 @@ export {
|
|
|
11069
11071
|
Yc as renderIconButton,
|
|
11070
11072
|
Zc as renderLabel,
|
|
11071
11073
|
Jc as searchField,
|
|
11072
|
-
|
|
11074
|
+
as as secondsToTime,
|
|
11073
11075
|
ef as splitNumberByCount,
|
|
11074
11076
|
tf as splitNumberBySize,
|
|
11075
11077
|
Fc as stringToArray,
|
|
11076
|
-
|
|
11078
|
+
rs as stringToTime,
|
|
11077
11079
|
lf as sumNumbers,
|
|
11078
|
-
|
|
11080
|
+
is as timeToString,
|
|
11079
11081
|
jc as timestamp,
|
|
11080
11082
|
Ee as toBool,
|
|
11081
11083
|
al as toBoolDefault,
|
|
11082
|
-
|
|
11084
|
+
ns as toDate,
|
|
11083
11085
|
Dc as toViewModel,
|
|
11084
11086
|
mt as useAccountStore,
|
|
11085
11087
|
ft as useCommonStore,
|
|
11086
11088
|
rf as useFontSizeStore,
|
|
11087
11089
|
Be as useHttpTools,
|
|
11088
11090
|
re as useI18n,
|
|
11089
|
-
|
|
11090
|
-
|
|
11091
|
+
co as useMenus,
|
|
11092
|
+
oo as usePermissions,
|
|
11091
11093
|
un as useTabsStore,
|
|
11092
|
-
|
|
11094
|
+
Hn as useUiTools,
|
|
11093
11095
|
sf as useUserConfigStore,
|
|
11094
11096
|
Vc as validateEmail
|
|
11095
11097
|
};
|