@farris/ui-vue 1.8.0-alpha.0 → 1.8.0-beta.1
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/components/avatar/index.esm.js +138 -1526
- package/components/avatar/index.umd.cjs +1 -6
- package/components/button/index.css +1 -1
- package/components/button/index.esm.js +15951 -15410
- package/components/button/index.umd.cjs +27 -27
- package/components/calendar/index.esm.js +269 -255
- package/components/calendar/index.umd.cjs +3 -3
- package/components/collection-property-editor/index.esm.js +243 -229
- package/components/collection-property-editor/index.umd.cjs +2 -2
- package/components/combo-list/index.esm.js +32 -32
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/comment/index.esm.js +473 -456
- package/components/comment/index.umd.cjs +6 -6
- package/components/component/index.css +1 -1
- package/components/component/index.esm.js +2503 -2239
- package/components/component/index.umd.cjs +2 -2
- package/components/condition/index.esm.js +1064 -954
- package/components/condition/index.umd.cjs +2 -2
- package/components/data-grid/index.esm.js +1 -1
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/designer-canvas/index.css +1 -1
- package/components/designer-canvas/index.esm.js +3894 -3058
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/drawer/index.esm.js +91 -77
- package/components/drawer/index.umd.cjs +2 -2
- package/components/dynamic-form/index.esm.js +220 -215
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +145 -131
- package/components/dynamic-resolver/index.umd.cjs +2 -2
- package/components/dynamic-view/index.esm.js +336 -329
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/events-editor/index.esm.js +1611 -1536
- package/components/events-editor/index.umd.cjs +3 -3
- package/components/expression-editor/index.esm.js +219 -219
- package/components/expression-editor/index.umd.cjs +2 -2
- package/components/external-container/index.esm.js +179 -178
- package/components/external-container/index.umd.cjs +1 -1
- package/components/fieldset/index.esm.js +285 -221
- package/components/fieldset/index.umd.cjs +1 -1
- package/components/filter-bar/index.css +1 -0
- package/components/filter-bar/index.esm.js +1512 -1290
- package/components/filter-bar/index.umd.cjs +7 -7
- package/components/filter-condition-editor/index.esm.js +851 -831
- package/components/filter-condition-editor/index.umd.cjs +3 -3
- package/components/flow-canvas/index.esm.js +520 -501
- package/components/flow-canvas/index.umd.cjs +8 -8
- package/components/image/index.esm.js +101 -79
- package/components/image/index.umd.cjs +3 -3
- package/components/language-textbox/index.esm.js +330 -251
- package/components/language-textbox/index.umd.cjs +2 -2
- package/components/list-nav/index.esm.js +399 -313
- package/components/list-nav/index.umd.cjs +1 -1
- package/components/locale/index.esm.js +3 -0
- package/components/locale/index.umd.cjs +1 -1
- package/components/lookup/index.esm.js +997 -976
- package/components/lookup/index.umd.cjs +2 -2
- package/components/mapping-editor/index.esm.js +725 -705
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/message-box/index.esm.js +542 -522
- package/components/message-box/index.umd.cjs +1 -1
- package/components/nav/index.esm.js +95 -308
- package/components/nav/index.umd.cjs +1 -1
- package/components/number-range/index.esm.js +115 -107
- package/components/number-range/index.umd.cjs +2 -2
- package/components/order/index.esm.js +56 -54
- package/components/order/index.umd.cjs +1 -1
- package/components/page-footer/index.esm.js +135 -123
- package/components/page-footer/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +266 -222
- package/components/page-header/index.umd.cjs +1 -1
- package/components/property-panel/index.esm.js +402 -375
- package/components/property-panel/index.umd.cjs +4 -4
- package/components/query-solution/index.esm.js +3171 -3061
- package/components/query-solution/index.umd.cjs +7 -7
- package/components/response-toolbar/index.esm.js +1 -1
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +1620 -1608
- package/components/schema-selector/index.umd.cjs +5 -5
- package/components/scroll-navbar/index.esm.js +150 -136
- package/components/scroll-navbar/index.umd.cjs +2 -2
- package/components/section/index.esm.js +323 -311
- package/components/section/index.umd.cjs +2 -2
- package/components/sort-condition-editor/index.esm.js +850 -830
- package/components/sort-condition-editor/index.umd.cjs +3 -3
- package/components/step/index.esm.js +991 -224
- package/components/step/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +356 -334
- package/components/tabs/index.umd.cjs +1 -1
- package/components/wizard/index.esm.js +159 -162
- package/components/wizard/index.umd.cjs +1 -1
- package/designer/avatar/index.esm.js +1721 -0
- package/designer/avatar/index.umd.cjs +6 -0
- package/designer/button-edit/index.esm.js +2 -1
- package/designer/button-edit/index.umd.cjs +1 -1
- package/designer/data-grid/index.esm.js +693 -659
- package/designer/data-grid/index.umd.cjs +6 -6
- package/designer/data-view/index.esm.js +90 -78
- package/designer/data-view/index.umd.cjs +2 -2
- package/designer/date-picker/index.esm.js +203 -203
- package/designer/date-picker/index.umd.cjs +1 -1
- package/designer/drawer/index.esm.js +181 -167
- package/designer/drawer/index.umd.cjs +2 -2
- package/designer/dynamic-form/index.esm.js +228 -206
- package/designer/dynamic-form/index.umd.cjs +2 -2
- package/designer/farris-designer.all.esm.js +10014 -9692
- package/designer/farris-designer.all.umd.cjs +18 -18
- package/designer/index.css +1 -1
- package/designer/input-group/index.esm.js +15 -15
- package/designer/input-group/index.umd.cjs +1 -1
- package/designer/nav/index.esm.js +1719 -0
- package/designer/nav/index.umd.cjs +6 -0
- package/designer/number-spinner/index.esm.js +8 -7
- package/designer/number-spinner/index.umd.cjs +1 -1
- package/designer/radio-group/index.esm.js +133 -125
- package/designer/radio-group/index.umd.cjs +2 -2
- package/designer/response-toolbar/index.esm.js +864 -863
- package/designer/response-toolbar/index.umd.cjs +1 -1
- package/designer/section/index.esm.js +245 -183
- package/designer/section/index.umd.cjs +1 -1
- package/designer/tabs/index.css +1 -1
- package/designer/tabs/index.esm.js +3667 -2810
- package/designer/tabs/index.umd.cjs +2 -2
- package/designer/time-picker/index.esm.js +26 -17
- package/designer/time-picker/index.umd.cjs +2 -2
- package/designer/tree-grid/index.esm.js +69 -37
- package/designer/tree-grid/index.umd.cjs +1 -1
- package/designer/wizard/index.esm.js +110 -110
- package/designer/wizard/index.umd.cjs +3 -3
- package/farris.all.esm.js +39993 -39089
- package/farris.all.umd.cjs +36 -36
- package/index.css +1 -1
- package/locales/filter-bar/ui/en.json +1 -0
- package/locales/filter-bar/ui/zh-CHS.json +1 -0
- package/locales/filter-bar/ui/zh-CHT.json +1 -0
- package/locales/ui/en.json +1 -0
- package/locales/ui/zh-CHS.json +1 -0
- package/locales/ui/zh-CHT.json +1 -0
- package/package.json +1 -1
- package/types/avatar/designer.d.ts +28 -0
- package/types/avatar/index.d.ts +0 -15
- package/types/avatar/src/composition/types.d.ts +3 -0
- package/types/avatar/src/composition/use-file.d.ts +19 -0
- package/types/avatar/src/composition/use-image.d.ts +1 -1
- package/types/avatar/src/designer/avatar.design.props.d.ts +24 -0
- package/types/avatar/src/property-config/avatar.property-config.d.ts +11 -13
- package/types/avatar/src/schema/schema-mapper.d.ts +2 -0
- package/types/components.d.ts +3 -0
- package/types/condition/index.d.ts +18 -6
- package/types/condition/src/condition-fields.component.d.ts +9 -3
- package/types/condition/src/condition-fields.design.component.d.ts +9 -3
- package/types/condition/src/condition-list.component.d.ts +9 -3
- package/types/condition/src/condition.props.d.ts +11 -0
- package/types/data-view/designer/property-config/use-appearance.d.ts +17 -10
- package/types/data-view/designer/property-config/use-pagination.d.ts +0 -6
- package/types/designer-canvas/src/composition/dg-control.d.ts +13 -0
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +3 -0
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +4 -0
- package/types/dynamic-resolver/src/converter/tree-auto-check.converter.d.ts +3 -0
- package/types/dynamic-view/src/components/maps.d.ts +130 -4
- package/types/filter-bar/src/composition/types.d.ts +2 -0
- package/types/filter-bar/src/filter-bar.props.d.ts +0 -1
- package/types/filter-bar/src/locale/locale.d.ts +2 -1
- package/types/filter-bar/src/property-config/filter-bar.property-config.d.ts +0 -1
- package/types/language-textbox/index.d.ts +65 -2
- package/types/language-textbox/src/designer/language-textbox.design.component.d.ts +36 -0
- package/types/language-textbox/src/language-textbox.component.d.ts +38 -1
- package/types/language-textbox/src/language-textbox.props.d.ts +20 -0
- package/types/lookup/src/components/popup-container.component.d.ts +3 -3
- package/types/lookup/src/composition/use-compat.d.ts +28 -0
- package/types/lookup/src/composition/use-state.d.ts +1 -0
- package/types/message-box/src/message-box.service.d.ts +2 -1
- package/types/nav/designer.d.ts +28 -0
- package/types/nav/index.d.ts +24 -20
- package/types/nav/src/designer/nav.design.props.d.ts +29 -0
- package/types/nav/src/designer/use-design-rules.d.ts +3 -0
- package/types/nav/src/property-config/nav.property-config.d.ts +9 -0
- package/types/nav/src/schema/schema-mapper.d.ts +4 -0
- package/types/page-footer/src/designer/use-designer-rules.d.ts +2 -2
- package/types/page-header/src/designer/use-designer-rules.d.ts +2 -2
- package/types/property-panel/src/composition/entity/input-base-property.d.ts +1 -0
- package/types/query-solution/src/designer/query-solution-config/composition/use-util.d.ts +1 -1
- package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +1 -1
- package/types/section/src/designer/section.design.props.d.ts +4 -0
- package/types/section/src/property-config/section.property-config.d.ts +39 -0
- package/types/section/src/schema/toolbar-resolver.d.ts +0 -1
- package/types/step/src/designer/use-designer-rules.d.ts +3 -0
- package/types/step/src/designer/use-step-creator.d.ts +6 -0
- package/types/step/src/property-config/step.property-config.d.ts +15 -0
- package/types/step/src/schema/schema-resolver.d.ts +2 -1
- package/types/tabs/src/composition/types.d.ts +4 -0
- package/types/tabs/src/tabs.props.d.ts +6 -0
- package/types/tooltip/index.d.ts +3 -3
- package/types/tooltip/src/tooltip.component.d.ts +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Kt = Object.defineProperty;
|
|
2
2
|
var en = (e, t, n) => t in e ? Kt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
-
var
|
|
4
|
-
import { ref as
|
|
3
|
+
var Pe = (e, t, n) => en(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
+
import { ref as k, computed as z, defineComponent as de, watch as qe, onUnmounted as tn, createVNode as d, withDirectives as nn, createTextVNode as q, resolveDirective as sn, resolveComponent as rn, onMounted as $e, mergeProps as on, inject as Ae } from "vue";
|
|
5
5
|
import { isPlainObject as Ye, cloneDeep as Ce, debounce as an } from "lodash-es";
|
|
6
6
|
import { getSchemaByType as ln, createPropsResolver as cn } from "../dynamic-resolver/index.esm.js";
|
|
7
7
|
import { DgControl as un, useDesignerComponent as dn } from "../designer-canvas/index.esm.js";
|
|
@@ -12,7 +12,7 @@ import bn from "../popover/index.esm.js";
|
|
|
12
12
|
import vn from "../input-group/index.esm.js";
|
|
13
13
|
import Cn from "../pagination/index.esm.js";
|
|
14
14
|
import { BaseControlProperty as Sn } from "../property-panel/index.esm.js";
|
|
15
|
-
const xn = "https://json-schema.org/draft/2020-12/schema", Tn = "https://farris-design.gitee.io/comment.schema.json", wn = "comment", En = "A Farris Component",
|
|
15
|
+
const xn = "https://json-schema.org/draft/2020-12/schema", Tn = "https://farris-design.gitee.io/comment.schema.json", wn = "comment", En = "A Farris Component", On = "object", Dn = {
|
|
16
16
|
id: {
|
|
17
17
|
description: "The unique identifier for comment",
|
|
18
18
|
type: "string"
|
|
@@ -78,10 +78,10 @@ const xn = "https://json-schema.org/draft/2020-12/schema", Tn = "https://farris-
|
|
|
78
78
|
type: "boolean",
|
|
79
79
|
default: !0
|
|
80
80
|
}
|
|
81
|
-
},
|
|
81
|
+
}, kn = [
|
|
82
82
|
"id",
|
|
83
83
|
"type"
|
|
84
|
-
],
|
|
84
|
+
], Pn = {
|
|
85
85
|
onValueChange: "提交评论事件",
|
|
86
86
|
onQueryFrequentAtUsers: "加载常用@人员事件",
|
|
87
87
|
onQueryComments: "获取评论"
|
|
@@ -90,10 +90,10 @@ const xn = "https://json-schema.org/draft/2020-12/schema", Tn = "https://farris-
|
|
|
90
90
|
$id: Tn,
|
|
91
91
|
title: wn,
|
|
92
92
|
description: En,
|
|
93
|
-
type:
|
|
94
|
-
properties:
|
|
95
|
-
required:
|
|
96
|
-
events:
|
|
93
|
+
type: On,
|
|
94
|
+
properties: Dn,
|
|
95
|
+
required: kn,
|
|
96
|
+
events: Pn
|
|
97
97
|
};
|
|
98
98
|
function pt(e, t) {
|
|
99
99
|
let n;
|
|
@@ -285,10 +285,12 @@ const Mn = {
|
|
|
285
285
|
drawer: { type: "drawer", name: "抽屉" },
|
|
286
286
|
"external-container": { type: "external-container", name: "外部容器", icon: "content-container" },
|
|
287
287
|
"list-nav": { type: "list-nav", name: "列表导航" },
|
|
288
|
+
nav: { type: "nav", name: "标签类导航" },
|
|
288
289
|
"list-view": { type: "list-view", name: "列表" },
|
|
289
290
|
"filter-bar": { type: "filter-bar", name: "筛选条" },
|
|
290
291
|
"language-textbox": { type: "language-textbox", name: "多语输入框" },
|
|
291
292
|
image: { type: "image", name: "图像" },
|
|
293
|
+
avatar: { type: "avatar", name: "头像" },
|
|
292
294
|
"discussion-editor": { type: "discussion-editor", name: "评论编辑区" },
|
|
293
295
|
"discussion-list": { type: "discussion-list", name: "评论列表" },
|
|
294
296
|
comment: { type: "comment", name: "评论区" },
|
|
@@ -296,7 +298,8 @@ const Mn = {
|
|
|
296
298
|
calendar: { type: "calendar", name: "日历", icon: "date-picker" },
|
|
297
299
|
wizard: { type: "wizard", name: "向导", icon: "wizard" },
|
|
298
300
|
"wizard-page": { type: "wizard-page", name: "向导页", icon: "wizard" },
|
|
299
|
-
"wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" }
|
|
301
|
+
"wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" },
|
|
302
|
+
step: { type: "step", name: "步骤条", icon: "step" }
|
|
300
303
|
}, Un = {
|
|
301
304
|
convertFrom: (e, t, n) => {
|
|
302
305
|
var r;
|
|
@@ -540,6 +543,16 @@ const Mn = {
|
|
|
540
543
|
</span>`), t === "columnTemplateType" && n === "default" && (e.columnTemplate = ""), t === "columnTemplateType" && n === "custom" && (e.columnTemplate = ""));
|
|
541
544
|
},
|
|
542
545
|
convertFrom: (e, t, n) => t === "columnTemplate" ? e.columnTemplate : t === "columnTemplateType" ? e.columnTemplateType ? e.columnTemplateType || "default" : e.columnTemplate && !e.onClickLinkCommand ? "custom" : e.columnTemplate && e.onClickLinkCommand ? "hyperlink" : "default" : ""
|
|
546
|
+
}, ss = {
|
|
547
|
+
convertTo: (e, t, n, s) => {
|
|
548
|
+
e.hierarchy || (e.hierarchy = {
|
|
549
|
+
cascadeOption: {}
|
|
550
|
+
}), e.hierarchy.cascadeOption || (e.hierarchy.cascadeOption = {}), e.hierarchy.cascadeOption[t] = n;
|
|
551
|
+
},
|
|
552
|
+
convertFrom: (e, t, n) => {
|
|
553
|
+
var s, r;
|
|
554
|
+
return !!((r = (s = e.hierarchy) == null ? void 0 : s.cascadeOption) != null && r[t]);
|
|
555
|
+
}
|
|
543
556
|
};
|
|
544
557
|
function yt(e, t, n) {
|
|
545
558
|
const s = /* @__PURE__ */ new Map([
|
|
@@ -564,7 +577,8 @@ function yt(e, t, n) {
|
|
|
564
577
|
["/converter/grid-sort.converter", Kn],
|
|
565
578
|
["/converter/grid-filter.converter", es],
|
|
566
579
|
["/converter/row-option.converter", ts],
|
|
567
|
-
["/converter/change-formatter-type.converter", ns]
|
|
580
|
+
["/converter/change-formatter-type.converter", ns],
|
|
581
|
+
["/converter/tree-auto-check.converter", ss]
|
|
568
582
|
]), r = /* @__PURE__ */ new Map([
|
|
569
583
|
["string", { type: "input-group", enableClear: !1 }],
|
|
570
584
|
["boolean", {
|
|
@@ -603,42 +617,42 @@ function yt(e, t, n) {
|
|
|
603
617
|
const p = a.$converter || g;
|
|
604
618
|
return typeof p == "string" && p && s.has(p) ? s.get(p) || null : p || null;
|
|
605
619
|
}
|
|
606
|
-
function l(a, g, p, C, x, w = "",
|
|
607
|
-
return Object.keys(a).map((
|
|
608
|
-
const F =
|
|
620
|
+
function l(a, g, p, C, x, w = "", D = "") {
|
|
621
|
+
return Object.keys(a).map((O) => {
|
|
622
|
+
const F = k(1), U = O, P = a[O], v = Object.keys(P), R = P.title, N = P.type, B = r.get(N) || { type: "input-group", enableClear: !1 }, M = P.editor ? Object.assign({}, B, P.editor) : Object.assign({}, B), Y = c(v, P, g), I = y(v, P, g);
|
|
609
623
|
M.readonly = M.readonly === void 0 ? I() : M.readonly;
|
|
610
|
-
const X =
|
|
611
|
-
let H = f(
|
|
624
|
+
const X = P.type === "cascade" ? l(P.properties, g, p, C, x, w, D) : [], $ = !0;
|
|
625
|
+
let H = f(P, D);
|
|
612
626
|
const ce = z({
|
|
613
627
|
get() {
|
|
614
628
|
if (F.value) {
|
|
615
629
|
if (["class", "style"].find((Zt) => Zt === U) && !H && (H = s.get("/converter/appearance.converter") || null), H && H.convertFrom)
|
|
616
|
-
return H.convertFrom(p,
|
|
617
|
-
const K = p[
|
|
618
|
-
return Object.prototype.hasOwnProperty.call(
|
|
630
|
+
return H.convertFrom(p, O, x, w);
|
|
631
|
+
const K = p[O];
|
|
632
|
+
return Object.prototype.hasOwnProperty.call(P, "defaultValue") && (K === void 0 || typeof K == "string" && K === "") ? P.type === "boolean" ? P.defaultValue : P.defaultValue || "" : K;
|
|
619
633
|
}
|
|
620
634
|
return null;
|
|
621
635
|
},
|
|
622
636
|
set(K) {
|
|
623
|
-
F.value += 1, H && H.convertTo ? (H.convertTo(C,
|
|
637
|
+
F.value += 1, H && H.convertTo ? (H.convertTo(C, O, K, x, w), H.convertTo(p, O, K, x, w)) : (C[O] = K, p[O] = K);
|
|
624
638
|
}
|
|
625
|
-
}), { refreshPanelAfterChanged: T, description: j, isExpand: _, parentPropertyID: G } =
|
|
639
|
+
}), { refreshPanelAfterChanged: T, description: j, isExpand: _, parentPropertyID: G } = P, se = { propertyID: U, propertyName: R, propertyType: N, propertyValue: ce, editor: M, visible: Y, readonly: I, cascadeConfig: X, hideCascadeTitle: $, refreshPanelAfterChanged: T, description: j, isExpand: _, parentPropertyID: G };
|
|
626
640
|
return g[U] = se, se;
|
|
627
641
|
});
|
|
628
642
|
}
|
|
629
643
|
function u(a, g, p = {}) {
|
|
630
644
|
const C = {}, x = e[a];
|
|
631
|
-
return x && x.categories ? Object.keys(x.categories).map((
|
|
632
|
-
const S = x.categories[
|
|
633
|
-
return { categoryId:
|
|
645
|
+
return x && x.categories ? Object.keys(x.categories).map((D) => {
|
|
646
|
+
const S = x.categories[D], O = S == null ? void 0 : S.title, F = l(S.properties || {}, C, {}, p, g);
|
|
647
|
+
return { categoryId: D, categoryName: O, properties: F };
|
|
634
648
|
}) : [];
|
|
635
649
|
}
|
|
636
650
|
function h(a, g, p, C, x = "") {
|
|
637
|
-
const w = g.$ref.schema,
|
|
638
|
-
if (
|
|
639
|
-
const v =
|
|
640
|
-
|
|
641
|
-
v.properties[M].$converter =
|
|
651
|
+
const w = g.$ref.schema, D = g.$ref.converter, S = p[w], O = S.type, F = n(S), U = {}, P = e[O];
|
|
652
|
+
if (P && P.categories) {
|
|
653
|
+
const v = P.categories[a], R = v == null ? void 0 : v.title;
|
|
654
|
+
D && Object.keys(v.properties).forEach((M) => {
|
|
655
|
+
v.properties[M].$converter = D;
|
|
642
656
|
});
|
|
643
657
|
const N = (v == null ? void 0 : v.properties) || {}, B = l(N, U, F, S, C, x);
|
|
644
658
|
return { categoryId: a, categoryName: R, properties: B };
|
|
@@ -646,18 +660,18 @@ function yt(e, t, n) {
|
|
|
646
660
|
return { categoryId: a, categoryName: "", properties: [] };
|
|
647
661
|
}
|
|
648
662
|
function b(a, g, p, C, x) {
|
|
649
|
-
const w = a.type,
|
|
650
|
-
let
|
|
651
|
-
if (!(
|
|
663
|
+
const w = a.type, D = n(a), S = {};
|
|
664
|
+
let O = x || e[w];
|
|
665
|
+
if (!(O && Object.keys(O).length > 0) && p && p.getPropConfig && (O = p.getPropConfig(C)), O && O.categories) {
|
|
652
666
|
const U = [];
|
|
653
|
-
return Object.keys(
|
|
654
|
-
const v =
|
|
667
|
+
return Object.keys(O.categories).map((P) => {
|
|
668
|
+
const v = O.categories[P];
|
|
655
669
|
if (v.$ref) {
|
|
656
|
-
U.push(h(
|
|
670
|
+
U.push(h(P, v, a, g, C));
|
|
657
671
|
return;
|
|
658
672
|
}
|
|
659
|
-
const R = v == null ? void 0 : v.title, N = v == null ? void 0 : v.tabId, B = v == null ? void 0 : v.tabName, M = v == null ? void 0 : v.hide, Y = v == null ? void 0 : v.hideTitle, I = l(v.properties || {}, S,
|
|
660
|
-
U.push({ categoryId:
|
|
673
|
+
const R = v == null ? void 0 : v.title, N = v == null ? void 0 : v.tabId, B = v == null ? void 0 : v.tabName, M = v == null ? void 0 : v.hide, Y = v == null ? void 0 : v.hideTitle, I = l(v.properties || {}, S, D, a, g, C, v.$converter), { setPropertyRelates: X } = v, $ = v == null ? void 0 : v.parentPropertyID;
|
|
674
|
+
U.push({ categoryId: P, categoryName: R, tabId: N, tabName: B, hide: M, properties: I, hideTitle: Y, setPropertyRelates: X, parentPropertyID: $ });
|
|
661
675
|
}), U;
|
|
662
676
|
}
|
|
663
677
|
return [];
|
|
@@ -670,9 +684,9 @@ function yt(e, t, n) {
|
|
|
670
684
|
}
|
|
671
685
|
const bt = {}, vt = {};
|
|
672
686
|
yt(bt, vt, Fn);
|
|
673
|
-
const Ct = {}, St = {}, { resolveSchemaWithDefaultValue:
|
|
674
|
-
yt(xt, Tt,
|
|
675
|
-
function
|
|
687
|
+
const Ct = {}, St = {}, { resolveSchemaWithDefaultValue: rs } = pt(Ct, St), xt = {}, Tt = {};
|
|
688
|
+
yt(xt, Tt, rs);
|
|
689
|
+
function os(e, t, n = /* @__PURE__ */ new Map(), s = (o, c, y, f) => c, r = {}, i = (o) => o) {
|
|
676
690
|
return gt[t.title] = t, ht[t.title] = s, bt[t.title] = r, vt[t.title] = i, Ct[t.title] = t, St[t.title] = s, xt[t.title] = r, Tt[t.title] = i, (o = {}, c = !0) => {
|
|
677
691
|
if (!c)
|
|
678
692
|
return Rn(o, n);
|
|
@@ -680,13 +694,13 @@ function rs(e, t, n = /* @__PURE__ */ new Map(), s = (o, c, y, f) => c, r = {},
|
|
|
680
694
|
return Object.assign(f, y);
|
|
681
695
|
};
|
|
682
696
|
}
|
|
683
|
-
function
|
|
697
|
+
function is(e, t) {
|
|
684
698
|
return { customClass: t.class, customStyle: t.style };
|
|
685
699
|
}
|
|
686
700
|
const wt = /* @__PURE__ */ new Map([
|
|
687
|
-
["appearance",
|
|
701
|
+
["appearance", is]
|
|
688
702
|
]);
|
|
689
|
-
function
|
|
703
|
+
function as(e, t) {
|
|
690
704
|
const n = t == null ? void 0 : t.formSchemaUtils, s = e.parentComponentInstance, r = "7690ac62-f2fd-43aa-96a2-973f0d450f82";
|
|
691
705
|
function i() {
|
|
692
706
|
const l = ln(un.comment.type);
|
|
@@ -798,7 +812,7 @@ function is(e, t) {
|
|
|
798
812
|
}
|
|
799
813
|
function Et(e, t, n, s) {
|
|
800
814
|
if (n.parentComponentInstance && s) {
|
|
801
|
-
const o =
|
|
815
|
+
const o = as(n, s).createComment();
|
|
802
816
|
if (o)
|
|
803
817
|
return o;
|
|
804
818
|
}
|
|
@@ -839,7 +853,7 @@ const je = {
|
|
|
839
853
|
permissionType: { type: String, default: "ALL" },
|
|
840
854
|
/** 组件id */
|
|
841
855
|
id: { Type: String, default: "" }
|
|
842
|
-
},
|
|
856
|
+
}, Ot = {
|
|
843
857
|
pagerOnServer: { Type: Boolean, default: !0 },
|
|
844
858
|
/** 是否支持分页 */
|
|
845
859
|
supportPaging: { Type: Boolean, default: !0 },
|
|
@@ -858,7 +872,7 @@ const je = {
|
|
|
858
872
|
customStyle: { type: String, default: "" },
|
|
859
873
|
/** 控制是否可见 */
|
|
860
874
|
visible: { type: Boolean, default: !0 }
|
|
861
|
-
}, Ve = Object.assign({}, je,
|
|
875
|
+
}, Ve = Object.assign({}, je, Ot, {
|
|
862
876
|
customClass: { type: String, default: "" },
|
|
863
877
|
/** 讨论区编辑器样式 */
|
|
864
878
|
editorClass: { type: String, default: "" },
|
|
@@ -869,36 +883,36 @@ const je = {
|
|
|
869
883
|
listStyle: { type: String, default: "" },
|
|
870
884
|
listVisible: { type: Boolean, default: !0 },
|
|
871
885
|
visible: { type: Boolean, default: !0 }
|
|
872
|
-
}),
|
|
886
|
+
}), ls = cn(Ve, ft, wt, Et);
|
|
873
887
|
var Me = /* @__PURE__ */ ((e) => (e[e.Cancel = 0] = "Cancel", e[e.Confirm = 1] = "Confirm", e))(Me || {});
|
|
874
|
-
const
|
|
888
|
+
const cs = "F_COMMENT_LIST_SERVICE_TOKEN", Ge = "zh-CHS", us = {
|
|
875
889
|
locale: Ge,
|
|
876
890
|
fallbackLocale: Ge,
|
|
877
891
|
uri: ""
|
|
878
892
|
};
|
|
879
|
-
function
|
|
893
|
+
function Dt(e, t) {
|
|
880
894
|
return function() {
|
|
881
895
|
return e.apply(t, arguments);
|
|
882
896
|
};
|
|
883
897
|
}
|
|
884
|
-
const { toString:
|
|
885
|
-
const n =
|
|
898
|
+
const { toString: ds } = Object.prototype, { getPrototypeOf: ze } = Object, { iterator: we, toStringTag: kt } = Symbol, Ee = /* @__PURE__ */ ((e) => (t) => {
|
|
899
|
+
const n = ds.call(t);
|
|
886
900
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
887
|
-
})(/* @__PURE__ */ Object.create(null)), Q = (e) => (e = e.toLowerCase(), (t) => Ee(t) === e),
|
|
901
|
+
})(/* @__PURE__ */ Object.create(null)), Q = (e) => (e = e.toLowerCase(), (t) => Ee(t) === e), Oe = (e) => (t) => typeof t === e, { isArray: ae } = Array, ie = Oe("undefined");
|
|
888
902
|
function me(e) {
|
|
889
903
|
return e !== null && !ie(e) && e.constructor !== null && !ie(e.constructor) && W(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
890
904
|
}
|
|
891
|
-
const
|
|
892
|
-
function
|
|
905
|
+
const Pt = Q("ArrayBuffer");
|
|
906
|
+
function ms(e) {
|
|
893
907
|
let t;
|
|
894
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
908
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Pt(e.buffer), t;
|
|
895
909
|
}
|
|
896
|
-
const
|
|
910
|
+
const fs = Oe("string"), W = Oe("function"), Ft = Oe("number"), fe = (e) => e !== null && typeof e == "object", ps = (e) => e === !0 || e === !1, ye = (e) => {
|
|
897
911
|
if (Ee(e) !== "object")
|
|
898
912
|
return !1;
|
|
899
913
|
const t = ze(e);
|
|
900
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(
|
|
901
|
-
},
|
|
914
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(kt in e) && !(we in e);
|
|
915
|
+
}, gs = (e) => {
|
|
902
916
|
if (!fe(e) || me(e))
|
|
903
917
|
return !1;
|
|
904
918
|
try {
|
|
@@ -906,11 +920,11 @@ const ms = De("string"), W = De("function"), Ft = De("number"), fe = (e) => e !=
|
|
|
906
920
|
} catch {
|
|
907
921
|
return !1;
|
|
908
922
|
}
|
|
909
|
-
},
|
|
923
|
+
}, hs = Q("Date"), ys = Q("File"), bs = Q("Blob"), vs = Q("FileList"), Cs = (e) => fe(e) && W(e.pipe), Ss = (e) => {
|
|
910
924
|
let t;
|
|
911
925
|
return e && (typeof FormData == "function" && e instanceof FormData || W(e.append) && ((t = Ee(e)) === "formdata" || // detect form-data instance
|
|
912
926
|
t === "object" && W(e.toString) && e.toString() === "[object FormData]"));
|
|
913
|
-
},
|
|
927
|
+
}, xs = Q("URLSearchParams"), [Ts, ws, Es, Os] = ["ReadableStream", "Request", "Response", "Headers"].map(Q), Ds = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
914
928
|
function pe(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
915
929
|
if (e === null || typeof e > "u")
|
|
916
930
|
return;
|
|
@@ -948,13 +962,13 @@ function Ne() {
|
|
|
948
962
|
arguments[r] && pe(arguments[r], s);
|
|
949
963
|
return n;
|
|
950
964
|
}
|
|
951
|
-
const
|
|
952
|
-
n && W(r) ? e[i] =
|
|
953
|
-
}, { allOwnKeys: s }), e), Ps = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e),
|
|
965
|
+
const ks = (e, t, n, { allOwnKeys: s } = {}) => (pe(t, (r, i) => {
|
|
966
|
+
n && W(r) ? e[i] = Dt(r, n) : e[i] = r;
|
|
967
|
+
}, { allOwnKeys: s }), e), Ps = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Fs = (e, t, n, s) => {
|
|
954
968
|
e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
955
969
|
value: t.prototype
|
|
956
970
|
}), n && Object.assign(e.prototype, n);
|
|
957
|
-
},
|
|
971
|
+
}, Ls = (e, t, n, s) => {
|
|
958
972
|
let r, i, o;
|
|
959
973
|
const c = {};
|
|
960
974
|
if (t = t || {}, e == null) return t;
|
|
@@ -964,11 +978,11 @@ const Os = (e, t, n, { allOwnKeys: s } = {}) => (pe(t, (r, i) => {
|
|
|
964
978
|
e = n !== !1 && ze(e);
|
|
965
979
|
} while (e && (!n || n(e, t)) && e !== Object.prototype);
|
|
966
980
|
return t;
|
|
967
|
-
},
|
|
981
|
+
}, Rs = (e, t, n) => {
|
|
968
982
|
e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
|
|
969
983
|
const s = e.indexOf(t, n);
|
|
970
984
|
return s !== -1 && s === n;
|
|
971
|
-
},
|
|
985
|
+
}, As = (e) => {
|
|
972
986
|
if (!e) return null;
|
|
973
987
|
if (ae(e)) return e;
|
|
974
988
|
let t = e.length;
|
|
@@ -977,31 +991,31 @@ const Os = (e, t, n, { allOwnKeys: s } = {}) => (pe(t, (r, i) => {
|
|
|
977
991
|
for (; t-- > 0; )
|
|
978
992
|
n[t] = e[t];
|
|
979
993
|
return n;
|
|
980
|
-
},
|
|
994
|
+
}, Ms = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && ze(Uint8Array)), Ns = (e, t) => {
|
|
981
995
|
const s = (e && e[we]).call(e);
|
|
982
996
|
let r;
|
|
983
997
|
for (; (r = s.next()) && !r.done; ) {
|
|
984
998
|
const i = r.value;
|
|
985
999
|
t.call(e, i[0], i[1]);
|
|
986
1000
|
}
|
|
987
|
-
},
|
|
1001
|
+
}, Bs = (e, t) => {
|
|
988
1002
|
let n;
|
|
989
1003
|
const s = [];
|
|
990
1004
|
for (; (n = e.exec(t)) !== null; )
|
|
991
1005
|
s.push(n);
|
|
992
1006
|
return s;
|
|
993
|
-
},
|
|
1007
|
+
}, Is = Q("HTMLFormElement"), Us = (e) => e.toLowerCase().replace(
|
|
994
1008
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
995
1009
|
function(n, s, r) {
|
|
996
1010
|
return s.toUpperCase() + r;
|
|
997
1011
|
}
|
|
998
|
-
), Qe = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype),
|
|
1012
|
+
), Qe = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), qs = Q("RegExp"), At = (e, t) => {
|
|
999
1013
|
const n = Object.getOwnPropertyDescriptors(e), s = {};
|
|
1000
1014
|
pe(n, (r, i) => {
|
|
1001
1015
|
let o;
|
|
1002
1016
|
(o = t(r, i, e)) !== !1 && (s[i] = o || r);
|
|
1003
1017
|
}), Object.defineProperties(e, s);
|
|
1004
|
-
},
|
|
1018
|
+
}, $s = (e) => {
|
|
1005
1019
|
At(e, (t, n) => {
|
|
1006
1020
|
if (W(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
1007
1021
|
return !1;
|
|
@@ -1016,19 +1030,19 @@ const Os = (e, t, n, { allOwnKeys: s } = {}) => (pe(t, (r, i) => {
|
|
|
1016
1030
|
});
|
|
1017
1031
|
}
|
|
1018
1032
|
});
|
|
1019
|
-
},
|
|
1033
|
+
}, js = (e, t) => {
|
|
1020
1034
|
const n = {}, s = (r) => {
|
|
1021
1035
|
r.forEach((i) => {
|
|
1022
1036
|
n[i] = !0;
|
|
1023
1037
|
});
|
|
1024
1038
|
};
|
|
1025
1039
|
return ae(e) ? s(e) : s(String(e).split(t)), n;
|
|
1026
|
-
},
|
|
1027
|
-
},
|
|
1028
|
-
function
|
|
1029
|
-
return !!(e && W(e.append) && e[
|
|
1040
|
+
}, Vs = () => {
|
|
1041
|
+
}, zs = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
1042
|
+
function Hs(e) {
|
|
1043
|
+
return !!(e && W(e.append) && e[kt] === "FormData" && e[we]);
|
|
1030
1044
|
}
|
|
1031
|
-
const
|
|
1045
|
+
const _s = (e) => {
|
|
1032
1046
|
const t = new Array(10), n = (s, r) => {
|
|
1033
1047
|
if (fe(s)) {
|
|
1034
1048
|
if (t.indexOf(s) >= 0)
|
|
@@ -1047,72 +1061,72 @@ const Hs = (e) => {
|
|
|
1047
1061
|
return s;
|
|
1048
1062
|
};
|
|
1049
1063
|
return n(e, 0);
|
|
1050
|
-
},
|
|
1064
|
+
}, Ws = Q("AsyncFunction"), Js = (e) => e && (fe(e) || W(e)) && W(e.then) && W(e.catch), Mt = ((e, t) => e ? setImmediate : t ? ((n, s) => (ee.addEventListener("message", ({ source: r, data: i }) => {
|
|
1051
1065
|
r === ee && i === n && s.length && s.shift()();
|
|
1052
1066
|
}, !1), (r) => {
|
|
1053
1067
|
s.push(r), ee.postMessage(n, "*");
|
|
1054
1068
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
1055
1069
|
typeof setImmediate == "function",
|
|
1056
1070
|
W(ee.postMessage)
|
|
1057
|
-
),
|
|
1071
|
+
), Ys = typeof queueMicrotask < "u" ? queueMicrotask.bind(ee) : typeof process < "u" && process.nextTick || Mt, Gs = (e) => e != null && W(e[we]), m = {
|
|
1058
1072
|
isArray: ae,
|
|
1059
|
-
isArrayBuffer:
|
|
1073
|
+
isArrayBuffer: Pt,
|
|
1060
1074
|
isBuffer: me,
|
|
1061
|
-
isFormData:
|
|
1062
|
-
isArrayBufferView:
|
|
1063
|
-
isString:
|
|
1075
|
+
isFormData: Ss,
|
|
1076
|
+
isArrayBufferView: ms,
|
|
1077
|
+
isString: fs,
|
|
1064
1078
|
isNumber: Ft,
|
|
1065
|
-
isBoolean:
|
|
1079
|
+
isBoolean: ps,
|
|
1066
1080
|
isObject: fe,
|
|
1067
1081
|
isPlainObject: ye,
|
|
1068
|
-
isEmptyObject:
|
|
1069
|
-
isReadableStream:
|
|
1070
|
-
isRequest:
|
|
1071
|
-
isResponse:
|
|
1072
|
-
isHeaders:
|
|
1082
|
+
isEmptyObject: gs,
|
|
1083
|
+
isReadableStream: Ts,
|
|
1084
|
+
isRequest: ws,
|
|
1085
|
+
isResponse: Es,
|
|
1086
|
+
isHeaders: Os,
|
|
1073
1087
|
isUndefined: ie,
|
|
1074
|
-
isDate:
|
|
1075
|
-
isFile:
|
|
1076
|
-
isBlob:
|
|
1077
|
-
isRegExp:
|
|
1088
|
+
isDate: hs,
|
|
1089
|
+
isFile: ys,
|
|
1090
|
+
isBlob: bs,
|
|
1091
|
+
isRegExp: qs,
|
|
1078
1092
|
isFunction: W,
|
|
1079
|
-
isStream:
|
|
1080
|
-
isURLSearchParams:
|
|
1081
|
-
isTypedArray:
|
|
1082
|
-
isFileList:
|
|
1093
|
+
isStream: Cs,
|
|
1094
|
+
isURLSearchParams: xs,
|
|
1095
|
+
isTypedArray: Ms,
|
|
1096
|
+
isFileList: vs,
|
|
1083
1097
|
forEach: pe,
|
|
1084
1098
|
merge: Ne,
|
|
1085
|
-
extend:
|
|
1099
|
+
extend: ks,
|
|
1086
1100
|
trim: Ds,
|
|
1087
1101
|
stripBOM: Ps,
|
|
1088
|
-
inherits:
|
|
1089
|
-
toFlatObject:
|
|
1102
|
+
inherits: Fs,
|
|
1103
|
+
toFlatObject: Ls,
|
|
1090
1104
|
kindOf: Ee,
|
|
1091
1105
|
kindOfTest: Q,
|
|
1092
|
-
endsWith:
|
|
1093
|
-
toArray:
|
|
1094
|
-
forEachEntry:
|
|
1095
|
-
matchAll:
|
|
1096
|
-
isHTMLForm:
|
|
1106
|
+
endsWith: Rs,
|
|
1107
|
+
toArray: As,
|
|
1108
|
+
forEachEntry: Ns,
|
|
1109
|
+
matchAll: Bs,
|
|
1110
|
+
isHTMLForm: Is,
|
|
1097
1111
|
hasOwnProperty: Qe,
|
|
1098
1112
|
hasOwnProp: Qe,
|
|
1099
1113
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
1100
1114
|
reduceDescriptors: At,
|
|
1101
|
-
freezeMethods:
|
|
1102
|
-
toObjectSet:
|
|
1103
|
-
toCamelCase:
|
|
1104
|
-
noop:
|
|
1105
|
-
toFiniteNumber:
|
|
1115
|
+
freezeMethods: $s,
|
|
1116
|
+
toObjectSet: js,
|
|
1117
|
+
toCamelCase: Us,
|
|
1118
|
+
noop: Vs,
|
|
1119
|
+
toFiniteNumber: zs,
|
|
1106
1120
|
findKey: Lt,
|
|
1107
1121
|
global: ee,
|
|
1108
1122
|
isContextDefined: Rt,
|
|
1109
|
-
isSpecCompliantForm:
|
|
1110
|
-
toJSONObject:
|
|
1111
|
-
isAsyncFn:
|
|
1112
|
-
isThenable:
|
|
1123
|
+
isSpecCompliantForm: Hs,
|
|
1124
|
+
toJSONObject: _s,
|
|
1125
|
+
isAsyncFn: Ws,
|
|
1126
|
+
isThenable: Js,
|
|
1113
1127
|
setImmediate: Mt,
|
|
1114
|
-
asap:
|
|
1115
|
-
isIterable:
|
|
1128
|
+
asap: Ys,
|
|
1129
|
+
isIterable: Gs
|
|
1116
1130
|
};
|
|
1117
1131
|
function E(e, t, n, s, r) {
|
|
1118
1132
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), s && (this.request = s), r && (this.response = r, this.status = r.status ? r.status : null);
|
|
@@ -1166,7 +1180,7 @@ E.from = (e, t, n, s, r, i) => {
|
|
|
1166
1180
|
const c = e && e.message ? e.message : "Error", y = t == null && e ? e.code : t;
|
|
1167
1181
|
return E.call(o, c, y, n, s, r), e && o.cause == null && Object.defineProperty(o, "cause", { value: e, configurable: !0 }), o.name = e && e.name || "Error", i && Object.assign(o, i), o;
|
|
1168
1182
|
};
|
|
1169
|
-
const
|
|
1183
|
+
const Qs = null;
|
|
1170
1184
|
function Be(e) {
|
|
1171
1185
|
return m.isPlainObject(e) || m.isArray(e);
|
|
1172
1186
|
}
|
|
@@ -1178,13 +1192,13 @@ function Xe(e, t, n) {
|
|
|
1178
1192
|
return r = It(r), !n && i ? "[" + r + "]" : r;
|
|
1179
1193
|
}).join(n ? "." : "") : t;
|
|
1180
1194
|
}
|
|
1181
|
-
function
|
|
1195
|
+
function Xs(e) {
|
|
1182
1196
|
return m.isArray(e) && !e.some(Be);
|
|
1183
1197
|
}
|
|
1184
|
-
const
|
|
1198
|
+
const Zs = m.toFlatObject(m, {}, null, function(t) {
|
|
1185
1199
|
return /^is[A-Z]/.test(t);
|
|
1186
1200
|
});
|
|
1187
|
-
function
|
|
1201
|
+
function De(e, t, n) {
|
|
1188
1202
|
if (!m.isObject(e))
|
|
1189
1203
|
throw new TypeError("target must be an object");
|
|
1190
1204
|
t = t || new FormData(), n = m.toFlatObject(n, {
|
|
@@ -1212,18 +1226,18 @@ function Oe(e, t, n) {
|
|
|
1212
1226
|
if (a && !p && typeof a == "object") {
|
|
1213
1227
|
if (m.endsWith(g, "{}"))
|
|
1214
1228
|
g = s ? g : g.slice(0, -2), a = JSON.stringify(a);
|
|
1215
|
-
else if (m.isArray(a) &&
|
|
1216
|
-
return g = It(g), C.forEach(function(w,
|
|
1229
|
+
else if (m.isArray(a) && Xs(a) || (m.isFileList(a) || m.endsWith(g, "[]")) && (C = m.toArray(a)))
|
|
1230
|
+
return g = It(g), C.forEach(function(w, D) {
|
|
1217
1231
|
!(m.isUndefined(w) || w === null) && t.append(
|
|
1218
1232
|
// eslint-disable-next-line no-nested-ternary
|
|
1219
|
-
o === !0 ? Xe([g],
|
|
1233
|
+
o === !0 ? Xe([g], D, i) : o === null ? g : g + "[]",
|
|
1220
1234
|
f(w)
|
|
1221
1235
|
);
|
|
1222
1236
|
}), !1;
|
|
1223
1237
|
}
|
|
1224
1238
|
return Be(a) ? !0 : (t.append(Xe(p, g, i), f(a)), !1);
|
|
1225
1239
|
}
|
|
1226
|
-
const u = [], h = Object.assign(
|
|
1240
|
+
const u = [], h = Object.assign(Zs, {
|
|
1227
1241
|
defaultVisitor: l,
|
|
1228
1242
|
convertValue: f,
|
|
1229
1243
|
isVisitable: Be
|
|
@@ -1262,7 +1276,7 @@ function Ze(e) {
|
|
|
1262
1276
|
});
|
|
1263
1277
|
}
|
|
1264
1278
|
function He(e, t) {
|
|
1265
|
-
this._pairs = [], e &&
|
|
1279
|
+
this._pairs = [], e && De(e, this, t);
|
|
1266
1280
|
}
|
|
1267
1281
|
const Ut = He.prototype;
|
|
1268
1282
|
Ut.append = function(t, n) {
|
|
@@ -1276,13 +1290,13 @@ Ut.toString = function(t) {
|
|
|
1276
1290
|
return n(r[0]) + "=" + n(r[1]);
|
|
1277
1291
|
}, "").join("&");
|
|
1278
1292
|
};
|
|
1279
|
-
function
|
|
1293
|
+
function Ks(e) {
|
|
1280
1294
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
1281
1295
|
}
|
|
1282
1296
|
function qt(e, t, n) {
|
|
1283
1297
|
if (!t)
|
|
1284
1298
|
return e;
|
|
1285
|
-
const s = n && n.encode ||
|
|
1299
|
+
const s = n && n.encode || Ks;
|
|
1286
1300
|
m.isFunction(n) && (n = {
|
|
1287
1301
|
serialize: n
|
|
1288
1302
|
});
|
|
@@ -1352,38 +1366,38 @@ const $t = {
|
|
|
1352
1366
|
silentJSONParsing: !0,
|
|
1353
1367
|
forcedJSONParsing: !0,
|
|
1354
1368
|
clarifyTimeoutError: !1
|
|
1355
|
-
},
|
|
1369
|
+
}, er = typeof URLSearchParams < "u" ? URLSearchParams : He, tr = typeof FormData < "u" ? FormData : null, nr = typeof Blob < "u" ? Blob : null, sr = {
|
|
1356
1370
|
isBrowser: !0,
|
|
1357
1371
|
classes: {
|
|
1358
|
-
URLSearchParams:
|
|
1359
|
-
FormData:
|
|
1360
|
-
Blob:
|
|
1372
|
+
URLSearchParams: er,
|
|
1373
|
+
FormData: tr,
|
|
1374
|
+
Blob: nr
|
|
1361
1375
|
},
|
|
1362
1376
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
1363
|
-
}, _e = typeof window < "u" && typeof document < "u", Ie = typeof navigator == "object" && navigator || void 0,
|
|
1364
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
1377
|
+
}, _e = typeof window < "u" && typeof document < "u", Ie = typeof navigator == "object" && navigator || void 0, rr = _e && (!Ie || ["ReactNative", "NativeScript", "NS"].indexOf(Ie.product) < 0), or = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
1378
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ir = _e && window.location.href || "http://localhost", ar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1365
1379
|
__proto__: null,
|
|
1366
1380
|
hasBrowserEnv: _e,
|
|
1367
|
-
hasStandardBrowserEnv:
|
|
1368
|
-
hasStandardBrowserWebWorkerEnv:
|
|
1381
|
+
hasStandardBrowserEnv: rr,
|
|
1382
|
+
hasStandardBrowserWebWorkerEnv: or,
|
|
1369
1383
|
navigator: Ie,
|
|
1370
|
-
origin:
|
|
1384
|
+
origin: ir
|
|
1371
1385
|
}, Symbol.toStringTag, { value: "Module" })), V = {
|
|
1372
|
-
...
|
|
1373
|
-
...
|
|
1386
|
+
...ar,
|
|
1387
|
+
...sr
|
|
1374
1388
|
};
|
|
1375
|
-
function
|
|
1376
|
-
return
|
|
1389
|
+
function lr(e, t) {
|
|
1390
|
+
return De(e, new V.classes.URLSearchParams(), {
|
|
1377
1391
|
visitor: function(n, s, r, i) {
|
|
1378
1392
|
return V.isNode && m.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
|
|
1379
1393
|
},
|
|
1380
1394
|
...t
|
|
1381
1395
|
});
|
|
1382
1396
|
}
|
|
1383
|
-
function
|
|
1397
|
+
function cr(e) {
|
|
1384
1398
|
return m.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
1385
1399
|
}
|
|
1386
|
-
function
|
|
1400
|
+
function ur(e) {
|
|
1387
1401
|
const t = {}, n = Object.keys(e);
|
|
1388
1402
|
let s;
|
|
1389
1403
|
const r = n.length;
|
|
@@ -1397,17 +1411,17 @@ function jt(e) {
|
|
|
1397
1411
|
let o = n[i++];
|
|
1398
1412
|
if (o === "__proto__") return !0;
|
|
1399
1413
|
const c = Number.isFinite(+o), y = i >= n.length;
|
|
1400
|
-
return o = !o && m.isArray(r) ? r.length : o, y ? (m.hasOwnProp(r, o) ? r[o] = [r[o], s] : r[o] = s, !c) : ((!r[o] || !m.isObject(r[o])) && (r[o] = []), t(n, s, r[o], i) && m.isArray(r[o]) && (r[o] =
|
|
1414
|
+
return o = !o && m.isArray(r) ? r.length : o, y ? (m.hasOwnProp(r, o) ? r[o] = [r[o], s] : r[o] = s, !c) : ((!r[o] || !m.isObject(r[o])) && (r[o] = []), t(n, s, r[o], i) && m.isArray(r[o]) && (r[o] = ur(r[o])), !c);
|
|
1401
1415
|
}
|
|
1402
1416
|
if (m.isFormData(e) && m.isFunction(e.entries)) {
|
|
1403
1417
|
const n = {};
|
|
1404
1418
|
return m.forEachEntry(e, (s, r) => {
|
|
1405
|
-
t(
|
|
1419
|
+
t(cr(s), r, n, 0);
|
|
1406
1420
|
}), n;
|
|
1407
1421
|
}
|
|
1408
1422
|
return null;
|
|
1409
1423
|
}
|
|
1410
|
-
function
|
|
1424
|
+
function dr(e, t, n) {
|
|
1411
1425
|
if (m.isString(e))
|
|
1412
1426
|
try {
|
|
1413
1427
|
return (t || JSON.parse)(e), m.trim(e);
|
|
@@ -1433,17 +1447,17 @@ const ge = {
|
|
|
1433
1447
|
let c;
|
|
1434
1448
|
if (i) {
|
|
1435
1449
|
if (s.indexOf("application/x-www-form-urlencoded") > -1)
|
|
1436
|
-
return
|
|
1450
|
+
return lr(t, this.formSerializer).toString();
|
|
1437
1451
|
if ((c = m.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
|
|
1438
1452
|
const y = this.env && this.env.FormData;
|
|
1439
|
-
return
|
|
1453
|
+
return De(
|
|
1440
1454
|
c ? { "files[]": t } : t,
|
|
1441
1455
|
y && new y(),
|
|
1442
1456
|
this.formSerializer
|
|
1443
1457
|
);
|
|
1444
1458
|
}
|
|
1445
1459
|
}
|
|
1446
|
-
return i || r ? (n.setContentType("application/json", !1),
|
|
1460
|
+
return i || r ? (n.setContentType("application/json", !1), dr(t)) : t;
|
|
1447
1461
|
}],
|
|
1448
1462
|
transformResponse: [function(t) {
|
|
1449
1463
|
const n = this.transitional || ge.transitional, s = n && n.forcedJSONParsing, r = this.responseType === "json";
|
|
@@ -1486,7 +1500,7 @@ const ge = {
|
|
|
1486
1500
|
m.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
1487
1501
|
ge.headers[e] = {};
|
|
1488
1502
|
});
|
|
1489
|
-
const
|
|
1503
|
+
const mr = m.toObjectSet([
|
|
1490
1504
|
"age",
|
|
1491
1505
|
"authorization",
|
|
1492
1506
|
"content-length",
|
|
@@ -1504,12 +1518,12 @@ const dr = m.toObjectSet([
|
|
|
1504
1518
|
"referer",
|
|
1505
1519
|
"retry-after",
|
|
1506
1520
|
"user-agent"
|
|
1507
|
-
]),
|
|
1521
|
+
]), fr = (e) => {
|
|
1508
1522
|
const t = {};
|
|
1509
1523
|
let n, s, r;
|
|
1510
1524
|
return e && e.split(`
|
|
1511
1525
|
`).forEach(function(o) {
|
|
1512
|
-
r = o.indexOf(":"), n = o.substring(0, r).trim().toLowerCase(), s = o.substring(r + 1).trim(), !(!n || t[n] &&
|
|
1526
|
+
r = o.indexOf(":"), n = o.substring(0, r).trim().toLowerCase(), s = o.substring(r + 1).trim(), !(!n || t[n] && mr[n]) && (n === "set-cookie" ? t[n] ? t[n].push(s) : t[n] = [s] : t[n] = t[n] ? t[n] + ", " + s : s);
|
|
1513
1527
|
}), t;
|
|
1514
1528
|
}, et = Symbol("internals");
|
|
1515
1529
|
function ue(e) {
|
|
@@ -1518,14 +1532,14 @@ function ue(e) {
|
|
|
1518
1532
|
function be(e) {
|
|
1519
1533
|
return e === !1 || e == null ? e : m.isArray(e) ? e.map(be) : String(e);
|
|
1520
1534
|
}
|
|
1521
|
-
function
|
|
1535
|
+
function pr(e) {
|
|
1522
1536
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
1523
1537
|
let s;
|
|
1524
1538
|
for (; s = n.exec(e); )
|
|
1525
1539
|
t[s[1]] = s[2];
|
|
1526
1540
|
return t;
|
|
1527
1541
|
}
|
|
1528
|
-
const
|
|
1542
|
+
const gr = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
1529
1543
|
function Fe(e, t, n, s, r) {
|
|
1530
1544
|
if (m.isFunction(s))
|
|
1531
1545
|
return s.call(this, t, n);
|
|
@@ -1536,10 +1550,10 @@ function Fe(e, t, n, s, r) {
|
|
|
1536
1550
|
return s.test(t);
|
|
1537
1551
|
}
|
|
1538
1552
|
}
|
|
1539
|
-
function
|
|
1553
|
+
function hr(e) {
|
|
1540
1554
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, s) => n.toUpperCase() + s);
|
|
1541
1555
|
}
|
|
1542
|
-
function
|
|
1556
|
+
function yr(e, t) {
|
|
1543
1557
|
const n = m.toCamelCase(" " + t);
|
|
1544
1558
|
["get", "set", "has"].forEach((s) => {
|
|
1545
1559
|
Object.defineProperty(e, s + n, {
|
|
@@ -1566,8 +1580,8 @@ let J = class {
|
|
|
1566
1580
|
const o = (c, y) => m.forEach(c, (f, l) => i(f, l, y));
|
|
1567
1581
|
if (m.isPlainObject(t) || t instanceof this.constructor)
|
|
1568
1582
|
o(t, n);
|
|
1569
|
-
else if (m.isString(t) && (t = t.trim()) && !
|
|
1570
|
-
o(
|
|
1583
|
+
else if (m.isString(t) && (t = t.trim()) && !gr(t))
|
|
1584
|
+
o(fr(t), n);
|
|
1571
1585
|
else if (m.isObject(t) && m.isIterable(t)) {
|
|
1572
1586
|
let c = {}, y, f;
|
|
1573
1587
|
for (const l of t) {
|
|
@@ -1588,7 +1602,7 @@ let J = class {
|
|
|
1588
1602
|
if (!n)
|
|
1589
1603
|
return r;
|
|
1590
1604
|
if (n === !0)
|
|
1591
|
-
return
|
|
1605
|
+
return pr(r);
|
|
1592
1606
|
if (m.isFunction(n))
|
|
1593
1607
|
return n.call(this, r, s);
|
|
1594
1608
|
if (m.isRegExp(n))
|
|
@@ -1632,7 +1646,7 @@ let J = class {
|
|
|
1632
1646
|
n[o] = be(r), delete n[i];
|
|
1633
1647
|
return;
|
|
1634
1648
|
}
|
|
1635
|
-
const c = t ?
|
|
1649
|
+
const c = t ? hr(i) : String(i).trim();
|
|
1636
1650
|
c !== i && delete n[i], n[c] = be(r), s[c] = !0;
|
|
1637
1651
|
}), this;
|
|
1638
1652
|
}
|
|
@@ -1671,7 +1685,7 @@ let J = class {
|
|
|
1671
1685
|
}).accessors, r = this.prototype;
|
|
1672
1686
|
function i(o) {
|
|
1673
1687
|
const c = ue(o);
|
|
1674
|
-
s[c] || (
|
|
1688
|
+
s[c] || (yr(r, o), s[c] = !0);
|
|
1675
1689
|
}
|
|
1676
1690
|
return m.isArray(t) ? t.forEach(i) : i(t), this;
|
|
1677
1691
|
}
|
|
@@ -1713,11 +1727,11 @@ function zt(e, t, n) {
|
|
|
1713
1727
|
n
|
|
1714
1728
|
));
|
|
1715
1729
|
}
|
|
1716
|
-
function
|
|
1730
|
+
function br(e) {
|
|
1717
1731
|
const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
|
|
1718
1732
|
return t && t[1] || "";
|
|
1719
1733
|
}
|
|
1720
|
-
function
|
|
1734
|
+
function vr(e, t) {
|
|
1721
1735
|
e = e || 10;
|
|
1722
1736
|
const n = new Array(e), s = new Array(e);
|
|
1723
1737
|
let r = 0, i = 0, o;
|
|
@@ -1733,7 +1747,7 @@ function br(e, t) {
|
|
|
1733
1747
|
return b ? Math.round(h * 1e3 / b) : void 0;
|
|
1734
1748
|
};
|
|
1735
1749
|
}
|
|
1736
|
-
function
|
|
1750
|
+
function Cr(e, t) {
|
|
1737
1751
|
let n = 0, s = 1e3 / t, r, i;
|
|
1738
1752
|
const o = (f, l = Date.now()) => {
|
|
1739
1753
|
n = l, r = null, i && (clearTimeout(i), i = null), e(...f);
|
|
@@ -1747,8 +1761,8 @@ function vr(e, t) {
|
|
|
1747
1761
|
}
|
|
1748
1762
|
const Se = (e, t, n = 3) => {
|
|
1749
1763
|
let s = 0;
|
|
1750
|
-
const r =
|
|
1751
|
-
return
|
|
1764
|
+
const r = vr(50, 250);
|
|
1765
|
+
return Cr((i) => {
|
|
1752
1766
|
const o = i.loaded, c = i.lengthComputable ? i.total : void 0, y = o - s, f = r(y), l = o <= c;
|
|
1753
1767
|
s = o;
|
|
1754
1768
|
const u = {
|
|
@@ -1771,10 +1785,10 @@ const Se = (e, t, n = 3) => {
|
|
|
1771
1785
|
total: e,
|
|
1772
1786
|
loaded: s
|
|
1773
1787
|
}), t[1]];
|
|
1774
|
-
}, nt = (e) => (...t) => m.asap(() => e(...t)),
|
|
1788
|
+
}, nt = (e) => (...t) => m.asap(() => e(...t)), Sr = V.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, V.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
|
|
1775
1789
|
new URL(V.origin),
|
|
1776
1790
|
V.navigator && /(msie|trident)/i.test(V.navigator.userAgent)
|
|
1777
|
-
) : () => !0,
|
|
1791
|
+
) : () => !0, xr = V.hasStandardBrowserEnv ? (
|
|
1778
1792
|
// Standard browser envs support document.cookie
|
|
1779
1793
|
{
|
|
1780
1794
|
write(e, t, n, s, r, i, o) {
|
|
@@ -1803,15 +1817,15 @@ const Se = (e, t, n = 3) => {
|
|
|
1803
1817
|
}
|
|
1804
1818
|
}
|
|
1805
1819
|
);
|
|
1806
|
-
function
|
|
1820
|
+
function Tr(e) {
|
|
1807
1821
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
1808
1822
|
}
|
|
1809
|
-
function
|
|
1823
|
+
function wr(e, t) {
|
|
1810
1824
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
1811
1825
|
}
|
|
1812
1826
|
function Ht(e, t, n) {
|
|
1813
|
-
let s = !
|
|
1814
|
-
return e && (s || n == !1) ?
|
|
1827
|
+
let s = !Tr(t);
|
|
1828
|
+
return e && (s || n == !1) ? wr(e, t) : t;
|
|
1815
1829
|
}
|
|
1816
1830
|
const st = (e) => e instanceof J ? { ...e } : e;
|
|
1817
1831
|
function ne(e, t) {
|
|
@@ -1894,12 +1908,12 @@ const _t = (e) => {
|
|
|
1894
1908
|
});
|
|
1895
1909
|
}
|
|
1896
1910
|
}
|
|
1897
|
-
if (V.hasStandardBrowserEnv && (s && m.isFunction(s) && (s = s(t)), s || s !== !1 &&
|
|
1898
|
-
const y = r && i &&
|
|
1911
|
+
if (V.hasStandardBrowserEnv && (s && m.isFunction(s) && (s = s(t)), s || s !== !1 && Sr(t.url))) {
|
|
1912
|
+
const y = r && i && xr.read(i);
|
|
1899
1913
|
y && o.set(r, y);
|
|
1900
1914
|
}
|
|
1901
1915
|
return t;
|
|
1902
|
-
},
|
|
1916
|
+
}, Er = typeof XMLHttpRequest < "u", Or = Er && function(e) {
|
|
1903
1917
|
return new Promise(function(n, s) {
|
|
1904
1918
|
const r = _t(e);
|
|
1905
1919
|
let i = r.data;
|
|
@@ -1933,24 +1947,24 @@ const _t = (e) => {
|
|
|
1933
1947
|
!p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(C);
|
|
1934
1948
|
}, p.onabort = function() {
|
|
1935
1949
|
p && (s(new E("Request aborted", E.ECONNABORTED, e, p)), p = null);
|
|
1936
|
-
}, p.onerror = function(
|
|
1937
|
-
const S =
|
|
1938
|
-
|
|
1950
|
+
}, p.onerror = function(D) {
|
|
1951
|
+
const S = D && D.message ? D.message : "Network Error", O = new E(S, E.ERR_NETWORK, e, p);
|
|
1952
|
+
O.event = D || null, s(O), p = null;
|
|
1939
1953
|
}, p.ontimeout = function() {
|
|
1940
|
-
let
|
|
1954
|
+
let D = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
|
|
1941
1955
|
const S = r.transitional || $t;
|
|
1942
|
-
r.timeoutErrorMessage && (
|
|
1943
|
-
|
|
1956
|
+
r.timeoutErrorMessage && (D = r.timeoutErrorMessage), s(new E(
|
|
1957
|
+
D,
|
|
1944
1958
|
S.clarifyTimeoutError ? E.ETIMEDOUT : E.ECONNABORTED,
|
|
1945
1959
|
e,
|
|
1946
1960
|
p
|
|
1947
1961
|
)), p = null;
|
|
1948
|
-
}, i === void 0 && o.setContentType(null), "setRequestHeader" in p && m.forEach(o.toJSON(), function(
|
|
1949
|
-
p.setRequestHeader(S,
|
|
1962
|
+
}, i === void 0 && o.setContentType(null), "setRequestHeader" in p && m.forEach(o.toJSON(), function(D, S) {
|
|
1963
|
+
p.setRequestHeader(S, D);
|
|
1950
1964
|
}), m.isUndefined(r.withCredentials) || (p.withCredentials = !!r.withCredentials), c && c !== "json" && (p.responseType = r.responseType), f && ([h, a] = Se(f, !0), p.addEventListener("progress", h)), y && p.upload && ([u, b] = Se(y), p.upload.addEventListener("progress", u), p.upload.addEventListener("loadend", b)), (r.cancelToken || r.signal) && (l = (w) => {
|
|
1951
1965
|
p && (s(!w || w.type ? new le(null, e, p) : w), p.abort(), p = null);
|
|
1952
1966
|
}, r.cancelToken && r.cancelToken.subscribe(l), r.signal && (r.signal.aborted ? l() : r.signal.addEventListener("abort", l)));
|
|
1953
|
-
const x =
|
|
1967
|
+
const x = br(r.url);
|
|
1954
1968
|
if (x && V.protocols.indexOf(x) === -1) {
|
|
1955
1969
|
s(new E("Unsupported protocol " + x + ":", E.ERR_BAD_REQUEST, e));
|
|
1956
1970
|
return;
|
|
@@ -1980,7 +1994,7 @@ const _t = (e) => {
|
|
|
1980
1994
|
const { signal: y } = s;
|
|
1981
1995
|
return y.unsubscribe = () => m.asap(c), y;
|
|
1982
1996
|
}
|
|
1983
|
-
},
|
|
1997
|
+
}, kr = function* (e, t) {
|
|
1984
1998
|
let n = e.byteLength;
|
|
1985
1999
|
if (n < t) {
|
|
1986
2000
|
yield e;
|
|
@@ -1990,9 +2004,9 @@ const _t = (e) => {
|
|
|
1990
2004
|
for (; s < n; )
|
|
1991
2005
|
r = s + t, yield e.slice(s, r), s = r;
|
|
1992
2006
|
}, Pr = async function* (e, t) {
|
|
1993
|
-
for await (const n of
|
|
1994
|
-
yield*
|
|
1995
|
-
},
|
|
2007
|
+
for await (const n of Fr(e))
|
|
2008
|
+
yield* kr(n, t);
|
|
2009
|
+
}, Fr = async function* (e) {
|
|
1996
2010
|
if (e[Symbol.asyncIterator]) {
|
|
1997
2011
|
yield* e;
|
|
1998
2012
|
return;
|
|
@@ -2037,7 +2051,7 @@ const _t = (e) => {
|
|
|
2037
2051
|
}, {
|
|
2038
2052
|
highWaterMark: 2
|
|
2039
2053
|
});
|
|
2040
|
-
}, ot = 64 * 1024, { isFunction: he } = m,
|
|
2054
|
+
}, ot = 64 * 1024, { isFunction: he } = m, Lr = (({ Request: e, Response: t }) => ({
|
|
2041
2055
|
Request: e,
|
|
2042
2056
|
Response: t
|
|
2043
2057
|
}))(m.global), {
|
|
@@ -2049,10 +2063,10 @@ const _t = (e) => {
|
|
|
2049
2063
|
} catch {
|
|
2050
2064
|
return !1;
|
|
2051
2065
|
}
|
|
2052
|
-
},
|
|
2066
|
+
}, Rr = (e) => {
|
|
2053
2067
|
e = m.merge.call({
|
|
2054
2068
|
skipUndefined: !0
|
|
2055
|
-
},
|
|
2069
|
+
}, Lr, e);
|
|
2056
2070
|
const { fetch: t, Request: n, Response: s } = e, r = t ? he(t) : typeof fetch == "function", i = he(n), o = he(s);
|
|
2057
2071
|
if (!r)
|
|
2058
2072
|
return !1;
|
|
@@ -2102,22 +2116,22 @@ const _t = (e) => {
|
|
|
2102
2116
|
data: C,
|
|
2103
2117
|
signal: x,
|
|
2104
2118
|
cancelToken: w,
|
|
2105
|
-
timeout:
|
|
2119
|
+
timeout: D,
|
|
2106
2120
|
onDownloadProgress: S,
|
|
2107
|
-
onUploadProgress:
|
|
2121
|
+
onUploadProgress: O,
|
|
2108
2122
|
responseType: F,
|
|
2109
2123
|
headers: U,
|
|
2110
|
-
withCredentials:
|
|
2124
|
+
withCredentials: P = "same-origin",
|
|
2111
2125
|
fetchOptions: v
|
|
2112
2126
|
} = _t(a), R = t || fetch;
|
|
2113
2127
|
F = F ? (F + "").toLowerCase() : "text";
|
|
2114
|
-
let N = Dr([x, w && w.toAbortSignal()],
|
|
2128
|
+
let N = Dr([x, w && w.toAbortSignal()], D), B = null;
|
|
2115
2129
|
const M = N && N.unsubscribe && (() => {
|
|
2116
2130
|
N.unsubscribe();
|
|
2117
2131
|
});
|
|
2118
2132
|
let Y;
|
|
2119
2133
|
try {
|
|
2120
|
-
if (
|
|
2134
|
+
if (O && f && p !== "get" && p !== "head" && (Y = await b(U, C)) !== 0) {
|
|
2121
2135
|
let T = new n(g, {
|
|
2122
2136
|
method: "POST",
|
|
2123
2137
|
body: C,
|
|
@@ -2126,12 +2140,12 @@ const _t = (e) => {
|
|
|
2126
2140
|
if (m.isFormData(C) && (j = T.headers.get("content-type")) && U.setContentType(j), T.body) {
|
|
2127
2141
|
const [_, G] = tt(
|
|
2128
2142
|
Y,
|
|
2129
|
-
Se(nt(
|
|
2143
|
+
Se(nt(O))
|
|
2130
2144
|
);
|
|
2131
2145
|
C = rt(T.body, ot, _, G);
|
|
2132
2146
|
}
|
|
2133
2147
|
}
|
|
2134
|
-
m.isString(
|
|
2148
|
+
m.isString(P) || (P = P ? "include" : "omit");
|
|
2135
2149
|
const I = i && "credentials" in n.prototype, X = {
|
|
2136
2150
|
...v,
|
|
2137
2151
|
signal: N,
|
|
@@ -2139,7 +2153,7 @@ const _t = (e) => {
|
|
|
2139
2153
|
headers: U.normalize().toJSON(),
|
|
2140
2154
|
body: C,
|
|
2141
2155
|
duplex: "half",
|
|
2142
|
-
credentials: I ?
|
|
2156
|
+
credentials: I ? P : void 0
|
|
2143
2157
|
};
|
|
2144
2158
|
B = i && new n(g, X);
|
|
2145
2159
|
let $ = await (i ? R(B, v) : R(g, X));
|
|
@@ -2181,22 +2195,22 @@ const _t = (e) => {
|
|
|
2181
2195
|
) : E.from(I, I && I.code, a, B);
|
|
2182
2196
|
}
|
|
2183
2197
|
};
|
|
2184
|
-
},
|
|
2198
|
+
}, Ar = /* @__PURE__ */ new Map(), Wt = (e) => {
|
|
2185
2199
|
let t = e && e.env || {};
|
|
2186
2200
|
const { fetch: n, Request: s, Response: r } = t, i = [
|
|
2187
2201
|
s,
|
|
2188
2202
|
r,
|
|
2189
2203
|
n
|
|
2190
2204
|
];
|
|
2191
|
-
let o = i.length, c = o, y, f, l =
|
|
2205
|
+
let o = i.length, c = o, y, f, l = Ar;
|
|
2192
2206
|
for (; c--; )
|
|
2193
|
-
y = i[c], f = l.get(y), f === void 0 && l.set(y, f = c ? /* @__PURE__ */ new Map() :
|
|
2207
|
+
y = i[c], f = l.get(y), f === void 0 && l.set(y, f = c ? /* @__PURE__ */ new Map() : Rr(t)), l = f;
|
|
2194
2208
|
return f;
|
|
2195
2209
|
};
|
|
2196
2210
|
Wt();
|
|
2197
2211
|
const We = {
|
|
2198
|
-
http:
|
|
2199
|
-
xhr:
|
|
2212
|
+
http: Qs,
|
|
2213
|
+
xhr: Or,
|
|
2200
2214
|
fetch: {
|
|
2201
2215
|
get: Wt
|
|
2202
2216
|
}
|
|
@@ -2210,8 +2224,8 @@ m.forEach(We, (e, t) => {
|
|
|
2210
2224
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
2211
2225
|
}
|
|
2212
2226
|
});
|
|
2213
|
-
const ct = (e) => `- ${e}`,
|
|
2214
|
-
function
|
|
2227
|
+
const ct = (e) => `- ${e}`, Mr = (e) => m.isFunction(e) || e === null || e === !1;
|
|
2228
|
+
function Nr(e, t) {
|
|
2215
2229
|
e = m.isArray(e) ? e : [e];
|
|
2216
2230
|
const { length: n } = e;
|
|
2217
2231
|
let s, r;
|
|
@@ -2219,7 +2233,7 @@ function Mr(e, t) {
|
|
|
2219
2233
|
for (let o = 0; o < n; o++) {
|
|
2220
2234
|
s = e[o];
|
|
2221
2235
|
let c;
|
|
2222
|
-
if (r = s, !
|
|
2236
|
+
if (r = s, !Mr(s) && (r = We[(c = String(s)).toLowerCase()], r === void 0))
|
|
2223
2237
|
throw new E(`Unknown adapter '${c}'`);
|
|
2224
2238
|
if (r && (m.isFunction(r) || (r = r.get(t))))
|
|
2225
2239
|
break;
|
|
@@ -2244,7 +2258,7 @@ const Jt = {
|
|
|
2244
2258
|
* Resolve an adapter from a list of adapter names or functions.
|
|
2245
2259
|
* @type {Function}
|
|
2246
2260
|
*/
|
|
2247
|
-
getAdapter:
|
|
2261
|
+
getAdapter: Nr,
|
|
2248
2262
|
/**
|
|
2249
2263
|
* Exposes all known adapters
|
|
2250
2264
|
* @type {Object<string, Function|Object>}
|
|
@@ -2273,14 +2287,14 @@ function ut(e) {
|
|
|
2273
2287
|
), s.response.headers = J.from(s.response.headers))), Promise.reject(s);
|
|
2274
2288
|
});
|
|
2275
2289
|
}
|
|
2276
|
-
const Yt = "1.13.2",
|
|
2290
|
+
const Yt = "1.13.2", ke = {};
|
|
2277
2291
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
2278
|
-
|
|
2292
|
+
ke[e] = function(s) {
|
|
2279
2293
|
return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
2280
2294
|
};
|
|
2281
2295
|
});
|
|
2282
2296
|
const dt = {};
|
|
2283
|
-
|
|
2297
|
+
ke.transitional = function(t, n, s) {
|
|
2284
2298
|
function r(i, o) {
|
|
2285
2299
|
return "[Axios v" + Yt + "] Transitional option '" + i + "'" + o + (s ? ". " + s : "");
|
|
2286
2300
|
}
|
|
@@ -2298,10 +2312,10 @@ Pe.transitional = function(t, n, s) {
|
|
|
2298
2312
|
)), t ? t(i, o, c) : !0;
|
|
2299
2313
|
};
|
|
2300
2314
|
};
|
|
2301
|
-
|
|
2315
|
+
ke.spelling = function(t) {
|
|
2302
2316
|
return (n, s) => (console.warn(`${s} is likely a misspelling of ${t}`), !0);
|
|
2303
2317
|
};
|
|
2304
|
-
function
|
|
2318
|
+
function Br(e, t, n) {
|
|
2305
2319
|
if (typeof e != "object")
|
|
2306
2320
|
throw new E("options must be an object", E.ERR_BAD_OPTION_VALUE);
|
|
2307
2321
|
const s = Object.keys(e);
|
|
@@ -2319,8 +2333,8 @@ function Nr(e, t, n) {
|
|
|
2319
2333
|
}
|
|
2320
2334
|
}
|
|
2321
2335
|
const ve = {
|
|
2322
|
-
assertOptions:
|
|
2323
|
-
validators:
|
|
2336
|
+
assertOptions: Br,
|
|
2337
|
+
validators: ke
|
|
2324
2338
|
}, Z = ve.validators;
|
|
2325
2339
|
let te = class {
|
|
2326
2340
|
constructor(t) {
|
|
@@ -2446,7 +2460,7 @@ m.forEach(["post", "put", "patch"], function(t) {
|
|
|
2446
2460
|
}
|
|
2447
2461
|
te.prototype[t] = n(), te.prototype[t + "Form"] = n(!0);
|
|
2448
2462
|
});
|
|
2449
|
-
let
|
|
2463
|
+
let Ir = class Gt {
|
|
2450
2464
|
constructor(t) {
|
|
2451
2465
|
if (typeof t != "function")
|
|
2452
2466
|
throw new TypeError("executor must be a function.");
|
|
@@ -2519,12 +2533,12 @@ let Br = class Gt {
|
|
|
2519
2533
|
};
|
|
2520
2534
|
}
|
|
2521
2535
|
};
|
|
2522
|
-
function
|
|
2536
|
+
function Ur(e) {
|
|
2523
2537
|
return function(n) {
|
|
2524
2538
|
return e.apply(null, n);
|
|
2525
2539
|
};
|
|
2526
2540
|
}
|
|
2527
|
-
function
|
|
2541
|
+
function qr(e) {
|
|
2528
2542
|
return m.isObject(e) && e.isAxiosError === !0;
|
|
2529
2543
|
}
|
|
2530
2544
|
const Ue = {
|
|
@@ -2602,7 +2616,7 @@ Object.entries(Ue).forEach(([e, t]) => {
|
|
|
2602
2616
|
Ue[t] = e;
|
|
2603
2617
|
});
|
|
2604
2618
|
function Qt(e) {
|
|
2605
|
-
const t = new te(e), n =
|
|
2619
|
+
const t = new te(e), n = Dt(te.prototype.request, t);
|
|
2606
2620
|
return m.extend(n, te.prototype, t, { allOwnKeys: !0 }), m.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
|
|
2607
2621
|
return Qt(ne(e, r));
|
|
2608
2622
|
}, n;
|
|
@@ -2610,17 +2624,17 @@ function Qt(e) {
|
|
|
2610
2624
|
const A = Qt(ge);
|
|
2611
2625
|
A.Axios = te;
|
|
2612
2626
|
A.CanceledError = le;
|
|
2613
|
-
A.CancelToken =
|
|
2627
|
+
A.CancelToken = Ir;
|
|
2614
2628
|
A.isCancel = Vt;
|
|
2615
2629
|
A.VERSION = Yt;
|
|
2616
|
-
A.toFormData =
|
|
2630
|
+
A.toFormData = De;
|
|
2617
2631
|
A.AxiosError = E;
|
|
2618
2632
|
A.Cancel = A.CanceledError;
|
|
2619
2633
|
A.all = function(t) {
|
|
2620
2634
|
return Promise.all(t);
|
|
2621
2635
|
};
|
|
2622
|
-
A.spread =
|
|
2623
|
-
A.isAxiosError =
|
|
2636
|
+
A.spread = Ur;
|
|
2637
|
+
A.isAxiosError = qr;
|
|
2624
2638
|
A.mergeConfig = ne;
|
|
2625
2639
|
A.AxiosHeaders = J;
|
|
2626
2640
|
A.formToJSON = (e) => jt(m.isHTMLForm(e) ? new FormData(e) : e);
|
|
@@ -2628,24 +2642,24 @@ A.getAdapter = Jt.getAdapter;
|
|
|
2628
2642
|
A.HttpStatusCode = Ue;
|
|
2629
2643
|
A.default = A;
|
|
2630
2644
|
const {
|
|
2631
|
-
Axios:
|
|
2632
|
-
AxiosError:
|
|
2633
|
-
CanceledError:
|
|
2634
|
-
isCancel:
|
|
2635
|
-
CancelToken:
|
|
2636
|
-
VERSION:
|
|
2637
|
-
all:
|
|
2638
|
-
Cancel:
|
|
2639
|
-
isAxiosError:
|
|
2640
|
-
spread:
|
|
2641
|
-
toFormData:
|
|
2642
|
-
AxiosHeaders:
|
|
2643
|
-
HttpStatusCode:
|
|
2644
|
-
formToJSON:
|
|
2645
|
-
getAdapter:
|
|
2646
|
-
mergeConfig:
|
|
2645
|
+
Axios: Ri,
|
|
2646
|
+
AxiosError: Ai,
|
|
2647
|
+
CanceledError: Mi,
|
|
2648
|
+
isCancel: Ni,
|
|
2649
|
+
CancelToken: Bi,
|
|
2650
|
+
VERSION: Ii,
|
|
2651
|
+
all: Ui,
|
|
2652
|
+
Cancel: qi,
|
|
2653
|
+
isAxiosError: $i,
|
|
2654
|
+
spread: ji,
|
|
2655
|
+
toFormData: Vi,
|
|
2656
|
+
AxiosHeaders: zi,
|
|
2657
|
+
HttpStatusCode: Hi,
|
|
2658
|
+
formToJSON: _i,
|
|
2659
|
+
getAdapter: Wi,
|
|
2660
|
+
mergeConfig: Ji
|
|
2647
2661
|
} = A;
|
|
2648
|
-
function
|
|
2662
|
+
function $r() {
|
|
2649
2663
|
function e(t, n = {}) {
|
|
2650
2664
|
return n = { ...{
|
|
2651
2665
|
timeout: 5e3,
|
|
@@ -2658,27 +2672,27 @@ function qr() {
|
|
|
2658
2672
|
loadResource: e
|
|
2659
2673
|
};
|
|
2660
2674
|
}
|
|
2661
|
-
const
|
|
2675
|
+
const jr = {
|
|
2662
2676
|
selectedStart: "已选:",
|
|
2663
2677
|
selectedEnd: "项数据"
|
|
2664
|
-
},
|
|
2678
|
+
}, Vr = {
|
|
2665
2679
|
placeholder: "请选择时间",
|
|
2666
2680
|
time: {
|
|
2667
2681
|
hour: "时",
|
|
2668
2682
|
minute: "分",
|
|
2669
2683
|
seconds: "秒"
|
|
2670
2684
|
}
|
|
2671
|
-
},
|
|
2685
|
+
}, zr = {
|
|
2672
2686
|
more: "更多",
|
|
2673
2687
|
leftButton: "向左",
|
|
2674
2688
|
rightButton: "向左",
|
|
2675
2689
|
noData: "没有相关数据"
|
|
2676
|
-
},
|
|
2690
|
+
}, Hr = {
|
|
2677
2691
|
expandLabel: "展开",
|
|
2678
2692
|
collapseLabel: "收起"
|
|
2679
|
-
}, Hr = {
|
|
2680
|
-
more: "更多"
|
|
2681
2693
|
}, _r = {
|
|
2694
|
+
more: "更多"
|
|
2695
|
+
}, Wr = {
|
|
2682
2696
|
saveAsDialog: {
|
|
2683
2697
|
queryPlanName: "方案名称",
|
|
2684
2698
|
setAsDefault: "设为默认",
|
|
@@ -2716,7 +2730,7 @@ const $r = {
|
|
|
2716
2730
|
clear: "清空",
|
|
2717
2731
|
require: "请填写[fields]再进行筛选"
|
|
2718
2732
|
}
|
|
2719
|
-
},
|
|
2733
|
+
}, Jr = {
|
|
2720
2734
|
message: "共 <b>{1}</b> 条",
|
|
2721
2735
|
totalInfo: {
|
|
2722
2736
|
firstText: "共",
|
|
@@ -2733,13 +2747,13 @@ const $r = {
|
|
|
2733
2747
|
suffix: "页"
|
|
2734
2748
|
},
|
|
2735
2749
|
show: "显示"
|
|
2736
|
-
},
|
|
2750
|
+
}, Yr = {
|
|
2737
2751
|
placeholder: "请输入数字",
|
|
2738
2752
|
range: {
|
|
2739
2753
|
begin: "开始数字",
|
|
2740
2754
|
end: "结束数字"
|
|
2741
2755
|
}
|
|
2742
|
-
},
|
|
2756
|
+
}, Gr = {
|
|
2743
2757
|
yes: "是",
|
|
2744
2758
|
no: "否",
|
|
2745
2759
|
ok: "确定",
|
|
@@ -2771,7 +2785,7 @@ const $r = {
|
|
|
2771
2785
|
copyFailed: "复制失败",
|
|
2772
2786
|
roger: "知道了"
|
|
2773
2787
|
}
|
|
2774
|
-
},
|
|
2788
|
+
}, Qr = {
|
|
2775
2789
|
exact: "精确",
|
|
2776
2790
|
placeholder: "请选择",
|
|
2777
2791
|
favorites: "收藏夹",
|
|
@@ -2826,11 +2840,11 @@ const $r = {
|
|
|
2826
2840
|
},
|
|
2827
2841
|
clearAllConditions: "清除所有查询条件",
|
|
2828
2842
|
anyFields: "全部"
|
|
2829
|
-
}, Qr = {
|
|
2830
|
-
message: "正在加载,请稍候..."
|
|
2831
2843
|
}, Xr = {
|
|
2832
|
-
|
|
2844
|
+
message: "正在加载,请稍候..."
|
|
2833
2845
|
}, Zr = {
|
|
2846
|
+
emptyMessage: "暂无数据"
|
|
2847
|
+
}, Kr = {
|
|
2834
2848
|
cancelButton: "取消",
|
|
2835
2849
|
okButton: "确定",
|
|
2836
2850
|
addWhere: "添加子句",
|
|
@@ -2865,16 +2879,17 @@ const $r = {
|
|
|
2865
2879
|
relation: "条件关系不完整,请检查",
|
|
2866
2880
|
field: "条件字段未设置,请检查"
|
|
2867
2881
|
}
|
|
2868
|
-
},
|
|
2882
|
+
}, eo = {
|
|
2869
2883
|
confirm: "确定",
|
|
2870
2884
|
cancel: "取消",
|
|
2871
2885
|
advancedFilter: "更多筛选",
|
|
2872
2886
|
clearAll: "清空筛选",
|
|
2873
2887
|
reset: "清空筛选",
|
|
2888
|
+
filter: "筛选",
|
|
2874
2889
|
expand: "展开",
|
|
2875
2890
|
fold: "收起",
|
|
2876
2891
|
require: "请填写[fields]再进行筛选"
|
|
2877
|
-
},
|
|
2892
|
+
}, to = {
|
|
2878
2893
|
title: "参数编辑器",
|
|
2879
2894
|
ok: "确定",
|
|
2880
2895
|
cancel: "取消",
|
|
@@ -2897,10 +2912,10 @@ const $r = {
|
|
|
2897
2912
|
comboTree: {
|
|
2898
2913
|
placeholder: "请选择"
|
|
2899
2914
|
}
|
|
2900
|
-
},
|
|
2915
|
+
}, no = {
|
|
2901
2916
|
cancel: "取消",
|
|
2902
2917
|
confirm: "确定"
|
|
2903
|
-
},
|
|
2918
|
+
}, so = {
|
|
2904
2919
|
dayLabels: {
|
|
2905
2920
|
Sun: "日",
|
|
2906
2921
|
Mon: "一",
|
|
@@ -2983,7 +2998,7 @@ const $r = {
|
|
|
2983
2998
|
recent6Months: "最近6个月",
|
|
2984
2999
|
nextYear: "明年"
|
|
2985
3000
|
}
|
|
2986
|
-
},
|
|
3001
|
+
}, ro = {
|
|
2987
3002
|
lineNumberTitle: "序号",
|
|
2988
3003
|
emptyMessage: "暂无数据",
|
|
2989
3004
|
pagination: {
|
|
@@ -3103,13 +3118,13 @@ const $r = {
|
|
|
3103
3118
|
cancel: "取消",
|
|
3104
3119
|
accept: "确定"
|
|
3105
3120
|
}
|
|
3106
|
-
},
|
|
3121
|
+
}, oo = {
|
|
3107
3122
|
add: "添加条件",
|
|
3108
3123
|
create: "生成条件组",
|
|
3109
3124
|
reset: "重置",
|
|
3110
3125
|
and: "与",
|
|
3111
3126
|
or: "或"
|
|
3112
|
-
},
|
|
3127
|
+
}, io = {
|
|
3113
3128
|
equal: "等于",
|
|
3114
3129
|
notEqual: "不等于",
|
|
3115
3130
|
greater: "大于",
|
|
@@ -3130,7 +3145,7 @@ const $r = {
|
|
|
3130
3145
|
endWith: "结束是",
|
|
3131
3146
|
and: "与",
|
|
3132
3147
|
or: "或"
|
|
3133
|
-
},
|
|
3148
|
+
}, ao = {
|
|
3134
3149
|
reply: "回复",
|
|
3135
3150
|
cancel: "取消",
|
|
3136
3151
|
submit: "提交",
|
|
@@ -3138,10 +3153,10 @@ const $r = {
|
|
|
3138
3153
|
colleague: "同事",
|
|
3139
3154
|
searchPlaceholder: "请输入姓名搜索",
|
|
3140
3155
|
submitEmpty: "提交内容不能为空"
|
|
3141
|
-
},
|
|
3156
|
+
}, lo = {
|
|
3142
3157
|
remoteError: "请求方法类型不正确",
|
|
3143
3158
|
placeholder: "请选择"
|
|
3144
|
-
},
|
|
3159
|
+
}, co = {
|
|
3145
3160
|
dayLabels: {
|
|
3146
3161
|
Sun: "星期日",
|
|
3147
3162
|
Mon: "星期一",
|
|
@@ -3182,62 +3197,62 @@ const $r = {
|
|
|
3182
3197
|
prevYear: "上一年",
|
|
3183
3198
|
nextYear: "下一年",
|
|
3184
3199
|
more: "还有 #count# 项..."
|
|
3185
|
-
},
|
|
3200
|
+
}, uo = {
|
|
3186
3201
|
imgtitle: "点击修改",
|
|
3187
3202
|
typeError: "上传图片类型不正确",
|
|
3188
3203
|
sizeError: "上传图片不能大于",
|
|
3189
3204
|
uploadError: "图片上传失败,请重试!",
|
|
3190
3205
|
loadError: "加载错误",
|
|
3191
3206
|
loading: "加载中"
|
|
3192
|
-
},
|
|
3193
|
-
transfer:
|
|
3194
|
-
timePicker:
|
|
3195
|
-
tabs:
|
|
3196
|
-
section:
|
|
3197
|
-
responseToolbar:
|
|
3198
|
-
querySolution:
|
|
3199
|
-
pagination:
|
|
3200
|
-
numberSpinner:
|
|
3201
|
-
messageBox:
|
|
3202
|
-
lookup:
|
|
3203
|
-
loading:
|
|
3204
|
-
listView:
|
|
3207
|
+
}, mo = {
|
|
3208
|
+
transfer: jr,
|
|
3209
|
+
timePicker: Vr,
|
|
3210
|
+
tabs: zr,
|
|
3211
|
+
section: Hr,
|
|
3212
|
+
responseToolbar: _r,
|
|
3213
|
+
querySolution: Wr,
|
|
3214
|
+
pagination: Jr,
|
|
3215
|
+
numberSpinner: Yr,
|
|
3216
|
+
messageBox: Gr,
|
|
3217
|
+
lookup: Qr,
|
|
3218
|
+
loading: Xr,
|
|
3219
|
+
listView: Zr,
|
|
3205
3220
|
"input-group": {
|
|
3206
3221
|
placeholder: "请输入"
|
|
3207
3222
|
},
|
|
3208
|
-
filterConditionEditor:
|
|
3209
|
-
filterBar:
|
|
3210
|
-
eventParameter:
|
|
3211
|
-
drawer:
|
|
3212
|
-
datepicker:
|
|
3213
|
-
datagrid:
|
|
3214
|
-
condition:
|
|
3215
|
-
operators:
|
|
3216
|
-
comment:
|
|
3217
|
-
comboList:
|
|
3218
|
-
calendar:
|
|
3219
|
-
avatar:
|
|
3220
|
-
},
|
|
3223
|
+
filterConditionEditor: Kr,
|
|
3224
|
+
filterBar: eo,
|
|
3225
|
+
eventParameter: to,
|
|
3226
|
+
drawer: no,
|
|
3227
|
+
datepicker: so,
|
|
3228
|
+
datagrid: ro,
|
|
3229
|
+
condition: oo,
|
|
3230
|
+
operators: io,
|
|
3231
|
+
comment: ao,
|
|
3232
|
+
comboList: lo,
|
|
3233
|
+
calendar: co,
|
|
3234
|
+
avatar: uo
|
|
3235
|
+
}, fo = {
|
|
3221
3236
|
selectedStart: "Selected: ",
|
|
3222
3237
|
selectedEnd: " Items"
|
|
3223
|
-
},
|
|
3238
|
+
}, po = {
|
|
3224
3239
|
placeholder: "Please select a time",
|
|
3225
3240
|
time: {
|
|
3226
3241
|
hour: "Hour",
|
|
3227
3242
|
minute: "Minute",
|
|
3228
3243
|
seconds: "Second"
|
|
3229
3244
|
}
|
|
3230
|
-
},
|
|
3245
|
+
}, go = {
|
|
3231
3246
|
more: "More",
|
|
3232
3247
|
leftButton: "Left",
|
|
3233
3248
|
rightButton: "Right",
|
|
3234
3249
|
noData: "No data available"
|
|
3235
|
-
},
|
|
3250
|
+
}, ho = {
|
|
3236
3251
|
expandLabel: "Expand",
|
|
3237
3252
|
collapseLabel: "Collapse"
|
|
3238
|
-
}, ho = {
|
|
3239
|
-
more: "More"
|
|
3240
3253
|
}, yo = {
|
|
3254
|
+
more: "More"
|
|
3255
|
+
}, bo = {
|
|
3241
3256
|
saveAsDialog: {
|
|
3242
3257
|
queryPlanName: "Solution Name",
|
|
3243
3258
|
setAsDefault: "Set as default",
|
|
@@ -3275,7 +3290,7 @@ const $r = {
|
|
|
3275
3290
|
clear: "Clear",
|
|
3276
3291
|
require: "Please fill in [fields] before filtering"
|
|
3277
3292
|
}
|
|
3278
|
-
},
|
|
3293
|
+
}, vo = {
|
|
3279
3294
|
message: "Total <b>{1}</b> Items ",
|
|
3280
3295
|
totalInfo: {
|
|
3281
3296
|
firstText: "Total",
|
|
@@ -3292,13 +3307,13 @@ const $r = {
|
|
|
3292
3307
|
suffix: ""
|
|
3293
3308
|
},
|
|
3294
3309
|
show: "Display"
|
|
3295
|
-
},
|
|
3310
|
+
}, Co = {
|
|
3296
3311
|
placeholder: "Please enter the number",
|
|
3297
3312
|
range: {
|
|
3298
3313
|
begin: "Begin number",
|
|
3299
3314
|
end: "End number"
|
|
3300
3315
|
}
|
|
3301
|
-
},
|
|
3316
|
+
}, So = {
|
|
3302
3317
|
yes: "Yes",
|
|
3303
3318
|
no: "No",
|
|
3304
3319
|
ok: "OK",
|
|
@@ -3330,7 +3345,7 @@ const $r = {
|
|
|
3330
3345
|
copyFailed: "Copy Failed.",
|
|
3331
3346
|
roger: "OK"
|
|
3332
3347
|
}
|
|
3333
|
-
},
|
|
3348
|
+
}, xo = {
|
|
3334
3349
|
exact: "Exact",
|
|
3335
3350
|
placeholder: "Please select",
|
|
3336
3351
|
favorites: "Favorites",
|
|
@@ -3385,11 +3400,11 @@ const $r = {
|
|
|
3385
3400
|
},
|
|
3386
3401
|
clearAllConditions: "Clear All Conditions",
|
|
3387
3402
|
anyFields: "All"
|
|
3388
|
-
}, xo = {
|
|
3389
|
-
message: "Loading ..."
|
|
3390
3403
|
}, To = {
|
|
3391
|
-
|
|
3404
|
+
message: "Loading ..."
|
|
3392
3405
|
}, wo = {
|
|
3406
|
+
emptyMessage: "Empty Data"
|
|
3407
|
+
}, Eo = {
|
|
3393
3408
|
cancelButton: "Cancel",
|
|
3394
3409
|
okButton: "OK",
|
|
3395
3410
|
addWhere: "Add",
|
|
@@ -3424,12 +3439,13 @@ const $r = {
|
|
|
3424
3439
|
relation: "The condition relationship is incomplete, please check",
|
|
3425
3440
|
field: "Condition field is not set, please check"
|
|
3426
3441
|
}
|
|
3427
|
-
},
|
|
3442
|
+
}, Oo = {
|
|
3428
3443
|
confirm: "OK",
|
|
3429
3444
|
cancel: "Cancel",
|
|
3430
3445
|
advancedFilter: "More Conditions",
|
|
3431
3446
|
clearAll: "Clear",
|
|
3432
3447
|
reset: "Clear",
|
|
3448
|
+
filter: "Filter",
|
|
3433
3449
|
expand: "Expand",
|
|
3434
3450
|
fold: "Fold",
|
|
3435
3451
|
require: "Please fill in [fields] before filtering"
|
|
@@ -3456,7 +3472,7 @@ const $r = {
|
|
|
3456
3472
|
comboTree: {
|
|
3457
3473
|
placeholder: "Please select"
|
|
3458
3474
|
}
|
|
3459
|
-
},
|
|
3475
|
+
}, ko = {
|
|
3460
3476
|
cancel: "Cancel",
|
|
3461
3477
|
confirm: "Confirm"
|
|
3462
3478
|
}, Po = {
|
|
@@ -3542,7 +3558,7 @@ const $r = {
|
|
|
3542
3558
|
recent6Months: "Recent 6 Months",
|
|
3543
3559
|
nextYear: "Next Year"
|
|
3544
3560
|
}
|
|
3545
|
-
},
|
|
3561
|
+
}, Fo = {
|
|
3546
3562
|
lineNumberTitle: "NO.",
|
|
3547
3563
|
emptyMessage: "Empty Data",
|
|
3548
3564
|
pagination: {
|
|
@@ -3662,13 +3678,13 @@ const $r = {
|
|
|
3662
3678
|
cancel: "Cancel",
|
|
3663
3679
|
accept: "Accept"
|
|
3664
3680
|
}
|
|
3665
|
-
},
|
|
3681
|
+
}, Lo = {
|
|
3666
3682
|
add: "Add condition",
|
|
3667
3683
|
create: "Create condition group",
|
|
3668
3684
|
reset: "Reset",
|
|
3669
3685
|
and: "And",
|
|
3670
3686
|
or: "Or"
|
|
3671
|
-
},
|
|
3687
|
+
}, Ro = {
|
|
3672
3688
|
equal: "Equal",
|
|
3673
3689
|
notEqual: "Not equal",
|
|
3674
3690
|
greater: "Greater than",
|
|
@@ -3689,7 +3705,7 @@ const $r = {
|
|
|
3689
3705
|
endWith: "Ends with",
|
|
3690
3706
|
and: "And",
|
|
3691
3707
|
or: "Or"
|
|
3692
|
-
},
|
|
3708
|
+
}, Ao = {
|
|
3693
3709
|
reply: "Reply",
|
|
3694
3710
|
cancel: "Cancel",
|
|
3695
3711
|
submit: "Submit",
|
|
@@ -3697,10 +3713,10 @@ const $r = {
|
|
|
3697
3713
|
colleague: "Colleague",
|
|
3698
3714
|
searchPlaceholder: "Enter name to search",
|
|
3699
3715
|
submitEmpty: "Submission content cannot be empty"
|
|
3700
|
-
},
|
|
3716
|
+
}, Mo = {
|
|
3701
3717
|
remoteError: "The request method type is incorrect",
|
|
3702
3718
|
placeholder: "Please select"
|
|
3703
|
-
},
|
|
3719
|
+
}, No = {
|
|
3704
3720
|
dayLabels: {
|
|
3705
3721
|
Sun: "Sun",
|
|
3706
3722
|
Mon: "Mon",
|
|
@@ -3741,62 +3757,62 @@ const $r = {
|
|
|
3741
3757
|
prevYear: "Prev Year",
|
|
3742
3758
|
nextYear: "Next Year",
|
|
3743
3759
|
more: "Still #count# more items..."
|
|
3744
|
-
},
|
|
3760
|
+
}, Bo = {
|
|
3745
3761
|
imgtitle: "Amend",
|
|
3746
3762
|
typeError: "Type error",
|
|
3747
3763
|
sizeError: "Can not be larger than",
|
|
3748
3764
|
uploadError: "Upload Fail!",
|
|
3749
3765
|
loadError: "Load error.",
|
|
3750
3766
|
loading: "Loading"
|
|
3751
|
-
},
|
|
3752
|
-
transfer:
|
|
3753
|
-
timePicker:
|
|
3754
|
-
tabs:
|
|
3755
|
-
section:
|
|
3756
|
-
responseToolbar:
|
|
3757
|
-
querySolution:
|
|
3758
|
-
pagination:
|
|
3759
|
-
numberSpinner:
|
|
3760
|
-
messageBox:
|
|
3761
|
-
lookup:
|
|
3762
|
-
loading:
|
|
3763
|
-
listView:
|
|
3767
|
+
}, Io = {
|
|
3768
|
+
transfer: fo,
|
|
3769
|
+
timePicker: po,
|
|
3770
|
+
tabs: go,
|
|
3771
|
+
section: ho,
|
|
3772
|
+
responseToolbar: yo,
|
|
3773
|
+
querySolution: bo,
|
|
3774
|
+
pagination: vo,
|
|
3775
|
+
numberSpinner: Co,
|
|
3776
|
+
messageBox: So,
|
|
3777
|
+
lookup: xo,
|
|
3778
|
+
loading: To,
|
|
3779
|
+
listView: wo,
|
|
3764
3780
|
"input-group": {
|
|
3765
3781
|
placeholder: "Enter"
|
|
3766
3782
|
},
|
|
3767
|
-
filterConditionEditor:
|
|
3768
|
-
filterBar:
|
|
3783
|
+
filterConditionEditor: Eo,
|
|
3784
|
+
filterBar: Oo,
|
|
3769
3785
|
eventParameter: Do,
|
|
3770
|
-
drawer:
|
|
3786
|
+
drawer: ko,
|
|
3771
3787
|
datepicker: Po,
|
|
3772
|
-
datagrid:
|
|
3773
|
-
condition:
|
|
3774
|
-
operators:
|
|
3775
|
-
comment:
|
|
3776
|
-
comboList:
|
|
3777
|
-
calendar:
|
|
3778
|
-
avatar:
|
|
3779
|
-
},
|
|
3788
|
+
datagrid: Fo,
|
|
3789
|
+
condition: Lo,
|
|
3790
|
+
operators: Ro,
|
|
3791
|
+
comment: Ao,
|
|
3792
|
+
comboList: Mo,
|
|
3793
|
+
calendar: No,
|
|
3794
|
+
avatar: Bo
|
|
3795
|
+
}, Uo = {
|
|
3780
3796
|
selectedStart: "已選:",
|
|
3781
3797
|
selectedEnd: "項數據"
|
|
3782
|
-
},
|
|
3798
|
+
}, qo = {
|
|
3783
3799
|
placeholder: "請選擇時間",
|
|
3784
3800
|
time: {
|
|
3785
3801
|
hour: "時",
|
|
3786
3802
|
minute: "分",
|
|
3787
3803
|
seconds: "秒"
|
|
3788
3804
|
}
|
|
3789
|
-
},
|
|
3805
|
+
}, $o = {
|
|
3790
3806
|
more: "更多",
|
|
3791
3807
|
leftButton: "向左",
|
|
3792
3808
|
rightButton: "向左",
|
|
3793
3809
|
noData: "沒有相關數據"
|
|
3794
|
-
},
|
|
3810
|
+
}, jo = {
|
|
3795
3811
|
expandLabel: "展開",
|
|
3796
3812
|
collapseLabel: "收起"
|
|
3797
|
-
}, jo = {
|
|
3798
|
-
more: "更多"
|
|
3799
3813
|
}, Vo = {
|
|
3814
|
+
more: "更多"
|
|
3815
|
+
}, zo = {
|
|
3800
3816
|
saveAsDialog: {
|
|
3801
3817
|
queryPlanName: "方案名稱",
|
|
3802
3818
|
setAsDefault: "設為預設",
|
|
@@ -3834,7 +3850,7 @@ const $r = {
|
|
|
3834
3850
|
clear: "清空",
|
|
3835
3851
|
require: "請填寫[fields]再進行篩選"
|
|
3836
3852
|
}
|
|
3837
|
-
},
|
|
3853
|
+
}, Ho = {
|
|
3838
3854
|
message: "共 <b>{1}</b> 條 ",
|
|
3839
3855
|
totalInfo: {
|
|
3840
3856
|
firstText: "共",
|
|
@@ -3851,13 +3867,13 @@ const $r = {
|
|
|
3851
3867
|
suffix: "頁"
|
|
3852
3868
|
},
|
|
3853
3869
|
show: "顯示"
|
|
3854
|
-
},
|
|
3870
|
+
}, _o = {
|
|
3855
3871
|
placeholder: "請輸入數字",
|
|
3856
3872
|
range: {
|
|
3857
3873
|
begin: "開始數字",
|
|
3858
3874
|
end: "結束數字"
|
|
3859
3875
|
}
|
|
3860
|
-
},
|
|
3876
|
+
}, Wo = {
|
|
3861
3877
|
yes: "是",
|
|
3862
3878
|
no: "否",
|
|
3863
3879
|
ok: "確定",
|
|
@@ -3885,7 +3901,7 @@ const $r = {
|
|
|
3885
3901
|
copyFailed: "複制失敗",
|
|
3886
3902
|
roger: "知道了"
|
|
3887
3903
|
}
|
|
3888
|
-
},
|
|
3904
|
+
}, Jo = {
|
|
3889
3905
|
exact: "精確",
|
|
3890
3906
|
placeholder: "請選擇",
|
|
3891
3907
|
favorites: "收藏夾",
|
|
@@ -3940,11 +3956,11 @@ const $r = {
|
|
|
3940
3956
|
},
|
|
3941
3957
|
clearAllConditions: "清除所有查詢條件",
|
|
3942
3958
|
anyFields: "全部"
|
|
3943
|
-
}, Jo = {
|
|
3944
|
-
message: "正在加載,請稍候..."
|
|
3945
3959
|
}, Yo = {
|
|
3946
|
-
|
|
3960
|
+
message: "正在加載,請稍候..."
|
|
3947
3961
|
}, Go = {
|
|
3962
|
+
emptyMessage: "暫無數據"
|
|
3963
|
+
}, Qo = {
|
|
3948
3964
|
cancelButton: "取消",
|
|
3949
3965
|
okButton: "確定",
|
|
3950
3966
|
addWhere: "添加子句",
|
|
@@ -3979,16 +3995,17 @@ const $r = {
|
|
|
3979
3995
|
relation: "條件關系不完整,請檢查",
|
|
3980
3996
|
field: "條件字段未設置,請檢查"
|
|
3981
3997
|
}
|
|
3982
|
-
},
|
|
3998
|
+
}, Xo = {
|
|
3983
3999
|
confirm: "確定",
|
|
3984
4000
|
cancel: "取消",
|
|
3985
4001
|
advancedFilter: "更多篩選",
|
|
3986
4002
|
clearAll: "清空篩選",
|
|
3987
4003
|
reset: "清空篩選",
|
|
4004
|
+
filter: "篩選",
|
|
3988
4005
|
expand: "展開",
|
|
3989
4006
|
fold: "收起",
|
|
3990
4007
|
require: "請填寫[fields]再進行篩選"
|
|
3991
|
-
},
|
|
4008
|
+
}, Zo = {
|
|
3992
4009
|
title: "參數編輯器",
|
|
3993
4010
|
ok: "確定",
|
|
3994
4011
|
cancel: "取消",
|
|
@@ -4011,10 +4028,10 @@ const $r = {
|
|
|
4011
4028
|
comboTree: {
|
|
4012
4029
|
placeholder: "請選擇"
|
|
4013
4030
|
}
|
|
4014
|
-
},
|
|
4031
|
+
}, Ko = {
|
|
4015
4032
|
cancel: "取消",
|
|
4016
4033
|
confirm: "確定"
|
|
4017
|
-
},
|
|
4034
|
+
}, ei = {
|
|
4018
4035
|
dayLabels: {
|
|
4019
4036
|
Sun: "日",
|
|
4020
4037
|
Mon: "一",
|
|
@@ -4097,7 +4114,7 @@ const $r = {
|
|
|
4097
4114
|
recent6Months: "最近6個月",
|
|
4098
4115
|
nextYear: "明年"
|
|
4099
4116
|
}
|
|
4100
|
-
},
|
|
4117
|
+
}, ti = {
|
|
4101
4118
|
lineNumberTitle: "序號",
|
|
4102
4119
|
emptyMessage: "暫無數據",
|
|
4103
4120
|
pagination: {
|
|
@@ -4217,13 +4234,13 @@ const $r = {
|
|
|
4217
4234
|
cancel: "取消",
|
|
4218
4235
|
accept: "確定"
|
|
4219
4236
|
}
|
|
4220
|
-
},
|
|
4237
|
+
}, ni = {
|
|
4221
4238
|
add: "新增條件",
|
|
4222
4239
|
create: "建立條件群組",
|
|
4223
4240
|
reset: "重設",
|
|
4224
4241
|
and: "且",
|
|
4225
4242
|
or: "或"
|
|
4226
|
-
},
|
|
4243
|
+
}, si = {
|
|
4227
4244
|
equal: "等於",
|
|
4228
4245
|
notEqual: "不等於",
|
|
4229
4246
|
greater: "大於",
|
|
@@ -4244,7 +4261,7 @@ const $r = {
|
|
|
4244
4261
|
endWith: "結束於",
|
|
4245
4262
|
and: "且",
|
|
4246
4263
|
or: "或"
|
|
4247
|
-
},
|
|
4264
|
+
}, ri = {
|
|
4248
4265
|
reply: "回覆",
|
|
4249
4266
|
cancel: "取消",
|
|
4250
4267
|
submit: "提交",
|
|
@@ -4252,10 +4269,10 @@ const $r = {
|
|
|
4252
4269
|
colleague: "同事",
|
|
4253
4270
|
searchPlaceholder: "請輸入姓名搜尋",
|
|
4254
4271
|
submitEmpty: "提交內容不能為空"
|
|
4255
|
-
},
|
|
4272
|
+
}, oi = {
|
|
4256
4273
|
remoteError: "請求方法類型不正確",
|
|
4257
4274
|
placeholder: "請選擇"
|
|
4258
|
-
},
|
|
4275
|
+
}, ii = {
|
|
4259
4276
|
dayLabels: {
|
|
4260
4277
|
Sun: "星期日",
|
|
4261
4278
|
Mon: "星期一",
|
|
@@ -4296,48 +4313,48 @@ const $r = {
|
|
|
4296
4313
|
prevYear: "上一年",
|
|
4297
4314
|
nextYear: "下一年",
|
|
4298
4315
|
more: "還有 #count# 項..."
|
|
4299
|
-
},
|
|
4316
|
+
}, ai = {
|
|
4300
4317
|
imgtitle: "點擊修改",
|
|
4301
4318
|
typeError: "上傳圖片類型不正確",
|
|
4302
4319
|
sizeError: "上傳圖片不能大於",
|
|
4303
4320
|
uploadError: "圖片上傳失敗,請重試!",
|
|
4304
4321
|
loadError: "加載錯誤",
|
|
4305
4322
|
loading: "加載中"
|
|
4306
|
-
},
|
|
4307
|
-
transfer:
|
|
4308
|
-
timePicker:
|
|
4309
|
-
tabs:
|
|
4310
|
-
section:
|
|
4311
|
-
responseToolbar:
|
|
4312
|
-
querySolution:
|
|
4313
|
-
pagination:
|
|
4314
|
-
numberSpinner:
|
|
4315
|
-
messageBox:
|
|
4316
|
-
lookup:
|
|
4317
|
-
loading:
|
|
4318
|
-
listView:
|
|
4323
|
+
}, li = {
|
|
4324
|
+
transfer: Uo,
|
|
4325
|
+
timePicker: qo,
|
|
4326
|
+
tabs: $o,
|
|
4327
|
+
section: jo,
|
|
4328
|
+
responseToolbar: Vo,
|
|
4329
|
+
querySolution: zo,
|
|
4330
|
+
pagination: Ho,
|
|
4331
|
+
numberSpinner: _o,
|
|
4332
|
+
messageBox: Wo,
|
|
4333
|
+
lookup: Jo,
|
|
4334
|
+
loading: Yo,
|
|
4335
|
+
listView: Go,
|
|
4319
4336
|
"input-group": {
|
|
4320
4337
|
placeholder: "請輸入"
|
|
4321
4338
|
},
|
|
4322
|
-
filterConditionEditor:
|
|
4323
|
-
filterBar:
|
|
4324
|
-
eventParameter:
|
|
4325
|
-
drawer:
|
|
4326
|
-
datepicker:
|
|
4327
|
-
datagrid:
|
|
4328
|
-
condition:
|
|
4329
|
-
operators:
|
|
4330
|
-
comment:
|
|
4331
|
-
comboList:
|
|
4332
|
-
calendar:
|
|
4333
|
-
avatar:
|
|
4339
|
+
filterConditionEditor: Qo,
|
|
4340
|
+
filterBar: Xo,
|
|
4341
|
+
eventParameter: Zo,
|
|
4342
|
+
drawer: Ko,
|
|
4343
|
+
datepicker: ei,
|
|
4344
|
+
datagrid: ti,
|
|
4345
|
+
condition: ni,
|
|
4346
|
+
operators: si,
|
|
4347
|
+
comment: ri,
|
|
4348
|
+
comboList: oi,
|
|
4349
|
+
calendar: ii,
|
|
4350
|
+
avatar: ai
|
|
4334
4351
|
}, mt = {
|
|
4335
|
-
"zh-CHS":
|
|
4336
|
-
en:
|
|
4337
|
-
"zh-CHT":
|
|
4352
|
+
"zh-CHS": mo,
|
|
4353
|
+
en: Io,
|
|
4354
|
+
"zh-CHT": li
|
|
4338
4355
|
}, L = class L {
|
|
4339
4356
|
static async setup(t, n = {}) {
|
|
4340
|
-
L.config = { ...
|
|
4357
|
+
L.config = { ...us, ...n };
|
|
4341
4358
|
const s = L.config.locale;
|
|
4342
4359
|
L.i18n = hn({
|
|
4343
4360
|
locale: s,
|
|
@@ -4390,7 +4407,7 @@ const $r = {
|
|
|
4390
4407
|
var n, s;
|
|
4391
4408
|
try {
|
|
4392
4409
|
let r = {};
|
|
4393
|
-
const { loadResource: i } =
|
|
4410
|
+
const { loadResource: i } = $r();
|
|
4394
4411
|
if (L.config.uri) {
|
|
4395
4412
|
const o = `${L.config.uri}/${t}.json?version=${(/* @__PURE__ */ new Date()).valueOf()}`;
|
|
4396
4413
|
r = await i(o);
|
|
@@ -4401,10 +4418,10 @@ const $r = {
|
|
|
4401
4418
|
}
|
|
4402
4419
|
}
|
|
4403
4420
|
};
|
|
4404
|
-
|
|
4421
|
+
Pe(L, "i18n"), Pe(L, "config");
|
|
4405
4422
|
let xe = L;
|
|
4406
|
-
function
|
|
4407
|
-
const n =
|
|
4423
|
+
function ci(e, t) {
|
|
4424
|
+
const n = k(), s = k(e.personnelsDisplayKey), r = k(!1), i = k(!1);
|
|
4408
4425
|
function o(u) {
|
|
4409
4426
|
u && u.stopPropagation && u.stopPropagation();
|
|
4410
4427
|
}
|
|
@@ -4458,26 +4475,26 @@ function Je() {
|
|
|
4458
4475
|
submitEmpty: e("comment.submitEmpty")
|
|
4459
4476
|
};
|
|
4460
4477
|
}
|
|
4461
|
-
const
|
|
4478
|
+
const ui = /* @__PURE__ */ de({
|
|
4462
4479
|
name: "FColleaguePanel",
|
|
4463
4480
|
props: je,
|
|
4464
4481
|
emits: ["submit", "cancel"],
|
|
4465
4482
|
setup(e, t) {
|
|
4466
|
-
const n =
|
|
4483
|
+
const n = k(), s = z(() => n), r = Je(), {
|
|
4467
4484
|
judgeIsInArray: i,
|
|
4468
4485
|
personnelsDisplayKey: o,
|
|
4469
4486
|
stopBubble: c,
|
|
4470
4487
|
getSearchData: y,
|
|
4471
4488
|
getAvatar: f
|
|
4472
|
-
} =
|
|
4489
|
+
} = ci(e);
|
|
4473
4490
|
let l = [];
|
|
4474
4491
|
const u = r.searchPlaceholder, h = '<span class="f-icon f-icon-search"></span>';
|
|
4475
4492
|
let b = {};
|
|
4476
|
-
const a =
|
|
4493
|
+
const a = k(""), g = k(""), p = k(0), C = k("");
|
|
4477
4494
|
let x = e.personnels.length ? Ce(e.personnels) : [], w = e.personnels.length ? Ce(e.personnels) : [];
|
|
4478
|
-
const
|
|
4479
|
-
|
|
4480
|
-
const S =
|
|
4495
|
+
const D = k();
|
|
4496
|
+
k("");
|
|
4497
|
+
const S = k(0), O = k(e.personnelsPrimaryKey), F = {
|
|
4481
4498
|
total: e.personnels.length,
|
|
4482
4499
|
enable: !1,
|
|
4483
4500
|
mode: "server",
|
|
@@ -4485,20 +4502,20 @@ const ci = /* @__PURE__ */ de({
|
|
|
4485
4502
|
size: 20,
|
|
4486
4503
|
showPageInfo: !1,
|
|
4487
4504
|
showLimits: !1
|
|
4488
|
-
}, U =
|
|
4489
|
-
function
|
|
4505
|
+
}, U = k(F);
|
|
4506
|
+
function P(T = null) {
|
|
4490
4507
|
a.value ? x = b.users : T ? x = T : x = w, p.value++;
|
|
4491
4508
|
}
|
|
4492
4509
|
qe(() => e.personnels, () => {
|
|
4493
|
-
|
|
4510
|
+
P();
|
|
4494
4511
|
});
|
|
4495
4512
|
const v = an(() => {
|
|
4496
4513
|
a.value ? y(a.value, 0).then((T) => {
|
|
4497
4514
|
"users" in T && (b = T, U.value = Object.assign({}, F, {
|
|
4498
4515
|
enable: b.pageCount > 1,
|
|
4499
4516
|
total: T.pageCount
|
|
4500
|
-
}),
|
|
4501
|
-
}) :
|
|
4517
|
+
}), P());
|
|
4518
|
+
}) : P();
|
|
4502
4519
|
}, 300);
|
|
4503
4520
|
tn(() => {
|
|
4504
4521
|
v.cancel();
|
|
@@ -4513,17 +4530,17 @@ const ci = /* @__PURE__ */ de({
|
|
|
4513
4530
|
}
|
|
4514
4531
|
function B(T, j = !1) {
|
|
4515
4532
|
T.forEach((_) => {
|
|
4516
|
-
(l.length === 0 || !i(_[
|
|
4533
|
+
(l.length === 0 || !i(_[O.value], O.value, l)) && (C.value += '<a name="personnel" contenteditable="false" class="at-user" id="' + _[O.value] + '" userid="' + _[O.value] + '">@' + _[o.value] + "</a> ", l.push(_));
|
|
4517
4534
|
});
|
|
4518
4535
|
}
|
|
4519
4536
|
function M() {
|
|
4520
4537
|
document.body.click();
|
|
4521
4538
|
}
|
|
4522
4539
|
function Y() {
|
|
4523
|
-
a.value = "", g.value = "", S.value++,
|
|
4540
|
+
a.value = "", g.value = "", S.value++, D.value.clearSelection(), P(), M();
|
|
4524
4541
|
}
|
|
4525
4542
|
function I() {
|
|
4526
|
-
const T =
|
|
4543
|
+
const T = D.value.getSelections();
|
|
4527
4544
|
T.length && B(T), Y(), t.emit("submit", {
|
|
4528
4545
|
selectedPersonnels: l,
|
|
4529
4546
|
newAddedText: C.value
|
|
@@ -4535,10 +4552,10 @@ const ci = /* @__PURE__ */ de({
|
|
|
4535
4552
|
} = T.target, _ = [];
|
|
4536
4553
|
for (let G = 0; G < j.length; G++)
|
|
4537
4554
|
_.push(j[G].id);
|
|
4538
|
-
l = l.filter((G, se) => _.includes(G[
|
|
4555
|
+
l = l.filter((G, se) => _.includes(G[O.value]));
|
|
4539
4556
|
}
|
|
4540
4557
|
function $(T) {
|
|
4541
|
-
w = T || [],
|
|
4558
|
+
w = T || [], P(T);
|
|
4542
4559
|
}
|
|
4543
4560
|
function H() {
|
|
4544
4561
|
return l;
|
|
@@ -4585,7 +4602,7 @@ const ci = /* @__PURE__ */ de({
|
|
|
4585
4602
|
class: "f-discussion-group-about-content",
|
|
4586
4603
|
key: p.value
|
|
4587
4604
|
}, [d(rn("f-list-view"), {
|
|
4588
|
-
ref:
|
|
4605
|
+
ref: D,
|
|
4589
4606
|
data: x,
|
|
4590
4607
|
multiSelect: !0,
|
|
4591
4608
|
selection: {
|
|
@@ -4628,34 +4645,34 @@ const ci = /* @__PURE__ */ de({
|
|
|
4628
4645
|
}, [r.confirm])])])])]
|
|
4629
4646
|
})]);
|
|
4630
4647
|
}
|
|
4631
|
-
}),
|
|
4648
|
+
}), di = /* @__PURE__ */ de({
|
|
4632
4649
|
name: "FCommentEditor",
|
|
4633
4650
|
props: je,
|
|
4634
4651
|
emits: ["selections", "lineData", "valueChange", "filePreview", "fileRemove", "fileUploadDone", "personnelSearch", "getOutUsers"],
|
|
4635
4652
|
setup(e, t) {
|
|
4636
4653
|
const n = new gn();
|
|
4637
|
-
|
|
4654
|
+
k(e.personnelsPrimaryKey);
|
|
4638
4655
|
const s = Je();
|
|
4639
|
-
|
|
4640
|
-
const r =
|
|
4656
|
+
k(e.type), k(e.orgUrl), k(e.sectionData);
|
|
4657
|
+
const r = k(), i = z(() => re({
|
|
4641
4658
|
"f-discussion-editor": !0
|
|
4642
|
-
}, e.customClass)), o = z(() => oe({}, e == null ? void 0 : e.customStyle)), c =
|
|
4659
|
+
}, e.customClass)), o = z(() => oe({}, e == null ? void 0 : e.customStyle)), c = k(e.replyUser), y = k(e.attachFiles), f = z({
|
|
4643
4660
|
get() {
|
|
4644
4661
|
return y.value;
|
|
4645
4662
|
},
|
|
4646
4663
|
set(v) {
|
|
4647
4664
|
v && (y.value = v);
|
|
4648
4665
|
}
|
|
4649
|
-
}), l =
|
|
4666
|
+
}), l = k(""), u = k("");
|
|
4650
4667
|
let h = [];
|
|
4651
|
-
|
|
4668
|
+
k(!1);
|
|
4652
4669
|
const b = [{
|
|
4653
4670
|
value: "ALL",
|
|
4654
4671
|
text: xe.getLocaleValue("comment.all")
|
|
4655
4672
|
}, {
|
|
4656
4673
|
value: "RELATED",
|
|
4657
4674
|
text: xe.getLocaleValue("comment.related")
|
|
4658
|
-
}], a =
|
|
4675
|
+
}], a = k(e.permissionType);
|
|
4659
4676
|
$e(() => {
|
|
4660
4677
|
});
|
|
4661
4678
|
function g() {
|
|
@@ -4718,33 +4735,33 @@ const ci = /* @__PURE__ */ de({
|
|
|
4718
4735
|
attachFiles: null
|
|
4719
4736
|
}), l.value = "", (v = r.value) == null || v.resetSelectedPersonnels(), h = [], f.value = [], c.value = {};
|
|
4720
4737
|
}
|
|
4721
|
-
const
|
|
4738
|
+
const D = k(null);
|
|
4722
4739
|
function S() {
|
|
4723
4740
|
var v;
|
|
4724
|
-
(v =
|
|
4741
|
+
(v = D.value) == null || v.focus();
|
|
4725
4742
|
}
|
|
4726
|
-
function
|
|
4743
|
+
function O(v) {
|
|
4727
4744
|
c.value = v || {}, v && v.id && S();
|
|
4728
4745
|
}
|
|
4729
4746
|
qe(() => e.replyUser, (v) => {
|
|
4730
|
-
|
|
4747
|
+
O(v);
|
|
4731
4748
|
});
|
|
4732
4749
|
function F(v) {
|
|
4733
4750
|
var N;
|
|
4734
4751
|
const {
|
|
4735
4752
|
newAddedText: R
|
|
4736
4753
|
} = v;
|
|
4737
|
-
l.value = ((N =
|
|
4754
|
+
l.value = ((N = D.value) == null ? void 0 : N.innerHTML) + R;
|
|
4738
4755
|
}
|
|
4739
4756
|
function U(v) {
|
|
4740
4757
|
r == null || r.value.updatePersonnels(v);
|
|
4741
4758
|
}
|
|
4742
|
-
function
|
|
4743
|
-
|
|
4759
|
+
function P(v) {
|
|
4760
|
+
O(v);
|
|
4744
4761
|
}
|
|
4745
4762
|
return t.expose({
|
|
4746
4763
|
updatePersonnels: U,
|
|
4747
|
-
updateReplyUser:
|
|
4764
|
+
updateReplyUser: P
|
|
4748
4765
|
}), () => e.visible ? d("div", {
|
|
4749
4766
|
class: i.value,
|
|
4750
4767
|
style: o.value
|
|
@@ -4763,12 +4780,12 @@ const ci = /* @__PURE__ */ de({
|
|
|
4763
4780
|
class: "textarea-editor",
|
|
4764
4781
|
onKeyup: (v) => C(v),
|
|
4765
4782
|
onBlur: (v) => p(v),
|
|
4766
|
-
ref:
|
|
4783
|
+
ref: D,
|
|
4767
4784
|
contenteditable: !0,
|
|
4768
4785
|
innerHTML: l.value
|
|
4769
4786
|
}, null)]), d("div", {
|
|
4770
4787
|
class: "f-discussion-group-edit-footer"
|
|
4771
|
-
}, [d(
|
|
4788
|
+
}, [d(ui, on({
|
|
4772
4789
|
ref: r
|
|
4773
4790
|
}, e, {
|
|
4774
4791
|
onSubmit: (v) => F(v)
|
|
@@ -4783,7 +4800,7 @@ const ci = /* @__PURE__ */ de({
|
|
|
4783
4800
|
}, [s.submit])])])])]) : null;
|
|
4784
4801
|
}
|
|
4785
4802
|
});
|
|
4786
|
-
function
|
|
4803
|
+
function mi(e) {
|
|
4787
4804
|
function t(s) {
|
|
4788
4805
|
const r = [];
|
|
4789
4806
|
return s && s.commentIds && s.commentIds.length && s.commentIds.forEach((i) => {
|
|
@@ -4794,14 +4811,14 @@ function di(e) {
|
|
|
4794
4811
|
if (Object.prototype.hasOwnProperty.call(o, "parentId")) {
|
|
4795
4812
|
const p = s.comments.find((C) => C.id === o.parentId);
|
|
4796
4813
|
if (p) {
|
|
4797
|
-
const C = p.id, x = p.userId, w = p.user.name,
|
|
4814
|
+
const C = p.id, x = p.userId, w = p.user.name, D = Object.prototype.hasOwnProperty.call(p.user, "imgData") ? p.user.imgData : "", S = p.commentDate, O = p.text, F = Object.prototype.hasOwnProperty.call(p.user, "attachFiles") ? p.attachFiles : [];
|
|
4798
4815
|
a = {
|
|
4799
4816
|
id: C,
|
|
4800
4817
|
userId: x,
|
|
4801
4818
|
userName: w,
|
|
4802
|
-
imgData:
|
|
4819
|
+
imgData: D,
|
|
4803
4820
|
commentDate: S,
|
|
4804
|
-
text:
|
|
4821
|
+
text: O,
|
|
4805
4822
|
attachFiles: F
|
|
4806
4823
|
};
|
|
4807
4824
|
}
|
|
@@ -4830,19 +4847,19 @@ function di(e) {
|
|
|
4830
4847
|
}
|
|
4831
4848
|
return { formatServerData: t, getAvatar: n };
|
|
4832
4849
|
}
|
|
4833
|
-
const
|
|
4850
|
+
const fi = /* @__PURE__ */ de({
|
|
4834
4851
|
name: "FDiscussionList",
|
|
4835
|
-
props:
|
|
4852
|
+
props: Ot,
|
|
4836
4853
|
emits: ["replyMessage", "pageChanged", "pageSize", "filePreview", "fileDownload"],
|
|
4837
4854
|
setup(e, t) {
|
|
4838
4855
|
const {
|
|
4839
4856
|
getData: n
|
|
4840
|
-
} = Ae(
|
|
4857
|
+
} = Ae(cs, {}), {
|
|
4841
4858
|
formatServerData: s,
|
|
4842
4859
|
getAvatar: r
|
|
4843
|
-
} =
|
|
4844
|
-
|
|
4845
|
-
const c =
|
|
4860
|
+
} = mi(e), i = k(e.replyPersonnelsDisplayKey), o = Je();
|
|
4861
|
+
k(e.pagerOnServer);
|
|
4862
|
+
const c = k(e.pageIndex), y = k(e.total), f = k(e.pageSize), l = k(0), u = z(() => re({
|
|
4846
4863
|
"f-discussion-group-content": !0
|
|
4847
4864
|
}, e.customClass)), h = z(() => oe({}, e == null ? void 0 : e.customStyle));
|
|
4848
4865
|
let b = e.discussionData;
|
|
@@ -4865,19 +4882,19 @@ const mi = /* @__PURE__ */ de({
|
|
|
4865
4882
|
}
|
|
4866
4883
|
function w(S) {
|
|
4867
4884
|
const {
|
|
4868
|
-
pageIndex:
|
|
4885
|
+
pageIndex: O,
|
|
4869
4886
|
pageSize: F
|
|
4870
4887
|
} = S;
|
|
4871
4888
|
t.emit("pageChanged", {
|
|
4872
|
-
pageIndex:
|
|
4889
|
+
pageIndex: O,
|
|
4873
4890
|
pageSize: F
|
|
4874
4891
|
});
|
|
4875
4892
|
}
|
|
4876
|
-
function
|
|
4893
|
+
function D(S) {
|
|
4877
4894
|
b = s(S), e.supportPaging && (f.value = S.pageSize, c.value = S.pageIndex, y.value = S.totalCount, p.indexOf(f.value) < 0 && p.unshift(f.value)), l.value++;
|
|
4878
4895
|
}
|
|
4879
4896
|
return t.expose({
|
|
4880
|
-
updateComments:
|
|
4897
|
+
updateComments: D
|
|
4881
4898
|
}), () => e.visible ? d("div", {
|
|
4882
4899
|
class: u.value,
|
|
4883
4900
|
style: h.value,
|
|
@@ -4952,7 +4969,7 @@ const mi = /* @__PURE__ */ de({
|
|
|
4952
4969
|
props: Ve,
|
|
4953
4970
|
emits: ["valueChange", "replyMessage", "pageChanged"],
|
|
4954
4971
|
setup(e, t) {
|
|
4955
|
-
const n =
|
|
4972
|
+
const n = k(), s = k(), r = k(e.replyUser);
|
|
4956
4973
|
qe(() => e.replyUser, (h) => {
|
|
4957
4974
|
r.value = h;
|
|
4958
4975
|
});
|
|
@@ -4981,7 +4998,7 @@ const mi = /* @__PURE__ */ de({
|
|
|
4981
4998
|
}), () => d("div", {
|
|
4982
4999
|
class: i.value,
|
|
4983
5000
|
style: f.value
|
|
4984
|
-
}, [d(
|
|
5001
|
+
}, [d(di, {
|
|
4985
5002
|
ref: n,
|
|
4986
5003
|
onValueChange: o,
|
|
4987
5004
|
id: e.id + "--editor",
|
|
@@ -4997,7 +5014,7 @@ const mi = /* @__PURE__ */ de({
|
|
|
4997
5014
|
cancelVisible: e.cancelVisible,
|
|
4998
5015
|
customStyle: e.editorStyle,
|
|
4999
5016
|
visible: e.editorVisible
|
|
5000
|
-
}, null), d(
|
|
5017
|
+
}, null), d(fi, {
|
|
5001
5018
|
ref: s,
|
|
5002
5019
|
onPageChanged: c,
|
|
5003
5020
|
onReplyMessage: y,
|
|
@@ -5016,8 +5033,8 @@ const mi = /* @__PURE__ */ de({
|
|
|
5016
5033
|
}
|
|
5017
5034
|
}), Xt = Object.assign({}, Ve, {
|
|
5018
5035
|
componentId: { type: String, default: "" }
|
|
5019
|
-
}),
|
|
5020
|
-
class
|
|
5036
|
+
}), pi = os(Xt, ft, wt, Et);
|
|
5037
|
+
class gi extends Sn {
|
|
5021
5038
|
constructor(t, n) {
|
|
5022
5039
|
super(t, n);
|
|
5023
5040
|
}
|
|
@@ -5145,10 +5162,10 @@ class pi extends Sn {
|
|
|
5145
5162
|
};
|
|
5146
5163
|
}
|
|
5147
5164
|
}
|
|
5148
|
-
function
|
|
5165
|
+
function hi(e, t) {
|
|
5149
5166
|
function n(o) {
|
|
5150
5167
|
const c = e.schema;
|
|
5151
|
-
return new
|
|
5168
|
+
return new gi(o, t).getPropertyConfig(c);
|
|
5152
5169
|
}
|
|
5153
5170
|
function s() {
|
|
5154
5171
|
return !1;
|
|
@@ -5166,12 +5183,12 @@ function gi(e, t) {
|
|
|
5166
5183
|
checkCanMoveComponent: i
|
|
5167
5184
|
};
|
|
5168
5185
|
}
|
|
5169
|
-
const
|
|
5186
|
+
const yi = /* @__PURE__ */ de({
|
|
5170
5187
|
name: "FCommentDesign",
|
|
5171
5188
|
props: Xt,
|
|
5172
5189
|
emits: [],
|
|
5173
5190
|
setup(e, t) {
|
|
5174
|
-
const n =
|
|
5191
|
+
const n = k(), s = Ae("design-item-context"), r = Ae("designer-host-service"), i = hi(s, r), o = dn(n, s, i), c = z(() => re({
|
|
5175
5192
|
"f-discussion-group": !0
|
|
5176
5193
|
}, e.customClass)), y = z(() => re({
|
|
5177
5194
|
"f-discussion-group-edit": !0,
|
|
@@ -5387,19 +5404,19 @@ const hi = /* @__PURE__ */ de({
|
|
|
5387
5404
|
}
|
|
5388
5405
|
});
|
|
5389
5406
|
Te.register = (e, t, n, s) => {
|
|
5390
|
-
e.comment = Te, t.comment =
|
|
5407
|
+
e.comment = Te, t.comment = ls;
|
|
5391
5408
|
};
|
|
5392
5409
|
Te.registerDesigner = (e, t, n) => {
|
|
5393
|
-
e.comment =
|
|
5410
|
+
e.comment = yi, t.comment = pi;
|
|
5394
5411
|
};
|
|
5395
|
-
const
|
|
5412
|
+
const Yi = pn(Te);
|
|
5396
5413
|
export {
|
|
5397
5414
|
Te as FComment,
|
|
5398
|
-
|
|
5415
|
+
cs as F_COMMENT_LIST_SERVICE_TOKEN,
|
|
5399
5416
|
Me as MsgInfo,
|
|
5400
5417
|
je as commentEditorProps,
|
|
5401
|
-
|
|
5418
|
+
Ot as commentListProps,
|
|
5402
5419
|
Ve as commentProps,
|
|
5403
|
-
|
|
5404
|
-
|
|
5420
|
+
Yi as default,
|
|
5421
|
+
ls as propsResolver
|
|
5405
5422
|
};
|