antd-vue-dbthor 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/index.es.js +938 -938
- package/dist/lib/index.es.js.gz +0 -0
- package/dist/lib/index.umd.js +20 -20
- package/dist/lib/index.umd.js.gz +0 -0
- package/package.json +1 -1
package/dist/lib/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.ml-2{margin-left:.5rem}.flex{display:flex}.table{display:table}.\\!hidden{display:none!important}.hidden{display:none}.h-full{height:100%}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.items-center{align-items:center}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.p-0{padding:0}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.db-table{position:relative;display:flex;width:100%;flex-direction:column;overflow:hidden;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.db-table .db-table-cies-btns-wrap{padding:.5rem}.db-table .db-table-pagination-wrap{margin-top:1rem;margin-bottom:1rem}.db-table .db-table-pagination-wrap{display:flex}.db-table .db-table-pagination-wrap{width:100%}.db-table .db-table-pagination-wrap{align-items:center}.db-table .db-table-pagination-wrap{justify-content:flex-end}.db-table .db-table-pagination-wrap .ant-pagination{margin:0}.db-table .db-table-pagination-wrap .ant-pagination li{margin-top:0}.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-prev .ant-pagination-item-link,.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-next .ant-pagination-item-link{display:flex}.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-prev .ant-pagination-item-link,.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-next .ant-pagination-item-link{align-items:center}.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-prev .ant-pagination-item-link,.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-next .ant-pagination-item-link{justify-content:center}.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-jump-prev .ant-pagination-item-link .ant-pagination-item-container,.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-jump-next .ant-pagination-item-link .ant-pagination-item-container{display:flex}.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-jump-prev .ant-pagination-item-link .ant-pagination-item-container,.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-jump-next .ant-pagination-item-link .ant-pagination-item-container{height:100%}.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-jump-prev .ant-pagination-item-link .ant-pagination-item-container,.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-jump-next .ant-pagination-item-link .ant-pagination-item-container{align-items:center}.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-jump-prev .ant-pagination-item-link .ant-pagination-item-container,.db-table .db-table-pagination-wrap .ant-pagination .ant-pagination-jump-next .ant-pagination-item-link .ant-pagination-item-container{justify-content:center}.db-table .db-table-wrap{overflow:hidden}.db-table .db-table-wrap,.db-table .db-table-query-form{padding:.5rem}.db-table .db-table-query-form{padding-top:1rem}.db-table .db-table-query-form .ant-form-item{margin-bottom:0}.db-table .ant-form-item .ant-form-item-label>label .ant-form-item-tooltip{display:flex}.db-table-full{height:100%}.db-table-full .db-table-wrap{flex:1 1 0%}')),document.head.appendChild(t)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
-
import { inject as
|
|
3
|
-
import { message as
|
|
4
|
-
import { cloneDeep as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
2
|
+
import { inject as ot, ref as ae, h as mt, getCurrentInstance as wr, nextTick as dl, reactive as At, defineComponent as Qe, createVNode as P, initDirectivesForSSR as ml, createApp as fl, ssrContextKey as Sr, warn as Mn, Fragment as Ue, Static as vl, Comment as kr, Text as Cr, mergeProps as ee, ssrUtils as Fr, toRef as v, useSlots as ko, watch as ft, isVNode as Ft, createSSRApp as hl, toRaw as Co, computed as q, shallowRef as cn, unref as pe, provide as Vo, watchEffect as gl, onBeforeUnmount as Er, triggerRef as xl, cloneVNode as yl, onBeforeMount as bl, onMounted as wl, openBlock as Ye, createElementBlock as Ut, normalizeClass as hn, createCommentVNode as jt, withCtx as wa, renderSlot as Sa, createBlock as Qt, createElementVNode as Sl, createSlots as kl, renderList as Cl, normalizeProps as Fl, guardReactiveProps as El, resolveDynamicComponent as ka } from "vue";
|
|
3
|
+
import { message as ct, Button as st, Popconfirm as Pl, Space as Fo, Input as Pr, InputNumber as jl, Select as Ol, DatePicker as Ml, RangePicker as Bl, Checkbox as Tl, CheckboxGroup as Dl, Radio as Al, RadioGroup as Rl, Modal as jr, Skeleton as Or, Form as rn, Row as Mr, Col as Br, Descriptions as $l, Upload as zl, Pagination as Il, Flex as Ll, Table as _l } from "ant-design-vue";
|
|
4
|
+
import { cloneDeep as sn, isFunction as he, omit as Ca } from "es-toolkit";
|
|
5
|
+
import qn from "big.js";
|
|
6
|
+
import Xe from "dayjs";
|
|
7
|
+
import Hn from "numeral";
|
|
8
8
|
import Nl from "qs";
|
|
9
9
|
function xe(e, t) {
|
|
10
10
|
(function(o) {
|
|
@@ -15,19 +15,19 @@ function xe(e, t) {
|
|
|
15
15
|
}(e);
|
|
16
16
|
return e = t === 360 ? e : Math.min(t, Math.max(0, parseFloat(e))), n && (e = parseInt(String(e * t), 10) / 100), Math.abs(e - t) < 1e-6 ? 1 : e = t === 360 ? (e < 0 ? e % t + t : e % t) / parseFloat(String(t)) : e % t / parseFloat(String(t));
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function kn(e) {
|
|
19
19
|
return Math.min(1, Math.max(0, e));
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Tr(e) {
|
|
22
22
|
return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Cn(e) {
|
|
25
25
|
return e <= 1 ? "".concat(100 * Number(e), "%") : e;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function St(e) {
|
|
28
28
|
return e.length === 1 ? "0" + e : String(e);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Fa(e, t, n) {
|
|
31
31
|
e = xe(e, 255), t = xe(t, 255), n = xe(n, 255);
|
|
32
32
|
var o = Math.max(e, t, n), a = Math.min(e, t, n), r = 0, i = 0, l = (o + a) / 2;
|
|
33
33
|
if (o === a) i = 0, r = 0;
|
|
@@ -47,10 +47,10 @@ function Pa(e, t, n) {
|
|
|
47
47
|
}
|
|
48
48
|
return { h: r, s: i, l };
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function co(e, t, n) {
|
|
51
51
|
return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + 6 * n * (t - e) : n < 0.5 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Eo(e, t, n) {
|
|
54
54
|
e = xe(e, 255), t = xe(t, 255), n = xe(n, 255);
|
|
55
55
|
var o = Math.max(e, t, n), a = Math.min(e, t, n), r = 0, i = o, l = o - a, c = o === 0 ? 0 : l / o;
|
|
56
56
|
if (o === a) r = 0;
|
|
@@ -69,57 +69,57 @@ function jo(e, t, n) {
|
|
|
69
69
|
}
|
|
70
70
|
return { h: r, s: c, v: i };
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
var a = [
|
|
72
|
+
function Po(e, t, n, o) {
|
|
73
|
+
var a = [St(Math.round(e).toString(16)), St(Math.round(t).toString(16)), St(Math.round(n).toString(16))];
|
|
74
74
|
return o && a[0].startsWith(a[0].charAt(1)) && a[1].startsWith(a[1].charAt(1)) && a[2].startsWith(a[2].charAt(1)) ? a[0].charAt(0) + a[1].charAt(0) + a[2].charAt(0) : a.join("");
|
|
75
75
|
}
|
|
76
76
|
function ql(e) {
|
|
77
77
|
return Math.round(255 * parseFloat(e)).toString(16);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
return
|
|
79
|
+
function Ea(e) {
|
|
80
|
+
return Me(e) / 255;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Me(e) {
|
|
83
83
|
return parseInt(e, 16);
|
|
84
84
|
}
|
|
85
|
-
var
|
|
86
|
-
function
|
|
85
|
+
var jo = { aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aqua: "#00ffff", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", black: "#000000", blanchedalmond: "#ffebcd", blue: "#0000ff", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", fuchsia: "#ff00ff", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", goldenrod: "#daa520", gold: "#ffd700", gray: "#808080", green: "#008000", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavenderblush: "#fff0f5", lavender: "#e6e6fa", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", lime: "#00ff00", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", maroon: "#800000", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", navy: "#000080", oldlace: "#fdf5e6", olive: "#808000", olivedrab: "#6b8e23", orange: "#ffa500", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", purple: "#800080", rebeccapurple: "#663399", red: "#ff0000", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", silver: "#c0c0c0", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", teal: "#008080", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", white: "#ffffff", whitesmoke: "#f5f5f5", yellow: "#ffff00", yellowgreen: "#9acd32" };
|
|
86
|
+
function Ot(e) {
|
|
87
87
|
var t = { r: 0, g: 0, b: 0 }, n = 1, o = null, a = null, r = null, i = !1, l = !1;
|
|
88
88
|
return typeof e == "string" && (e = function(c) {
|
|
89
89
|
if (c = c.trim().toLowerCase(), c.length === 0) return !1;
|
|
90
90
|
var m = !1;
|
|
91
|
-
if (
|
|
91
|
+
if (jo[c]) c = jo[c], m = !0;
|
|
92
92
|
else if (c === "transparent") return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
93
|
-
var s =
|
|
94
|
-
return s ? { r: s[1], g: s[2], b: s[3] } : (s =
|
|
95
|
-
}(e)), typeof e == "object" && (
|
|
93
|
+
var s = Le.rgb.exec(c);
|
|
94
|
+
return s ? { r: s[1], g: s[2], b: s[3] } : (s = Le.rgba.exec(c), s ? { r: s[1], g: s[2], b: s[3], a: s[4] } : (s = Le.hsl.exec(c), s ? { h: s[1], s: s[2], l: s[3] } : (s = Le.hsla.exec(c), s ? { h: s[1], s: s[2], l: s[3], a: s[4] } : (s = Le.hsv.exec(c), s ? { h: s[1], s: s[2], v: s[3] } : (s = Le.hsva.exec(c), s ? { h: s[1], s: s[2], v: s[3], a: s[4] } : (s = Le.hex8.exec(c), s ? { r: Me(s[1]), g: Me(s[2]), b: Me(s[3]), a: Ea(s[4]), format: m ? "name" : "hex8" } : (s = Le.hex6.exec(c), s ? { r: Me(s[1]), g: Me(s[2]), b: Me(s[3]), format: m ? "name" : "hex" } : (s = Le.hex4.exec(c), s ? { r: Me(s[1] + s[1]), g: Me(s[2] + s[2]), b: Me(s[3] + s[3]), a: Ea(s[4] + s[4]), format: m ? "name" : "hex8" } : (s = Le.hex3.exec(c), s ? { r: Me(s[1] + s[1]), g: Me(s[2] + s[2]), b: Me(s[3] + s[3]), format: m ? "name" : "hex" } : !1)))))))));
|
|
95
|
+
}(e)), typeof e == "object" && (tt(e.r) && tt(e.g) && tt(e.b) ? (t = function(c, m, s) {
|
|
96
96
|
return { r: 255 * xe(c, 255), g: 255 * xe(m, 255), b: 255 * xe(s, 255) };
|
|
97
|
-
}(e.r, e.g, e.b), i = !0, l = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") :
|
|
97
|
+
}(e.r, e.g, e.b), i = !0, l = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : tt(e.h) && tt(e.s) && tt(e.v) ? (o = Cn(e.s), a = Cn(e.v), t = function(c, m, s) {
|
|
98
98
|
c = 6 * xe(c, 360), m = xe(m, 100), s = xe(s, 100);
|
|
99
99
|
var h = Math.floor(c), g = c - h, y = s * (1 - m), d = s * (1 - g * m), u = s * (1 - (1 - g) * m), b = h % 6;
|
|
100
100
|
return { r: 255 * [s, d, y, y, u, s][b], g: 255 * [u, s, s, d, y, y][b], b: 255 * [y, y, u, s, s, d][b] };
|
|
101
|
-
}(e.h, o, a), i = !0, l = "hsv") :
|
|
101
|
+
}(e.h, o, a), i = !0, l = "hsv") : tt(e.h) && tt(e.s) && tt(e.l) && (o = Cn(e.s), r = Cn(e.l), t = function(c, m, s) {
|
|
102
102
|
var h, g, y;
|
|
103
103
|
if (c = xe(c, 360), m = xe(m, 100), s = xe(s, 100), m === 0) g = s, y = s, h = s;
|
|
104
104
|
else {
|
|
105
105
|
var d = s < 0.5 ? s * (1 + m) : s + m - s * m, u = 2 * s - d;
|
|
106
|
-
h =
|
|
106
|
+
h = co(u, d, c + 1 / 3), g = co(u, d, c), y = co(u, d, c - 1 / 3);
|
|
107
107
|
}
|
|
108
108
|
return { r: 255 * h, g: 255 * g, b: 255 * y };
|
|
109
|
-
}(e.h, o, r), i = !0, l = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n =
|
|
109
|
+
}(e.h, o, r), i = !0, l = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = Tr(n), { ok: i, format: e.format || l, r: Math.min(255, Math.max(t.r, 0)), g: Math.min(255, Math.max(t.g, 0)), b: Math.min(255, Math.max(t.b, 0)), a: n };
|
|
110
110
|
}
|
|
111
|
-
var
|
|
112
|
-
function
|
|
113
|
-
return !!
|
|
111
|
+
var pt = "(?:".concat("[-\\+]?\\d*\\.\\d+%?", ")|(?:").concat("[-\\+]?\\d+%?", ")"), so = "[\\s|\\(]+(".concat(pt, ")[,|\\s]+(").concat(pt, ")[,|\\s]+(").concat(pt, ")\\s*\\)?"), po = "[\\s|\\(]+(".concat(pt, ")[,|\\s]+(").concat(pt, ")[,|\\s]+(").concat(pt, ")[,|\\s]+(").concat(pt, ")\\s*\\)?"), Le = { CSS_UNIT: new RegExp(pt), rgb: new RegExp("rgb" + so), rgba: new RegExp("rgba" + po), hsl: new RegExp("hsl" + so), hsla: new RegExp("hsla" + po), hsv: new RegExp("hsv" + so), hsva: new RegExp("hsva" + po), hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/, hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/ };
|
|
112
|
+
function tt(e) {
|
|
113
|
+
return !!Le.CSS_UNIT.exec(String(e));
|
|
114
114
|
}
|
|
115
|
-
var
|
|
115
|
+
var Fe = function() {
|
|
116
116
|
function e(t, n) {
|
|
117
117
|
var o;
|
|
118
118
|
if (t === void 0 && (t = ""), n === void 0 && (n = {}), t instanceof e) return t;
|
|
119
119
|
typeof t == "number" && (t = function(r) {
|
|
120
120
|
return { r: r >> 16, g: (65280 & r) >> 8, b: 255 & r };
|
|
121
121
|
}(t)), this.originalInput = t;
|
|
122
|
-
var a =
|
|
122
|
+
var a = Ot(t);
|
|
123
123
|
this.originalInput = t, this.r = a.r, this.g = a.g, this.b = a.b, this.a = a.a, this.roundA = Math.round(100 * this.a) / 100, this.format = (o = n.format) !== null && o !== void 0 ? o : a.format, this.gradientType = n.gradientType, this.r < 1 && (this.r = Math.round(this.r)), this.g < 1 && (this.g = Math.round(this.g)), this.b < 1 && (this.b = Math.round(this.b)), this.isValid = a.ok;
|
|
124
124
|
}
|
|
125
125
|
return e.prototype.isDark = function() {
|
|
@@ -135,28 +135,28 @@ var Ee = function() {
|
|
|
135
135
|
}, e.prototype.getAlpha = function() {
|
|
136
136
|
return this.a;
|
|
137
137
|
}, e.prototype.setAlpha = function(t) {
|
|
138
|
-
return this.a =
|
|
138
|
+
return this.a = Tr(t), this.roundA = Math.round(100 * this.a) / 100, this;
|
|
139
139
|
}, e.prototype.isMonochrome = function() {
|
|
140
140
|
return this.toHsl().s === 0;
|
|
141
141
|
}, e.prototype.toHsv = function() {
|
|
142
|
-
var t =
|
|
142
|
+
var t = Eo(this.r, this.g, this.b);
|
|
143
143
|
return { h: 360 * t.h, s: t.s, v: t.v, a: this.a };
|
|
144
144
|
}, e.prototype.toHsvString = function() {
|
|
145
|
-
var t =
|
|
145
|
+
var t = Eo(this.r, this.g, this.b), n = Math.round(360 * t.h), o = Math.round(100 * t.s), a = Math.round(100 * t.v);
|
|
146
146
|
return this.a === 1 ? "hsv(".concat(n, ", ").concat(o, "%, ").concat(a, "%)") : "hsva(".concat(n, ", ").concat(o, "%, ").concat(a, "%, ").concat(this.roundA, ")");
|
|
147
147
|
}, e.prototype.toHsl = function() {
|
|
148
|
-
var t =
|
|
148
|
+
var t = Fa(this.r, this.g, this.b);
|
|
149
149
|
return { h: 360 * t.h, s: t.s, l: t.l, a: this.a };
|
|
150
150
|
}, e.prototype.toHslString = function() {
|
|
151
|
-
var t =
|
|
151
|
+
var t = Fa(this.r, this.g, this.b), n = Math.round(360 * t.h), o = Math.round(100 * t.s), a = Math.round(100 * t.l);
|
|
152
152
|
return this.a === 1 ? "hsl(".concat(n, ", ").concat(o, "%, ").concat(a, "%)") : "hsla(".concat(n, ", ").concat(o, "%, ").concat(a, "%, ").concat(this.roundA, ")");
|
|
153
153
|
}, e.prototype.toHex = function(t) {
|
|
154
|
-
return t === void 0 && (t = !1),
|
|
154
|
+
return t === void 0 && (t = !1), Po(this.r, this.g, this.b, t);
|
|
155
155
|
}, e.prototype.toHexString = function(t) {
|
|
156
156
|
return t === void 0 && (t = !1), "#" + this.toHex(t);
|
|
157
157
|
}, e.prototype.toHex8 = function(t) {
|
|
158
158
|
return t === void 0 && (t = !1), function(n, o, a, r, i) {
|
|
159
|
-
var l = [
|
|
159
|
+
var l = [St(Math.round(n).toString(16)), St(Math.round(o).toString(16)), St(Math.round(a).toString(16)), St(ql(r))];
|
|
160
160
|
return i && l[0].startsWith(l[0].charAt(1)) && l[1].startsWith(l[1].charAt(1)) && l[2].startsWith(l[2].charAt(1)) && l[3].startsWith(l[3].charAt(1)) ? l[0].charAt(0) + l[1].charAt(0) + l[2].charAt(0) + l[3].charAt(0) : l.join("");
|
|
161
161
|
}(this.r, this.g, this.b, this.a, t);
|
|
162
162
|
}, e.prototype.toHex8String = function(t) {
|
|
@@ -181,7 +181,7 @@ var Ee = function() {
|
|
|
181
181
|
}, e.prototype.toName = function() {
|
|
182
182
|
if (this.a === 0) return "transparent";
|
|
183
183
|
if (this.a < 1) return !1;
|
|
184
|
-
for (var t = "#" +
|
|
184
|
+
for (var t = "#" + Po(this.r, this.g, this.b, !1), n = 0, o = Object.entries(jo); n < o.length; n++) {
|
|
185
185
|
var a = o[n], r = a[0];
|
|
186
186
|
if (t === a[1]) return r;
|
|
187
187
|
}
|
|
@@ -198,7 +198,7 @@ var Ee = function() {
|
|
|
198
198
|
}, e.prototype.lighten = function(t) {
|
|
199
199
|
t === void 0 && (t = 10);
|
|
200
200
|
var n = this.toHsl();
|
|
201
|
-
return n.l += t / 100, n.l =
|
|
201
|
+
return n.l += t / 100, n.l = kn(n.l), new e(n);
|
|
202
202
|
}, e.prototype.brighten = function(t) {
|
|
203
203
|
t === void 0 && (t = 10);
|
|
204
204
|
var n = this.toRgb();
|
|
@@ -206,7 +206,7 @@ var Ee = function() {
|
|
|
206
206
|
}, e.prototype.darken = function(t) {
|
|
207
207
|
t === void 0 && (t = 10);
|
|
208
208
|
var n = this.toHsl();
|
|
209
|
-
return n.l -= t / 100, n.l =
|
|
209
|
+
return n.l -= t / 100, n.l = kn(n.l), new e(n);
|
|
210
210
|
}, e.prototype.tint = function(t) {
|
|
211
211
|
return t === void 0 && (t = 10), this.mix("white", t);
|
|
212
212
|
}, e.prototype.shade = function(t) {
|
|
@@ -214,11 +214,11 @@ var Ee = function() {
|
|
|
214
214
|
}, e.prototype.desaturate = function(t) {
|
|
215
215
|
t === void 0 && (t = 10);
|
|
216
216
|
var n = this.toHsl();
|
|
217
|
-
return n.s -= t / 100, n.s =
|
|
217
|
+
return n.s -= t / 100, n.s = kn(n.s), new e(n);
|
|
218
218
|
}, e.prototype.saturate = function(t) {
|
|
219
219
|
t === void 0 && (t = 10);
|
|
220
220
|
var n = this.toHsl();
|
|
221
|
-
return n.s += t / 100, n.s =
|
|
221
|
+
return n.s += t / 100, n.s = kn(n.s), new e(n);
|
|
222
222
|
}, e.prototype.greyscale = function() {
|
|
223
223
|
return this.desaturate(100);
|
|
224
224
|
}, e.prototype.spin = function(t) {
|
|
@@ -257,79 +257,79 @@ var Ee = function() {
|
|
|
257
257
|
return this.toRgbString() === new e(t).toRgbString();
|
|
258
258
|
}, e;
|
|
259
259
|
}(), Hl = [{ index: 7, opacity: 0.15 }, { index: 6, opacity: 0.25 }, { index: 5, opacity: 0.3 }, { index: 5, opacity: 0.45 }, { index: 5, opacity: 0.65 }, { index: 5, opacity: 0.85 }, { index: 4, opacity: 0.9 }, { index: 3, opacity: 0.95 }, { index: 2, opacity: 0.97 }, { index: 1, opacity: 0.98 }];
|
|
260
|
-
function
|
|
261
|
-
var t =
|
|
260
|
+
function Pa(e) {
|
|
261
|
+
var t = Eo(e.r, e.g, e.b);
|
|
262
262
|
return { h: 360 * t.h, s: t.s, v: t.v };
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function Fn(e) {
|
|
265
265
|
var t = e.r, n = e.g, o = e.b;
|
|
266
|
-
return "#".concat(
|
|
266
|
+
return "#".concat(Po(t, n, o, !1));
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function ja(e, t, n) {
|
|
269
269
|
var o;
|
|
270
270
|
return (o = Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? n ? Math.round(e.h) - 2 * t : Math.round(e.h) + 2 * t : n ? Math.round(e.h) + 2 * t : Math.round(e.h) - 2 * t) < 0 ? o += 360 : o >= 360 && (o -= 360), o;
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function Oa(e, t, n) {
|
|
273
273
|
return e.h === 0 && e.s === 0 ? e.s : ((o = n ? e.s - 0.16 * t : t === 4 ? e.s + 0.16 : e.s + 0.05 * t) > 1 && (o = 1), n && t === 5 && o > 0.1 && (o = 0.1), o < 0.06 && (o = 0.06), Number(o.toFixed(2)));
|
|
274
274
|
var o;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function Ma(e, t, n) {
|
|
277
277
|
var o;
|
|
278
278
|
return (o = n ? e.v + 0.05 * t : e.v - 0.15 * t) > 1 && (o = 1), Number(o.toFixed(2));
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], o =
|
|
282
|
-
var r =
|
|
280
|
+
function pn(e) {
|
|
281
|
+
for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], o = Ot(e), a = 5; a > 0; a -= 1) {
|
|
282
|
+
var r = Pa(o), i = Fn(Ot({ h: ja(r, a, !0), s: Oa(r, a, !0), v: Ma(r, a, !0) }));
|
|
283
283
|
n.push(i);
|
|
284
284
|
}
|
|
285
|
-
n.push(
|
|
285
|
+
n.push(Fn(o));
|
|
286
286
|
for (var l = 1; l <= 4; l += 1) {
|
|
287
|
-
var c =
|
|
287
|
+
var c = Pa(o), m = Fn(Ot({ h: ja(c, l), s: Oa(c, l), v: Ma(c, l) }));
|
|
288
288
|
n.push(m);
|
|
289
289
|
}
|
|
290
290
|
return t.theme === "dark" ? Hl.map(function(s) {
|
|
291
|
-
var h = s.index, g = s.opacity, y =
|
|
291
|
+
var h = s.index, g = s.opacity, y = Fn(function(d, u, b) {
|
|
292
292
|
var p = b / 100;
|
|
293
293
|
return { r: (u.r - d.r) * p + d.r, g: (u.g - d.g) * p + d.g, b: (u.b - d.b) * p + d.b };
|
|
294
|
-
}(
|
|
294
|
+
}(Ot(t.backgroundColor || "#141414"), Ot(n[h]), 100 * g));
|
|
295
295
|
return y;
|
|
296
296
|
}) : n;
|
|
297
297
|
}
|
|
298
|
-
var
|
|
299
|
-
Object.keys(
|
|
300
|
-
|
|
298
|
+
var uo = { red: "#F5222D", volcano: "#FA541C", orange: "#FA8C16", gold: "#FAAD14", yellow: "#FADB14", lime: "#A0D911", green: "#52C41A", cyan: "#13C2C2", blue: "#1890FF", geekblue: "#2F54EB", purple: "#722ED1", magenta: "#EB2F96", grey: "#666666" }, Bn = {}, mo = {};
|
|
299
|
+
Object.keys(uo).forEach(function(e) {
|
|
300
|
+
Bn[e] = pn(uo[e]), Bn[e].primary = Bn[e][5], mo[e] = pn(uo[e], { theme: "dark", backgroundColor: "#141414" }), mo[e].primary = mo[e][5];
|
|
301
301
|
});
|
|
302
|
-
var Yl =
|
|
303
|
-
return
|
|
302
|
+
var Yl = Bn.blue, Wl = Symbol("iconContext"), Dr = function() {
|
|
303
|
+
return ot(Wl, { prefixCls: ae("anticon"), rootClassName: ae(""), csp: ae() });
|
|
304
304
|
};
|
|
305
|
-
function
|
|
305
|
+
function Xo() {
|
|
306
306
|
return !(typeof window > "u" || !window.document || !window.document.createElement);
|
|
307
307
|
}
|
|
308
|
-
var
|
|
309
|
-
function
|
|
308
|
+
var Ba = "data-vc-order", Oo = /* @__PURE__ */ new Map();
|
|
309
|
+
function Ta() {
|
|
310
310
|
var e = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}).mark;
|
|
311
311
|
return e ? e.startsWith("data-") ? e : "data-".concat(e) : "vc-icon-key";
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function Mo(e) {
|
|
314
314
|
return e.attachTo ? e.attachTo : document.querySelector("head") || document.body;
|
|
315
315
|
}
|
|
316
|
-
function
|
|
317
|
-
return Array.from((
|
|
316
|
+
function Ar(e) {
|
|
317
|
+
return Array.from((Oo.get(e) || e).children).filter(function(t) {
|
|
318
318
|
return t.tagName === "STYLE";
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function Da(e) {
|
|
322
322
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
323
|
-
if (!
|
|
323
|
+
if (!Xo()) return null;
|
|
324
324
|
var n = t.csp, o = t.prepend, a = document.createElement("style");
|
|
325
|
-
a.setAttribute(
|
|
325
|
+
a.setAttribute(Ba, /* @__PURE__ */ function(c) {
|
|
326
326
|
return c === "queue" ? "prependQueue" : c ? "prepend" : "append";
|
|
327
327
|
}(o)), n && n.nonce && (a.nonce = n.nonce), a.innerHTML = e;
|
|
328
|
-
var r =
|
|
328
|
+
var r = Mo(t), i = r.firstChild;
|
|
329
329
|
if (o) {
|
|
330
330
|
if (o === "queue") {
|
|
331
|
-
var l =
|
|
332
|
-
return ["prepend", "prependQueue"].includes(c.getAttribute(
|
|
331
|
+
var l = Ar(r).filter(function(c) {
|
|
332
|
+
return ["prepend", "prependQueue"].includes(c.getAttribute(Ba));
|
|
333
333
|
});
|
|
334
334
|
if (l.length) return r.insertBefore(a, l[l.length - 1].nextSibling), a;
|
|
335
335
|
}
|
|
@@ -340,25 +340,25 @@ function Ra(e) {
|
|
|
340
340
|
function Gl(e, t) {
|
|
341
341
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
342
342
|
(function(r, i) {
|
|
343
|
-
var l =
|
|
343
|
+
var l = Oo.get(r);
|
|
344
344
|
if (!l || !function(s, h) {
|
|
345
345
|
return !!s && !!s.contains && s.contains(h);
|
|
346
346
|
}(document, l)) {
|
|
347
|
-
var c =
|
|
348
|
-
|
|
347
|
+
var c = Da("", i), m = c.parentNode;
|
|
348
|
+
Oo.set(r, m), r.removeChild(c);
|
|
349
349
|
}
|
|
350
|
-
})(
|
|
350
|
+
})(Mo(n), n);
|
|
351
351
|
var o = function(r) {
|
|
352
352
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
353
|
-
return
|
|
354
|
-
return l.getAttribute(
|
|
353
|
+
return Ar(Mo(i)).find(function(l) {
|
|
354
|
+
return l.getAttribute(Ta(i)) === r;
|
|
355
355
|
});
|
|
356
356
|
}(t, n);
|
|
357
357
|
if (o) return n.csp && n.csp.nonce && o.nonce !== n.csp.nonce && (o.nonce = n.csp.nonce), o.innerHTML !== e && (o.innerHTML = e), o;
|
|
358
|
-
var a =
|
|
359
|
-
return a.setAttribute(
|
|
358
|
+
var a = Da(e, n);
|
|
359
|
+
return a.setAttribute(Ta(n), t), a;
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Aa(e) {
|
|
362
362
|
for (var t = 1; t < arguments.length; t++) {
|
|
363
363
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
364
364
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
@@ -377,27 +377,27 @@ function Xl(e, t) {
|
|
|
377
377
|
process.env.NODE_ENV === "production" || n || console === void 0 || console.error("Warning: ".concat(o));
|
|
378
378
|
})(e, "[@ant-design/icons-vue] ".concat(t));
|
|
379
379
|
}
|
|
380
|
-
function
|
|
380
|
+
function Ra(e) {
|
|
381
381
|
return typeof e == "object" && typeof e.name == "string" && typeof e.theme == "string" && (typeof e.icon == "object" || typeof e.icon == "function");
|
|
382
382
|
}
|
|
383
|
-
function
|
|
384
|
-
return
|
|
385
|
-
return
|
|
383
|
+
function Rr(e, t, n) {
|
|
384
|
+
return mt(e.tag, n ? Aa({ key: t }, n, e.attrs) : Aa({ key: t }, e.attrs), (e.children || []).map(function(o, a) {
|
|
385
|
+
return Rr(o, "".concat(t, "-").concat(e.tag, "-").concat(a));
|
|
386
386
|
}));
|
|
387
387
|
}
|
|
388
|
-
function
|
|
389
|
-
return
|
|
388
|
+
function $r(e) {
|
|
389
|
+
return pn(e)[0];
|
|
390
390
|
}
|
|
391
|
-
function
|
|
391
|
+
function zr(e) {
|
|
392
392
|
return e ? Array.isArray(e) ? e : [e] : [];
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function $a(e) {
|
|
395
395
|
return e && e.getRootNode && e.getRootNode();
|
|
396
396
|
}
|
|
397
397
|
function Ul(e) {
|
|
398
398
|
return function(t) {
|
|
399
|
-
return !!
|
|
400
|
-
}(e) ?
|
|
399
|
+
return !!Xo() && $a(t) instanceof ShadowRoot;
|
|
400
|
+
}(e) ? $a(e) : null;
|
|
401
401
|
}
|
|
402
402
|
var Ql = ["icon", "primaryColor", "secondaryColor"];
|
|
403
403
|
function Kl(e, t) {
|
|
@@ -414,7 +414,7 @@ function Kl(e, t) {
|
|
|
414
414
|
}
|
|
415
415
|
return a;
|
|
416
416
|
}
|
|
417
|
-
function
|
|
417
|
+
function Tn(e) {
|
|
418
418
|
for (var t = 1; t < arguments.length; t++) {
|
|
419
419
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
420
420
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
@@ -428,11 +428,11 @@ function Dn(e) {
|
|
|
428
428
|
function Jl(e, t, n) {
|
|
429
429
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
430
430
|
}
|
|
431
|
-
var
|
|
432
|
-
var n =
|
|
433
|
-
if (a && (l = { primaryColor: a, secondaryColor: r ||
|
|
431
|
+
var nn = At({ primaryColor: "#333", secondaryColor: "#E6E6E6", calculated: !1 }), lt = function(e, t) {
|
|
432
|
+
var n = Tn({}, e, t.attrs), o = n.icon, a = n.primaryColor, r = n.secondaryColor, i = Kl(n, Ql), l = nn;
|
|
433
|
+
if (a && (l = { primaryColor: a, secondaryColor: r || $r(a) }), Xl(Ra(o), "icon should be icon definiton, but got ".concat(o)), !Ra(o)) return null;
|
|
434
434
|
var c = o;
|
|
435
|
-
return c && typeof c.icon == "function" && (c =
|
|
435
|
+
return c && typeof c.icon == "function" && (c = Tn({}, c, { icon: c.icon(l.primaryColor, l.secondaryColor) })), Rr(c.icon, "svg-".concat(c.name), Tn({}, i, { "data-icon": c.name, width: "1em", height: "1em", fill: "currentColor", "aria-hidden": "true" }));
|
|
436
436
|
};
|
|
437
437
|
function Zl(e, t) {
|
|
438
438
|
return function(n) {
|
|
@@ -456,34 +456,34 @@ function Zl(e, t) {
|
|
|
456
456
|
}
|
|
457
457
|
}(e, t) || function(n, o) {
|
|
458
458
|
if (n) {
|
|
459
|
-
if (typeof n == "string") return
|
|
459
|
+
if (typeof n == "string") return za(n, o);
|
|
460
460
|
var a = Object.prototype.toString.call(n).slice(8, -1);
|
|
461
461
|
if (a === "Object" && n.constructor && (a = n.constructor.name), a === "Map" || a === "Set") return Array.from(n);
|
|
462
|
-
if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return
|
|
462
|
+
if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return za(n, o);
|
|
463
463
|
}
|
|
464
464
|
}(e, t) || function() {
|
|
465
465
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
466
466
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
467
467
|
}();
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function za(e, t) {
|
|
470
470
|
(t == null || t > e.length) && (t = e.length);
|
|
471
471
|
for (var n = 0, o = new Array(t); n < t; n++) o[n] = e[n];
|
|
472
472
|
return o;
|
|
473
473
|
}
|
|
474
|
-
function
|
|
475
|
-
var t = Zl(
|
|
476
|
-
return
|
|
474
|
+
function Ir(e) {
|
|
475
|
+
var t = Zl(zr(e), 2), n = t[0], o = t[1];
|
|
476
|
+
return lt.setTwoToneColors({ primaryColor: n, secondaryColor: o });
|
|
477
477
|
}
|
|
478
|
-
|
|
479
|
-
return
|
|
480
|
-
},
|
|
478
|
+
lt.props = { icon: Object, primaryColor: String, secondaryColor: String, focusable: String }, lt.inheritAttrs = !1, lt.displayName = "IconBase", lt.getTwoToneColors = function() {
|
|
479
|
+
return Tn({}, nn);
|
|
480
|
+
}, lt.setTwoToneColors = function(e) {
|
|
481
481
|
var t = e.primaryColor, n = e.secondaryColor;
|
|
482
|
-
|
|
482
|
+
nn.primaryColor = t, nn.secondaryColor = n || $r(t), nn.calculated = !!n;
|
|
483
483
|
};
|
|
484
|
-
var ec =
|
|
484
|
+
var ec = Qe({ name: "InsertStyles", setup: function() {
|
|
485
485
|
var e, t, n, o, a;
|
|
486
|
-
return e =
|
|
486
|
+
return e = Dr(), t = e.prefixCls, n = e.csp, o = wr(), a = `
|
|
487
487
|
.anticon {
|
|
488
488
|
display: inline-block;
|
|
489
489
|
color: inherit;
|
|
@@ -538,7 +538,7 @@ var ec = Ke({ name: "InsertStyles", setup: function() {
|
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
`, t && (a = a.replace(/anticon/g, t.value)), dl(function() {
|
|
541
|
-
if (
|
|
541
|
+
if (Xo()) {
|
|
542
542
|
var r = Ul(o.vnode.el);
|
|
543
543
|
Gl(a, "@ant-design-vue-icons", { prepend: !0, csp: n.value, attachTo: r });
|
|
544
544
|
}
|
|
@@ -568,33 +568,33 @@ function nc(e, t) {
|
|
|
568
568
|
}
|
|
569
569
|
}(e, t) || function(n, o) {
|
|
570
570
|
if (n) {
|
|
571
|
-
if (typeof n == "string") return
|
|
571
|
+
if (typeof n == "string") return Ia(n, o);
|
|
572
572
|
var a = Object.prototype.toString.call(n).slice(8, -1);
|
|
573
573
|
if (a === "Object" && n.constructor && (a = n.constructor.name), a === "Map" || a === "Set") return Array.from(n);
|
|
574
|
-
if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return
|
|
574
|
+
if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return Ia(n, o);
|
|
575
575
|
}
|
|
576
576
|
}(e, t) || function() {
|
|
577
577
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
578
578
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
579
579
|
}();
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function Ia(e, t) {
|
|
582
582
|
(t == null || t > e.length) && (t = e.length);
|
|
583
583
|
for (var n = 0, o = new Array(t); n < t; n++) o[n] = e[n];
|
|
584
584
|
return o;
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function La(e) {
|
|
587
587
|
for (var t = 1; t < arguments.length; t++) {
|
|
588
588
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
589
589
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
590
590
|
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
591
591
|
}))), o.forEach(function(a) {
|
|
592
|
-
|
|
592
|
+
on(e, a, n[a]);
|
|
593
593
|
});
|
|
594
594
|
}
|
|
595
595
|
return e;
|
|
596
596
|
}
|
|
597
|
-
function
|
|
597
|
+
function on(e, t, n) {
|
|
598
598
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
599
599
|
}
|
|
600
600
|
function oc(e, t) {
|
|
@@ -611,19 +611,19 @@ function oc(e, t) {
|
|
|
611
611
|
}
|
|
612
612
|
return a;
|
|
613
613
|
}
|
|
614
|
-
|
|
615
|
-
var
|
|
616
|
-
var n, o =
|
|
614
|
+
Ir(Yl.primary);
|
|
615
|
+
var yt = function(e, t) {
|
|
616
|
+
var n, o = La({}, e, t.attrs), a = o.class, r = o.icon, i = o.spin, l = o.rotate, c = o.tabindex, m = o.twoToneColor, s = o.onClick, h = oc(o, tc), g = Dr(), y = g.prefixCls, d = g.rootClassName, u = (on(n = {}, d.value, !!d.value), on(n, y.value, !0), on(n, "".concat(y.value, "-").concat(r.name), !!r.name), on(n, "".concat(y.value, "-spin"), !!i || r.name === "loading"), n), b = c;
|
|
617
617
|
b === void 0 && s && (b = -1);
|
|
618
|
-
var p = l ? { msTransform: "rotate(".concat(l, "deg)"), transform: "rotate(".concat(l, "deg)") } : void 0, x = nc(
|
|
619
|
-
return P("span",
|
|
618
|
+
var p = l ? { msTransform: "rotate(".concat(l, "deg)"), transform: "rotate(".concat(l, "deg)") } : void 0, x = nc(zr(m), 2), w = x[0], S = x[1];
|
|
619
|
+
return P("span", La({ role: "img", "aria-label": r.name }, h, { onClick: s, class: [u, a], tabindex: b }), [P(lt, { icon: r, primaryColor: w, secondaryColor: S, style: p }, null), P(ec, null, null)]);
|
|
620
620
|
};
|
|
621
|
-
|
|
622
|
-
var e =
|
|
621
|
+
yt.props = { spin: Boolean, rotate: Number, icon: Object, twoToneColor: [String, Array] }, yt.displayName = "AntdIcon", yt.inheritAttrs = !1, yt.getTwoToneColor = function() {
|
|
622
|
+
var e = lt.getTwoToneColors();
|
|
623
623
|
return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
|
|
624
|
-
},
|
|
624
|
+
}, yt.setTwoToneColor = Ir;
|
|
625
625
|
var ac = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z" } }] }, name: "export", theme: "outlined" };
|
|
626
|
-
function
|
|
626
|
+
function _a(e) {
|
|
627
627
|
for (var t = 1; t < arguments.length; t++) {
|
|
628
628
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
629
629
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
@@ -637,13 +637,13 @@ function qa(e) {
|
|
|
637
637
|
function rc(e, t, n) {
|
|
638
638
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
639
639
|
}
|
|
640
|
-
var
|
|
641
|
-
var n =
|
|
642
|
-
return P(
|
|
640
|
+
var Bo = function(e, t) {
|
|
641
|
+
var n = _a({}, e, t.attrs);
|
|
642
|
+
return P(yt, _a({}, n, { icon: ac }), null);
|
|
643
643
|
};
|
|
644
|
-
|
|
644
|
+
Bo.displayName = "ExportOutlined", Bo.inheritAttrs = !1;
|
|
645
645
|
var ic = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM653.3 424.6l52.2 52.2a8.01 8.01 0 01-4.7 13.6l-179.4 21c-5.1.6-9.5-3.7-8.9-8.9l21-179.4c.8-6.6 8.9-9.4 13.6-4.7l52.4 52.4 256.2-256.2c3.1-3.1 8.2-3.1 11.3 0l42.4 42.4c3.1 3.1 3.1 8.2 0 11.3L653.3 424.6z" } }] }, name: "import", theme: "outlined" };
|
|
646
|
-
function
|
|
646
|
+
function Na(e) {
|
|
647
647
|
for (var t = 1; t < arguments.length; t++) {
|
|
648
648
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
649
649
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
@@ -657,16 +657,16 @@ function Ha(e) {
|
|
|
657
657
|
function lc(e, t, n) {
|
|
658
658
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
659
659
|
}
|
|
660
|
-
var
|
|
661
|
-
var n =
|
|
662
|
-
return P(
|
|
660
|
+
var To = function(e, t) {
|
|
661
|
+
var n = Na({}, e, t.attrs);
|
|
662
|
+
return P(yt, Na({}, n, { icon: ic }), null);
|
|
663
663
|
};
|
|
664
|
-
|
|
665
|
-
const cc = { full: !1, scroll: { x: "max-content", y: "auto" }, tableLayout: "fixed", fieldsNames: { list: "list", page: "page", pageSize: "pageSize", total: "total", detail: "data", export: "data" }, onSourceSuccess: null, onSourceError: null, onBeforeRowEditBackFill: null, onGetRowDetail: null, onBeforeCuFormSubmit: null, onCuFormSubmitSuccess: null, onCuFormSubmitError: null, onBeforeRowDelete: null, onRowDeleteSuccess: null, onRowDeleteError: null, onExportRequestSuccess: null, onExportSuccess: null, onExportError: null, importFileParamsFormat: null, onImportSuccess: null, onImportError: null, ownPagin: !0, ownPaginProps: { showSizeChanger: !0, showTotal: (e) => `共${e}条数据`, showQuickJumper: !0 }, queryForm: !0, queryFormProps: null, queryFormSubmitWithReset: !1, queryFormRowProps: null, queryFormColProps: null, queryFormFlexProps: null, queryFormSubmitBtn: !0, queryFormResetBtn: !0, queryFormSubmitBtnProps: { type: "primary", children: "查询" }, queryFormResetBtnProps: { children: "重置" }, indexColumn: !0, indexColumnWidth: 80, indexColumnProps: {}, controlColumn: !0, controlColumnWidth: 220, controlColumnWidthProps: {}, columnsAlign: "left", columnsTitleNoWrap: !0, columnsTimeFormat: "YYYY-MM-DD HH:mm:ss", columnsEmptyText: "-", controlColumnBtns: { detail: { type: "link", children: "详情" }, edit: { type: "link", children: "编辑" }, delete: { type: "link", danger: !0, children: "删除" } }, cuFormProps: { labelCol: { span: 10 } }, cuFormRules: null, cuFormModalProps: { width: "65%", destroyOnClose: !0 }, cuFormRowProps: null, cuFormColProps: { span: 8 }, cuFormBackFillByGetDetail: !0, tableTextConfig: { modalTitle: { create: "新增", update: "编辑", detail: "详情" }, message: { createSuccess: "新增成功!", createError: "新增失败!", updateSuccess: "编辑成功!", updateError: "编辑失败!", deleteSuccess: "删除成功!", deleteError: "删除失败!", exportSuccess: "导出成功!", exportError: "导出失败!", importSuccess: "导入成功!", importError: "导入失败!" } }, detailBackFillByGetDetail: !0, detailDescItemEmptyText: "-", detailDescItemProps: null, detailDescItemTimeFormat: "YYYY-MM-DD HH:mm:ss", detailModalProps: {}, detailDescProps: {}, ciesBtns: !0, ciesBtnsInQueryForm: !1, createBtn: { children: "新增" }, importBtn: { children: "导入", icon: P(
|
|
666
|
-
function
|
|
664
|
+
To.displayName = "ImportOutlined", To.inheritAttrs = !1;
|
|
665
|
+
const cc = { full: !1, scroll: { x: "max-content", y: "auto" }, tableLayout: "fixed", fieldsNames: { list: "list", page: "page", pageSize: "pageSize", total: "total", detail: "data", export: "data" }, onSourceSuccess: null, onSourceError: null, onBeforeRowEditBackFill: null, onGetRowDetail: null, onBeforeCuFormSubmit: null, onCuFormSubmitSuccess: null, onCuFormSubmitError: null, onBeforeRowDelete: null, onRowDeleteSuccess: null, onRowDeleteError: null, onExportRequestSuccess: null, onExportSuccess: null, onExportError: null, importFileParamsFormat: null, onImportSuccess: null, onImportError: null, ownPagin: !0, ownPaginProps: { showSizeChanger: !0, showTotal: (e) => `共${e}条数据`, showQuickJumper: !0 }, queryForm: !0, queryFormProps: null, queryFormSubmitWithReset: !1, queryFormRowProps: null, queryFormColProps: null, queryFormFlexProps: null, queryFormSubmitBtn: !0, queryFormResetBtn: !0, queryFormSubmitBtnProps: { type: "primary", children: "查询" }, queryFormResetBtnProps: { children: "重置" }, indexColumn: !0, indexColumnWidth: 80, indexColumnProps: {}, controlColumn: !0, controlColumnWidth: 220, controlColumnWidthProps: {}, columnsAlign: "left", columnsTitleNoWrap: !0, columnsTimeFormat: "YYYY-MM-DD HH:mm:ss", columnsEmptyText: "-", controlColumnBtns: { detail: { type: "link", children: "详情" }, edit: { type: "link", children: "编辑" }, delete: { type: "link", danger: !0, children: "删除" } }, cuFormProps: { labelCol: { span: 10 } }, cuFormRules: null, cuFormModalProps: { width: "65%", destroyOnClose: !0 }, cuFormRowProps: null, cuFormColProps: { span: 8 }, cuFormBackFillByGetDetail: !0, tableTextConfig: { modalTitle: { create: "新增", update: "编辑", detail: "详情" }, message: { createSuccess: "新增成功!", createError: "新增失败!", updateSuccess: "编辑成功!", updateError: "编辑失败!", deleteSuccess: "删除成功!", deleteError: "删除失败!", exportSuccess: "导出成功!", exportError: "导出失败!", importSuccess: "导入成功!", importError: "导入失败!" } }, detailBackFillByGetDetail: !0, detailDescItemEmptyText: "-", detailDescItemProps: null, detailDescItemTimeFormat: "YYYY-MM-DD HH:mm:ss", detailModalProps: {}, detailDescProps: {}, ciesBtns: !0, ciesBtnsInQueryForm: !1, createBtn: { children: "新增" }, importBtn: { children: "导入", icon: P(To, null, null) }, exportBtn: { children: "导出", icon: P(Bo, null, null) }, exportFileByParams: !0, importUploadProps: null }, R = { table: cc };
|
|
666
|
+
function Tt(e) {
|
|
667
667
|
return typeof e == "function";
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function Re(e, t, n) {
|
|
670
670
|
if (e == null) return n;
|
|
671
671
|
switch (typeof t) {
|
|
672
672
|
case "string": {
|
|
@@ -679,7 +679,7 @@ function $e(e, t, n) {
|
|
|
679
679
|
case "string":
|
|
680
680
|
return r.includes(".") || r.includes("[") || r.includes("]");
|
|
681
681
|
}
|
|
682
|
-
}(t) ?
|
|
682
|
+
}(t) ? Re(e, function(r) {
|
|
683
683
|
const i = [], l = r.length;
|
|
684
684
|
if (l === 0) return i;
|
|
685
685
|
let c = 0, m = "", s = "", h = !1;
|
|
@@ -712,12 +712,12 @@ function $e(e, t, n) {
|
|
|
712
712
|
}
|
|
713
713
|
var o;
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function Dn(e) {
|
|
716
716
|
return e !== null && (typeof e == "object" || typeof e == "function");
|
|
717
717
|
}
|
|
718
|
-
const
|
|
719
|
-
const t =
|
|
720
|
-
for (let o in t) n = t[o], (Array.isArray(n) ||
|
|
718
|
+
const An = ["emptyText", "expandIcon", "title", "footer", "summary", "expandedRowRender", "expandColumnTitle", "bodyCell", "headerCell", "customFilterIcon", "customFilterDropdown", "default"], sc = (e) => {
|
|
719
|
+
const t = sn(e);
|
|
720
|
+
for (let o in t) n = t[o], (Array.isArray(n) || Dn(t[o])) && (t[o] = t[o]);
|
|
721
721
|
var n;
|
|
722
722
|
return t;
|
|
723
723
|
};
|
|
@@ -728,29 +728,29 @@ const Rn = ["emptyText", "expandIcon", "title", "footer", "summary", "expandedRo
|
|
|
728
728
|
**/
|
|
729
729
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
730
730
|
// @__NO_SIDE_EFFECTS__
|
|
731
|
-
function
|
|
731
|
+
function Xn(e) {
|
|
732
732
|
const t = /* @__PURE__ */ Object.create(null);
|
|
733
733
|
for (const n of e.split(",")) t[n] = 1;
|
|
734
734
|
return (n) => n in t;
|
|
735
735
|
}
|
|
736
736
|
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
737
737
|
process.env.NODE_ENV === "production" || Object.freeze([]);
|
|
738
|
-
const
|
|
739
|
-
}, pc = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97),
|
|
738
|
+
const Do = () => {
|
|
739
|
+
}, pc = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Uo = Array.isArray, Rn = (e) => typeof e == "function", _e = (e) => typeof e == "string", Qo = (e) => e !== null && typeof e == "object", Yn = (e) => (Qo(e) || Rn(e)) && Rn(e.then) && Rn(e.catch), uc = /\B([A-Z])/g, dc = /* @__PURE__ */ ((e) => {
|
|
740
740
|
const t = /* @__PURE__ */ Object.create(null);
|
|
741
741
|
return (n) => t[n] || (t[n] = e(n));
|
|
742
742
|
})((e) => e.replace(uc, "-$1").toLowerCase());
|
|
743
|
-
let
|
|
744
|
-
function
|
|
745
|
-
if (
|
|
743
|
+
let qa;
|
|
744
|
+
function Lr(e) {
|
|
745
|
+
if (Uo(e)) {
|
|
746
746
|
const t = {};
|
|
747
747
|
for (let n = 0; n < e.length; n++) {
|
|
748
|
-
const o = e[n], a =
|
|
748
|
+
const o = e[n], a = _e(o) ? hc(o) : Lr(o);
|
|
749
749
|
if (a) for (const r in a) t[r] = a[r];
|
|
750
750
|
}
|
|
751
751
|
return t;
|
|
752
752
|
}
|
|
753
|
-
if (
|
|
753
|
+
if (_e(e) || Qo(e)) return e;
|
|
754
754
|
}
|
|
755
755
|
const mc = /;(?![^(]*\))/g, fc = /:([^]+)/, vc = /\/\*[^]*?\*\//g;
|
|
756
756
|
function hc(e) {
|
|
@@ -762,18 +762,18 @@ function hc(e) {
|
|
|
762
762
|
}
|
|
763
763
|
}), t;
|
|
764
764
|
}
|
|
765
|
-
function
|
|
765
|
+
function _r(e) {
|
|
766
766
|
let t = "";
|
|
767
|
-
if (
|
|
768
|
-
else if (
|
|
769
|
-
const o =
|
|
767
|
+
if (_e(e)) t = e;
|
|
768
|
+
else if (Uo(e)) for (let n = 0; n < e.length; n++) {
|
|
769
|
+
const o = _r(e[n]);
|
|
770
770
|
o && (t += o + " ");
|
|
771
771
|
}
|
|
772
|
-
else if (
|
|
772
|
+
else if (Qo(e)) for (const n in e) e[n] && (t += n + " ");
|
|
773
773
|
return t.trim();
|
|
774
774
|
}
|
|
775
|
-
const gc = /* @__PURE__ */
|
|
776
|
-
function
|
|
775
|
+
const gc = /* @__PURE__ */ Xn("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"), xc = /* @__PURE__ */ Xn("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"), yc = /* @__PURE__ */ Xn("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"), bc = /[>/="'\u0009\u000a\u000c\u0020]/, fo = {}, wc = { acceptCharset: "accept-charset", className: "class", htmlFor: "for", httpEquiv: "http-equiv" }, Sc = /["'&<>]/;
|
|
776
|
+
function ut(e) {
|
|
777
777
|
const t = "" + e, n = Sc.exec(t);
|
|
778
778
|
if (!n) return t;
|
|
779
779
|
let o, a, r = "", i = 0;
|
|
@@ -807,13 +807,13 @@ const kc = /^-?>|<!--|-->|--!>|<!-$/g;
|
|
|
807
807
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
808
808
|
* @license MIT
|
|
809
809
|
**/
|
|
810
|
-
const Cc = /* @__PURE__ */
|
|
810
|
+
const Cc = /* @__PURE__ */ Xn(",key,ref,innerHTML,textContent,ref_key,ref_for");
|
|
811
811
|
function Fc(e, t) {
|
|
812
812
|
let n = "";
|
|
813
813
|
for (const a in e) {
|
|
814
814
|
if (Cc(a) || pc(a) || t === "textarea" && a === "value") continue;
|
|
815
815
|
const r = e[a];
|
|
816
|
-
n += a === "class" ? ` class="${o = r,
|
|
816
|
+
n += a === "class" ? ` class="${o = r, ut(_r(o))}"` : a === "style" ? ` style="${Pc(r)}"` : a === "className" ? ` class="${String(r)}"` : Ec(a, r, t);
|
|
817
817
|
}
|
|
818
818
|
var o;
|
|
819
819
|
return n;
|
|
@@ -828,26 +828,26 @@ function Ec(e, t, n) {
|
|
|
828
828
|
return yc(o) ? /* @__PURE__ */ function(a) {
|
|
829
829
|
return !!a || a === "";
|
|
830
830
|
}(t) ? ` ${o}` : "" : function(a) {
|
|
831
|
-
if (
|
|
831
|
+
if (fo.hasOwnProperty(a)) return fo[a];
|
|
832
832
|
const r = bc.test(a);
|
|
833
|
-
return r && console.error(`unsafe attribute name: ${a}`),
|
|
834
|
-
}(o) ? t === "" ? ` ${o}` : ` ${o}="${
|
|
833
|
+
return r && console.error(`unsafe attribute name: ${a}`), fo[a] = !r;
|
|
834
|
+
}(o) ? t === "" ? ` ${o}` : ` ${o}="${ut(t)}"` : (console.warn(`[@vue/server-renderer] Skipped rendering unsafe attribute name: ${o}`), "");
|
|
835
835
|
}
|
|
836
836
|
function Pc(e) {
|
|
837
|
-
return e ?
|
|
837
|
+
return e ? _e(e) ? ut(e) : ut(function(t) {
|
|
838
838
|
if (!t) return "";
|
|
839
|
-
if (
|
|
839
|
+
if (_e(t)) return t;
|
|
840
840
|
let n = "";
|
|
841
841
|
for (const o in t) {
|
|
842
842
|
const a = t[o];
|
|
843
|
-
(
|
|
843
|
+
(_e(a) || typeof a == "number") && (n += `${o.startsWith("--") ? o : dc(o)}:${a};`);
|
|
844
844
|
}
|
|
845
845
|
return n;
|
|
846
|
-
}(
|
|
846
|
+
}(Lr(e))) : "";
|
|
847
847
|
}
|
|
848
848
|
Symbol(process.env.NODE_ENV !== "production" ? "Object iterate" : ""), Symbol(process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""), Symbol(process.env.NODE_ENV !== "production" ? "Array iterate" : "");
|
|
849
849
|
{
|
|
850
|
-
const e =
|
|
850
|
+
const e = qa || (qa = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}), t = (n, o) => {
|
|
851
851
|
let a;
|
|
852
852
|
return (a = e[n]) || (a = e[n] = []), a.push(o), (r) => {
|
|
853
853
|
a.length > 1 ? a.forEach((i) => i(r)) : a[0](r);
|
|
@@ -857,35 +857,35 @@ Symbol(process.env.NODE_ENV !== "production" ? "Object iterate" : ""), Symbol(pr
|
|
|
857
857
|
}
|
|
858
858
|
process.env.NODE_ENV;
|
|
859
859
|
process.env.NODE_ENV, process.env.NODE_ENV, process.env.NODE_ENV;
|
|
860
|
-
const { createComponentInstance: jc, setCurrentRenderingInstance:
|
|
861
|
-
function
|
|
860
|
+
const { createComponentInstance: jc, setCurrentRenderingInstance: Ha, setupComponent: Oc, renderComponentRoot: Ya, normalizeVNode: Mc, pushWarningContext: Nr, popWarningContext: qr } = Fr;
|
|
861
|
+
function Hr() {
|
|
862
862
|
let e = !1;
|
|
863
863
|
const t = [];
|
|
864
864
|
return { getBuffer: () => t, push(n) {
|
|
865
|
-
const o =
|
|
866
|
-
e && o ? t[t.length - 1] += n : (t.push(n), e = o, (
|
|
865
|
+
const o = _e(n);
|
|
866
|
+
e && o ? t[t.length - 1] += n : (t.push(n), e = o, (Yn(n) || Uo(n) && n.hasAsync) && (t.hasAsync = !0));
|
|
867
867
|
} };
|
|
868
868
|
}
|
|
869
|
-
function
|
|
869
|
+
function Yr(e, t = null, n) {
|
|
870
870
|
const o = e.component = jc(e, t, null);
|
|
871
|
-
process.env.NODE_ENV !== "production" &&
|
|
871
|
+
process.env.NODE_ENV !== "production" && Nr(e);
|
|
872
872
|
const a = Oc(o, !0);
|
|
873
|
-
process.env.NODE_ENV !== "production" &&
|
|
874
|
-
const r =
|
|
873
|
+
process.env.NODE_ENV !== "production" && qr();
|
|
874
|
+
const r = Yn(a);
|
|
875
875
|
let i = o.sp;
|
|
876
876
|
return r || i ? Promise.resolve(a).then(() => {
|
|
877
877
|
if (r && (i = o.sp), i) return Promise.all(i.map((l) => l.call(o.proxy)));
|
|
878
|
-
}).catch(
|
|
878
|
+
}).catch(Do).then(() => Wa(o, n)) : Wa(o, n);
|
|
879
879
|
}
|
|
880
|
-
function
|
|
881
|
-
process.env.NODE_ENV !== "production" &&
|
|
882
|
-
const n = e.type, { getBuffer: o, push: a } =
|
|
883
|
-
if (
|
|
884
|
-
let r =
|
|
880
|
+
function Wa(e, t) {
|
|
881
|
+
process.env.NODE_ENV !== "production" && Nr(e.vnode);
|
|
882
|
+
const n = e.type, { getBuffer: o, push: a } = Hr();
|
|
883
|
+
if (Rn(n)) {
|
|
884
|
+
let r = Ya(e);
|
|
885
885
|
if (!n.props) for (const i in e.attrs) i.startsWith("data-v-") && ((r.props || (r.props = {}))[i] = "");
|
|
886
|
-
|
|
886
|
+
Wn(a, e.subTree = r, e, t);
|
|
887
887
|
} else {
|
|
888
|
-
e.render && e.render !==
|
|
888
|
+
e.render && e.render !== Do || e.ssrRender || n.ssrRender || !_e(n.template) || (n.ssrRender = function() {
|
|
889
889
|
throw new Error("On-the-fly template compilation is not supported in the ESM build of @vue/server-renderer. All templates must be pre-compiled into render functions.");
|
|
890
890
|
}(n.template));
|
|
891
891
|
const r = e.ssrRender || n.ssrRender;
|
|
@@ -903,21 +903,21 @@ function Va(e, t) {
|
|
|
903
903
|
const s = t.trim().split(" ");
|
|
904
904
|
for (let h = 0; h < s.length; h++) i[s[h]] = "";
|
|
905
905
|
}
|
|
906
|
-
const m =
|
|
906
|
+
const m = Ha(e);
|
|
907
907
|
try {
|
|
908
908
|
r(e.proxy, a, e, i, e.props, e.setupState, e.data, e.ctx);
|
|
909
909
|
} finally {
|
|
910
|
-
|
|
910
|
+
Ha(m);
|
|
911
911
|
}
|
|
912
|
-
} else if (e.render && e.render !==
|
|
912
|
+
} else if (e.render && e.render !== Do) Wn(a, e.subTree = Ya(e), e, t);
|
|
913
913
|
else {
|
|
914
914
|
const i = n.name || n.__file || "<Anonymous>";
|
|
915
|
-
|
|
915
|
+
Mn(`Component ${i} is missing template or render function.`), a("<!---->");
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
|
-
return process.env.NODE_ENV !== "production" &&
|
|
918
|
+
return process.env.NODE_ENV !== "production" && qr(), o();
|
|
919
919
|
}
|
|
920
|
-
function
|
|
920
|
+
function Wn(e, t, n, o) {
|
|
921
921
|
const { type: a, shapeFlag: r, children: i, dirs: l, props: c } = t;
|
|
922
922
|
switch (l && (t.props = function(s, h, g) {
|
|
923
923
|
const y = [];
|
|
@@ -930,17 +930,17 @@ function Gn(e, t, n, o) {
|
|
|
930
930
|
}
|
|
931
931
|
return ee(h || {}, ...y);
|
|
932
932
|
}(t, c, l)), a) {
|
|
933
|
-
case
|
|
934
|
-
e(
|
|
933
|
+
case Cr:
|
|
934
|
+
e(ut(i));
|
|
935
935
|
break;
|
|
936
|
-
case
|
|
936
|
+
case kr:
|
|
937
937
|
e(i ? `<!--${m = i, m.replace(kc, "")}-->` : "<!---->");
|
|
938
938
|
break;
|
|
939
939
|
case vl:
|
|
940
940
|
e(i);
|
|
941
941
|
break;
|
|
942
|
-
case
|
|
943
|
-
t.slotScopeIds && (o = (o ? o + " " : "") + t.slotScopeIds.join(" ")), e("<!--[-->"),
|
|
942
|
+
case Ue:
|
|
943
|
+
t.slotScopeIds && (o = (o ? o + " " : "") + t.slotScopeIds.join(" ")), e("<!--[-->"), vo(e, i, n, o), e("<!--]-->");
|
|
944
944
|
break;
|
|
945
945
|
default:
|
|
946
946
|
1 & r ? function(s, h, g, y) {
|
|
@@ -951,79 +951,79 @@ function Gn(e, t, n, o) {
|
|
|
951
951
|
for (; S && F === S.subTree; ) F = S.vnode, F.scopeId && (w += ` ${F.scopeId}`), S = S.parent;
|
|
952
952
|
if (y && (w += ` ${y}`), s(w + ">"), !xc(d)) {
|
|
953
953
|
let k = !1;
|
|
954
|
-
u && (u.innerHTML ? (k = !0, s(u.innerHTML)) : u.textContent ? (k = !0, s(
|
|
954
|
+
u && (u.innerHTML ? (k = !0, s(u.innerHTML)) : u.textContent ? (k = !0, s(ut(u.textContent))) : d === "textarea" && u.value && (k = !0, s(ut(u.value)))), k || (8 & p ? s(ut(b)) : 16 & p && vo(s, b, g, y)), s(`</${d}>`);
|
|
955
955
|
}
|
|
956
|
-
}(e, t, n, o) : 6 & r ? e(
|
|
956
|
+
}(e, t, n, o) : 6 & r ? e(Yr(t, n, o)) : 64 & r ? function(s, h, g, y) {
|
|
957
957
|
const d = h.props && h.props.to, u = h.props && h.props.disabled;
|
|
958
|
-
if (!d) return u ||
|
|
959
|
-
if (!
|
|
958
|
+
if (!d) return u || Mn("[@vue/server-renderer] Teleport is missing target prop."), [];
|
|
959
|
+
if (!_e(d)) return Mn("[@vue/server-renderer] Teleport target must be a query selector string."), [];
|
|
960
960
|
(function(b, p, x, w, S) {
|
|
961
961
|
b("<!--teleport start-->");
|
|
962
|
-
const F = S.appContext.provides[
|
|
962
|
+
const F = S.appContext.provides[Sr], k = F.__teleportBuffers || (F.__teleportBuffers = {}), f = k[x] || (k[x] = []), O = f.length;
|
|
963
963
|
let B;
|
|
964
964
|
if (w) p(b), B = "<!--teleport start anchor--><!--teleport anchor-->";
|
|
965
965
|
else {
|
|
966
|
-
const { getBuffer: T, push: A } =
|
|
966
|
+
const { getBuffer: T, push: A } = Hr();
|
|
967
967
|
A("<!--teleport start anchor-->"), p(A), A("<!--teleport anchor-->"), B = T();
|
|
968
968
|
}
|
|
969
969
|
f.splice(O, 0, B), b("<!--teleport end-->");
|
|
970
970
|
})(s, (b) => {
|
|
971
|
-
|
|
971
|
+
vo(b, h.children, g, y);
|
|
972
972
|
}, d, u || u === "", g);
|
|
973
|
-
}(e, t, n, o) : 128 & r ?
|
|
973
|
+
}(e, t, n, o) : 128 & r ? Wn(e, t.ssContent, n, o) : Mn("[@vue/server-renderer] Invalid VNode type:", a, `(${typeof a})`);
|
|
974
974
|
}
|
|
975
975
|
var m;
|
|
976
976
|
}
|
|
977
|
-
function
|
|
978
|
-
for (let a = 0; a < t.length; a++)
|
|
977
|
+
function vo(e, t, n, o) {
|
|
978
|
+
for (let a = 0; a < t.length; a++) Wn(e, Mc(t[a]), n, o);
|
|
979
979
|
}
|
|
980
|
-
const { isVNode: Bc } =
|
|
981
|
-
function
|
|
982
|
-
if (!e.hasAsync) return t +
|
|
980
|
+
const { isVNode: Bc } = Fr;
|
|
981
|
+
function $n(e, t, n) {
|
|
982
|
+
if (!e.hasAsync) return t + Wr(e);
|
|
983
983
|
let o = t;
|
|
984
984
|
for (let a = n; a < e.length; a += 1) {
|
|
985
985
|
const r = e[a];
|
|
986
|
-
if (
|
|
986
|
+
if (_e(r)) {
|
|
987
987
|
o += r;
|
|
988
988
|
continue;
|
|
989
989
|
}
|
|
990
|
-
if (
|
|
991
|
-
const i =
|
|
992
|
-
if (
|
|
990
|
+
if (Yn(r)) return r.then((l) => (e[a] = l, $n(e, o, a)));
|
|
991
|
+
const i = $n(r, o, 0);
|
|
992
|
+
if (Yn(i)) return i.then((l) => (e[a] = l, $n(e, "", a)));
|
|
993
993
|
o = i;
|
|
994
994
|
}
|
|
995
995
|
return o;
|
|
996
996
|
}
|
|
997
|
-
function
|
|
998
|
-
return
|
|
997
|
+
function Ga(e) {
|
|
998
|
+
return $n(e, "", 0);
|
|
999
999
|
}
|
|
1000
|
-
function
|
|
1000
|
+
function Wr(e) {
|
|
1001
1001
|
let t = "";
|
|
1002
1002
|
for (let n = 0; n < e.length; n++) {
|
|
1003
1003
|
let o = e[n];
|
|
1004
|
-
|
|
1004
|
+
_e(o) ? t += o : t += Wr(o);
|
|
1005
1005
|
}
|
|
1006
1006
|
return t;
|
|
1007
1007
|
}
|
|
1008
|
-
async function
|
|
1009
|
-
if (Bc(e)) return
|
|
1008
|
+
async function Gr(e, t = {}) {
|
|
1009
|
+
if (Bc(e)) return Gr(fl({ render: () => e }), t);
|
|
1010
1010
|
const n = P(e._component, e._props);
|
|
1011
|
-
n.appContext = e._context, e.provide(
|
|
1012
|
-
const o = await
|
|
1011
|
+
n.appContext = e._context, e.provide(Sr, t);
|
|
1012
|
+
const o = await Yr(n), a = await Ga(o);
|
|
1013
1013
|
if (await async function(r) {
|
|
1014
1014
|
if (r.__teleportBuffers) {
|
|
1015
1015
|
r.teleports = r.teleports || {};
|
|
1016
|
-
for (const i in r.__teleportBuffers) r.teleports[i] = await
|
|
1016
|
+
for (const i in r.__teleportBuffers) r.teleports[i] = await Ga(await Promise.all([r.__teleportBuffers[i]]));
|
|
1017
1017
|
}
|
|
1018
1018
|
}(t), t.__watcherHandles) for (const r of t.__watcherHandles) r();
|
|
1019
1019
|
return a;
|
|
1020
1020
|
}
|
|
1021
1021
|
ml();
|
|
1022
|
-
function
|
|
1022
|
+
function Vr(e) {
|
|
1023
1023
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1024
1024
|
}
|
|
1025
|
-
var
|
|
1026
|
-
|
|
1025
|
+
var Xr = { exports: {} };
|
|
1026
|
+
Xr.exports = function() {
|
|
1027
1027
|
var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, t = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, n = /\d/, o = /\d\d/, a = /\d\d?/, r = /\d*[^-_:/,()\s\d]+/, i = {}, l = function(d) {
|
|
1028
1028
|
return (d = +d) + (d > 68 ? 1900 : 2e3);
|
|
1029
1029
|
}, c = function(d) {
|
|
@@ -1081,8 +1081,8 @@ Qr.exports = function() {
|
|
|
1081
1081
|
u = d, b = i && i.formats;
|
|
1082
1082
|
for (var p = (d = u.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(O, B, T) {
|
|
1083
1083
|
var A = T && T.toUpperCase();
|
|
1084
|
-
return B || b[T] || e[T] || b[A].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(W,
|
|
1085
|
-
return
|
|
1084
|
+
return B || b[T] || e[T] || b[A].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(W, _, N) {
|
|
1085
|
+
return _ || N.slice(1);
|
|
1086
1086
|
});
|
|
1087
1087
|
})).match(t), x = p.length, w = 0; w < x; w += 1) {
|
|
1088
1088
|
var S = p[w], F = g[S], k = F && F[0], f = F && F[1];
|
|
@@ -1093,8 +1093,8 @@ Qr.exports = function() {
|
|
|
1093
1093
|
var W = p[T];
|
|
1094
1094
|
if (typeof W == "string") A += W.length;
|
|
1095
1095
|
else {
|
|
1096
|
-
var
|
|
1097
|
-
|
|
1096
|
+
var _ = W.regex, N = W.parser, U = O.slice(A), X = _.exec(U)[0];
|
|
1097
|
+
N.call(B, X), O = O.replace(X, "");
|
|
1098
1098
|
}
|
|
1099
1099
|
}
|
|
1100
1100
|
return function(V) {
|
|
@@ -1118,71 +1118,71 @@ Qr.exports = function() {
|
|
|
1118
1118
|
B && (A = k[2]), i = this.$locale(), !O && A && (i = b.Ls[A]), this.$d = function(U, X, V, J) {
|
|
1119
1119
|
try {
|
|
1120
1120
|
if (["x", "X"].indexOf(X) > -1) return new Date((X === "X" ? 1e3 : 1) * U);
|
|
1121
|
-
var Y = y(X)(U), Q = Y.year, K = Y.month, Z = Y.day,
|
|
1121
|
+
var Y = y(X)(U), Q = Y.year, K = Y.month, Z = Y.day, be = Y.hours, C = Y.minutes, E = Y.seconds, M = Y.milliseconds, $ = Y.zone, j = Y.week, z = /* @__PURE__ */ new Date(), I = Z || (Q || K ? 1 : z.getDate()), G = Q || z.getFullYear(), H = 0;
|
|
1122
1122
|
Q && !K || (H = K > 0 ? K - 1 : z.getMonth());
|
|
1123
|
-
var
|
|
1124
|
-
return $ ? new Date(Date.UTC(G, H, I,
|
|
1123
|
+
var re, ce = be || 0, te = C || 0, ke = E || 0, Ee = M || 0;
|
|
1124
|
+
return $ ? new Date(Date.UTC(G, H, I, ce, te, ke, Ee + 60 * $.offset * 1e3)) : V ? new Date(Date.UTC(G, H, I, ce, te, ke, Ee)) : (re = new Date(G, H, I, ce, te, ke, Ee), j && (re = J(re).week(j).toDate()), re);
|
|
1125
1125
|
} catch {
|
|
1126
1126
|
return /* @__PURE__ */ new Date("");
|
|
1127
1127
|
}
|
|
1128
1128
|
}(S, f, F, b), this.init(), A && A !== !0 && (this.$L = this.locale(A).$L), T && S != this.format(f) && (this.$d = /* @__PURE__ */ new Date("")), i = {};
|
|
1129
|
-
} else if (f instanceof Array) for (var W = f.length,
|
|
1130
|
-
k[1] = f[
|
|
1131
|
-
var
|
|
1132
|
-
if (
|
|
1133
|
-
this.$d =
|
|
1129
|
+
} else if (f instanceof Array) for (var W = f.length, _ = 1; _ <= W; _ += 1) {
|
|
1130
|
+
k[1] = f[_ - 1];
|
|
1131
|
+
var N = b.apply(this, k);
|
|
1132
|
+
if (N.isValid()) {
|
|
1133
|
+
this.$d = N.$d, this.$L = N.$L, this.init();
|
|
1134
1134
|
break;
|
|
1135
1135
|
}
|
|
1136
|
-
|
|
1136
|
+
_ === W && (this.$d = /* @__PURE__ */ new Date(""));
|
|
1137
1137
|
}
|
|
1138
1138
|
else x.call(this, w);
|
|
1139
1139
|
};
|
|
1140
1140
|
};
|
|
1141
1141
|
}();
|
|
1142
|
-
const Tc =
|
|
1143
|
-
function
|
|
1144
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
1142
|
+
const Tc = Vr(Xr.exports);
|
|
1143
|
+
function ho(e) {
|
|
1144
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ft(e);
|
|
1145
1145
|
}
|
|
1146
|
-
|
|
1147
|
-
const
|
|
1146
|
+
Xe.extend(Tc);
|
|
1147
|
+
const Va = (e, t) => {
|
|
1148
1148
|
var o, a;
|
|
1149
|
-
const n =
|
|
1149
|
+
const n = sn(e);
|
|
1150
1150
|
for (let r in n)
|
|
1151
|
-
((a = (o = t == null ? void 0 : t.find) == null ? void 0 : o.call(t, ({ dataIndex: l }) => l === r)) == null ? void 0 : a.type) === "date" && $c(n[r]) && (n[r] =
|
|
1151
|
+
((a = (o = t == null ? void 0 : t.find) == null ? void 0 : o.call(t, ({ dataIndex: l }) => l === r)) == null ? void 0 : a.type) === "date" && $c(n[r]) && (n[r] = Xe(n[r]));
|
|
1152
1152
|
return n;
|
|
1153
1153
|
}, Dc = (e) => {
|
|
1154
1154
|
const t = parseFloat(window.getComputedStyle(document.querySelector("html")).fontSize);
|
|
1155
1155
|
return e != null && e.length ? (e == null ? void 0 : e.length) * Math.floor(t) : 6 * t;
|
|
1156
1156
|
}, Ac = (e) => {
|
|
1157
|
-
const t = e, n = v(t, "apis"), o = v(t, "columns"), a = v(t, "columnsAlign"), r = v(t, "pagination"), i = v(t, "columnsTimeFormat"), l = v(t, "columnsEmptyText"), c = v(t, "controlColumnBtns"), m = v(t, "indexColumn"), s = v(t, "indexColumnWidth"), h = v(t, "indexColumnProps"), g = v(t, "controlColumn"), y = v(t, "controlColumnWidth"), d = v(t, "controlColumnWidthProps"), u = v(t, "openCUModalForm"), b = v(t, "columnsTitleNoWrap"), p = v(t, "cuFormModel"), x = v(t, "emits"), w = v(t, "cuModalLoading"), S = v(t, "onBeforeRowEditBackFill"), F = v(t, "fieldsNames"), k = v(t, "onGetRowDetail"), f = v(t, "cuFormBackFillByGetDetail"), O = v(t, "updateSource"), B = v(t, "onBeforeRowDelete"), T = v(t, "onRowDeleteSuccess"), A = v(t, "onRowDeleteError"), W = v(t, "detailModalLoading"),
|
|
1158
|
-
J.value = !0,
|
|
1157
|
+
const t = e, n = v(t, "apis"), o = v(t, "columns"), a = v(t, "columnsAlign"), r = v(t, "pagination"), i = v(t, "columnsTimeFormat"), l = v(t, "columnsEmptyText"), c = v(t, "controlColumnBtns"), m = v(t, "indexColumn"), s = v(t, "indexColumnWidth"), h = v(t, "indexColumnProps"), g = v(t, "controlColumn"), y = v(t, "controlColumnWidth"), d = v(t, "controlColumnWidthProps"), u = v(t, "openCUModalForm"), b = v(t, "columnsTitleNoWrap"), p = v(t, "cuFormModel"), x = v(t, "emits"), w = v(t, "cuModalLoading"), S = v(t, "onBeforeRowEditBackFill"), F = v(t, "fieldsNames"), k = v(t, "onGetRowDetail"), f = v(t, "cuFormBackFillByGetDetail"), O = v(t, "updateSource"), B = v(t, "onBeforeRowDelete"), T = v(t, "onRowDeleteSuccess"), A = v(t, "onRowDeleteError"), W = v(t, "detailModalLoading"), _ = v(t, "openDetailModal"), N = v(t, "detailsDataSource"), U = v(t, "detailBackFillByGetDetail"), X = v(t, "tableTextConfig"), V = w, J = W, Y = ae([]), Q = ae([]), K = ko(), Z = async (j) => {
|
|
1158
|
+
J.value = !0, _.value();
|
|
1159
1159
|
try {
|
|
1160
|
-
const z = U.value ? await (C == null ? void 0 : C(j)) : j, I =
|
|
1161
|
-
|
|
1160
|
+
const z = U.value ? await (C == null ? void 0 : C(j)) : j, I = Va(z, o.value);
|
|
1161
|
+
N.value.values = I;
|
|
1162
1162
|
} catch {
|
|
1163
1163
|
}
|
|
1164
1164
|
J.value = !1;
|
|
1165
|
-
},
|
|
1166
|
-
var z, I, G, H,
|
|
1165
|
+
}, be = async (j) => {
|
|
1166
|
+
var z, I, G, H, re, ce, te, ke, Ee, at;
|
|
1167
1167
|
try {
|
|
1168
|
-
const
|
|
1169
|
-
if ((H = O.value) == null || H.call(O), ((
|
|
1170
|
-
|
|
1171
|
-
} catch (
|
|
1172
|
-
if (((
|
|
1173
|
-
|
|
1168
|
+
const qe = await ((z = B.value) == null ? void 0 : z.call(B, j)) || { id: j == null ? void 0 : j.id }, Ke = await ((G = (I = n.value) == null ? void 0 : I.delete) == null ? void 0 : G.call(I, qe, j));
|
|
1169
|
+
if ((H = O.value) == null || H.call(O), ((re = T.value) == null ? void 0 : re.call(T, Ke)) === !1) return;
|
|
1170
|
+
ct.success((te = (ce = X.value) == null ? void 0 : ce.message) == null ? void 0 : te.deleteSuccess);
|
|
1171
|
+
} catch (qe) {
|
|
1172
|
+
if (((ke = A.value) == null ? void 0 : ke.call(A, qe)) === !1) return;
|
|
1173
|
+
ct.error((at = (Ee = X.value) == null ? void 0 : Ee.message) == null ? void 0 : at.deleteError);
|
|
1174
1174
|
}
|
|
1175
1175
|
}, C = async (j) => new Promise(async (z, I) => {
|
|
1176
|
-
var G, H,
|
|
1177
|
-
return (
|
|
1178
|
-
var
|
|
1179
|
-
return z(await ((
|
|
1180
|
-
}).catch((
|
|
1176
|
+
var G, H, re;
|
|
1177
|
+
return (re = (H = (G = n.value) == null ? void 0 : G.details) == null ? void 0 : H.call(G, { id: j == null ? void 0 : j.id }, j)) == null ? void 0 : re.then(async (ce) => {
|
|
1178
|
+
var te, ke;
|
|
1179
|
+
return z(await ((te = k.value) == null ? void 0 : te.call(k, ce)) || Re(ce, (ke = F.value) == null ? void 0 : ke.detail) || {});
|
|
1180
|
+
}).catch((ce) => I(ce));
|
|
1181
1181
|
}), E = async (j) => {
|
|
1182
1182
|
var z;
|
|
1183
1183
|
V.value = !0, u.value(!0);
|
|
1184
1184
|
try {
|
|
1185
|
-
const I = f.value ? await (C == null ? void 0 : C(j)) : j, G =
|
|
1185
|
+
const I = f.value ? await (C == null ? void 0 : C(j)) : j, G = Va(I, o.value), H = await ((z = S.value) == null ? void 0 : z.call(S, G, j)) || G;
|
|
1186
1186
|
p.value.values = H;
|
|
1187
1187
|
} catch {
|
|
1188
1188
|
}
|
|
@@ -1190,129 +1190,129 @@ const Ua = (e, t) => {
|
|
|
1190
1190
|
}, M = async (j) => {
|
|
1191
1191
|
var I;
|
|
1192
1192
|
const z = await Promise.all((I = j == null ? void 0 : j.map) == null ? void 0 : I.call(j, async ({ title: G }) => await (async (H) => {
|
|
1193
|
-
const
|
|
1194
|
-
return await
|
|
1193
|
+
const re = hl({ render: () => H });
|
|
1194
|
+
return await Gr(re);
|
|
1195
1195
|
})(G)));
|
|
1196
1196
|
return Y.value = z, z;
|
|
1197
1197
|
}, $ = async (j) => {
|
|
1198
1198
|
const z = ((I, G) => {
|
|
1199
|
-
var
|
|
1200
|
-
const H =
|
|
1201
|
-
return m.value && ((
|
|
1202
|
-
var
|
|
1203
|
-
const { title:
|
|
1204
|
-
return { title: P("div", { class: [(
|
|
1199
|
+
var ce, te, ke, Ee, at;
|
|
1200
|
+
const H = sn(I);
|
|
1201
|
+
return m.value && ((ce = H == null ? void 0 : H.unshift) == null || ce.call(H, { title: "序号", type: "index", align: "center", width: s.value, ...h.value })), g.value && ((te = H == null ? void 0 : H.push) == null || te.call(H, { title: "操作", type: "control", fixed: "right", align: "center", width: y.value, ...d.value })), (at = (Ee = (ke = H == null ? void 0 : H.filter) == null ? void 0 : ke.call(H, ({ hidden: qe }) => !qe)) == null ? void 0 : Ee.map) == null ? void 0 : at.call(Ee, (qe, Ke) => {
|
|
1202
|
+
var xn;
|
|
1203
|
+
const { title: vt, nowrap: eo, type: ca, emptyText: sa, align: pa, numberFormat: ua, numberComputed: da, width: to, ...no } = qe;
|
|
1204
|
+
return { title: P("div", { class: [(eo ?? b.value) && "whitespace-nowrap"] }, [vt]), width: to || Dc(G[Ke]) || 16 * ((xn = String(vt)) == null ? void 0 : xn.length), align: a.value, customRender: (...oo) => Rc(...oo, qe, r.value, { columnsTimeFormat: i.value, columnsEmptyText: l.value, controlColumnBtns: c.value, apis: n.value, slots: K, openCUModalForm: u.value, cuFormModel: p.value, emits: x.value, _cuModalLoading: V, cuFormBackFillByGetDetail: f.value, columns: I, onBeforeRowEditBackFill: S.value, fieldsNames: F.value, onGetRowDetail: k.value, updateSource: O.value, onBeforeRowDelete: B.value, onRowDeleteSuccess: T.value, onRowDeleteError: A.value, deleteRow: be, getDetails: C, editRow: E, openRowDetails: Z }), ...no };
|
|
1205
1205
|
});
|
|
1206
1206
|
})(j, await M(j));
|
|
1207
1207
|
Q.value = z;
|
|
1208
1208
|
};
|
|
1209
|
-
return
|
|
1209
|
+
return ft([() => o.value], () => {
|
|
1210
1210
|
$(o.value);
|
|
1211
1211
|
}, { immediate: !0 }), { resColumns: Q };
|
|
1212
1212
|
}, Rc = (e, t, n, { columnsEmptyText: o, columnsTimeFormat: a, controlColumnBtns: r, slots: i, deleteRow: l, editRow: c, openRowDetails: m }) => {
|
|
1213
1213
|
var S, F, k, f, O;
|
|
1214
1214
|
const { text: s, record: h, index: g, column: y } = e, { type: d, customRender: u, emptyText: b, timeFormat: p, numberFormat: x, numberComputed: w } = t;
|
|
1215
|
-
if (u &&
|
|
1215
|
+
if (u && he(u)) return u == null ? void 0 : u(e);
|
|
1216
1216
|
if (d === "index") return n.page * n.pageSize - n.pageSize + (g + 1);
|
|
1217
|
-
if (d === "date") return s ? (F = (S =
|
|
1217
|
+
if (d === "date") return s ? (F = (S = Xe(s)) == null ? void 0 : S.format) == null ? void 0 : F.call(S, p || a) : s || b || o;
|
|
1218
1218
|
if (d === "number") {
|
|
1219
1219
|
const B = Number(s);
|
|
1220
|
-
return
|
|
1220
|
+
return he(x) ? x == null ? void 0 : x(Hn(B), s) : ((O = (f = (k = Hn) == null ? void 0 : k(he(w) ? w == null ? void 0 : w(new qn(B), qn) : B)) == null ? void 0 : f.format) == null ? void 0 : O.call(f, x || "0[.]00")) || b || o;
|
|
1221
1221
|
}
|
|
1222
1222
|
if (d === "control") {
|
|
1223
|
-
const { children: B, ...T } = (r == null ? void 0 : r.detail) || {}, { children: A, ...W } = (r == null ? void 0 : r.edit) || {}, { children:
|
|
1224
|
-
return P(
|
|
1223
|
+
const { children: B, ...T } = (r == null ? void 0 : r.detail) || {}, { children: A, ...W } = (r == null ? void 0 : r.edit) || {}, { children: _, ...N } = (r == null ? void 0 : r.delete) || {}, U = r && Dn(r == null ? void 0 : r.detail) ? P(st, ee({ class: "p-0", onClick: () => m(h) }, T), ho(B) ? B : { default: () => [B] }) : null, X = r && Dn(r == null ? void 0 : r.edit) ? P(st, ee({ class: "p-0", onClick: () => c(h) }, W), ho(A) ? A : { default: () => [A] }) : null, V = r && Dn(r == null ? void 0 : r.delete) ? P(Pl, { onConfirm: () => l(h), title: "确定删除吗?", okText: "确定", cancelText: "取消" }, { default: () => [P(st, ee({ class: "p-0" }, N), ho(_) ? _ : { default: () => [_] })] }) : null;
|
|
1224
|
+
return P(Fo, null, { default: () => {
|
|
1225
1225
|
var J;
|
|
1226
|
-
return [i != null && i.customControlColumnBtns &&
|
|
1226
|
+
return [i != null && i.customControlColumnBtns && he(i == null ? void 0 : i.customControlColumnBtns) ? (J = i == null ? void 0 : i.customControlColumnBtns) == null ? void 0 : J.call(i, { DetailBtn: U, EditBtn: X, DeleteBtn: V, deleteRow: l, editRow: c, openRowDetails: m, rowInfo: e, metaColumnInfo: t }) : P(Ue, null, [U, X, V])];
|
|
1227
1227
|
} });
|
|
1228
1228
|
}
|
|
1229
1229
|
return s || b || o;
|
|
1230
|
-
},
|
|
1230
|
+
}, Kt = ["YYYY-MM-DD", "DD/MM/YYYY", "MM-DD-YYYY", "YYYY/MM/DD", "MM/DD/YYYY", "YYYY", "YYYY-MM-DD HH:mm:ss", "MM-DD", "HH:mm:ss", "x"], $c = (e) => {
|
|
1231
1231
|
var t;
|
|
1232
|
-
return !!(isNaN(Number(
|
|
1232
|
+
return !!(isNaN(Number(Xe(e).valueOf())) || String(e).length >= 10) && ((t = Kt == null ? void 0 : Kt.some) == null ? void 0 : t.call(Kt, (n) => {
|
|
1233
1233
|
var o, a, r;
|
|
1234
|
-
return (r = (a = (o =
|
|
1234
|
+
return (r = (a = (o = Xe) == null ? void 0 : o(e, n, !0)) == null ? void 0 : a.isValid) == null ? void 0 : r.call(a);
|
|
1235
1235
|
}));
|
|
1236
|
-
}, { TextArea: zc } =
|
|
1236
|
+
}, { TextArea: zc } = Pr, Ic = { Input: Pr, InputNumber: jl, TextArea: zc, Select: Ol, DatePicker: Ml, RangePicker: Bl, Checkbox: Tl, CheckboxGroup: Dl, Radio: Al, RadioGroup: Rl };
|
|
1237
1237
|
let Lc = function(e) {
|
|
1238
1238
|
return e.Input = "Input", e.InputNumber = "InputNumber", e.Select = "Select", e.DatePicker = "DatePicker", e.RangePicker = "RangePicker", e.Checkbox = "Checkbox", e.CheckboxGroup = "CheckboxGroup", e.Radio = "Radio", e.RadioGroup = "RadioGroup", e.TextArea = "TextArea", e;
|
|
1239
|
-
}({}),
|
|
1239
|
+
}({}), Ur = function(e) {
|
|
1240
1240
|
return e.Input = "value", e.InputNumber = "value", e.Select = "value", e.Checkbox = "checked", e.CheckboxGroup = "value", e.Radio = "checked", e.RadioGroup = "value", e.RangePicker = "value", e.DatePicker = "value", e.TextArea = "value", e;
|
|
1241
1241
|
}({});
|
|
1242
|
-
var
|
|
1242
|
+
var Qr = function(e) {
|
|
1243
1243
|
return e.Value = "value", e.Checked = "checked", e;
|
|
1244
|
-
}(
|
|
1245
|
-
const _c = { Input: "请输入", InputNumber: "请输入", Select: "请选择", Checkbox: "", CheckboxGroup: "", Radio: "", RadioGroup: "", RangePicker: ["开始时间", "结束时间"], DatePicker: "请选择", TextArea: "请输入" },
|
|
1244
|
+
}(Qr || {});
|
|
1245
|
+
const _c = { Input: "请输入", InputNumber: "请输入", Select: "请选择", Checkbox: "", CheckboxGroup: "", Radio: "", RadioGroup: "", RangePicker: ["开始时间", "结束时间"], DatePicker: "请选择", TextArea: "请输入" }, Ko = ({ type: e = "Input", model: t, name: n, customControl: o, ...a }) => {
|
|
1246
1246
|
const r = Ic[e], i = _c[e];
|
|
1247
|
-
return
|
|
1247
|
+
return Ur[e] === Qr.Checked ? P(r, ee({ checked: t[`${n}`], "onUpdate:checked": (l) => t[`${n}`] = l, placeholder: i }, a), null) : P(r, ee({ allowClear: !0, value: t[`${n}`], "onUpdate:value": (l) => t[`${n}`] = l, class: ["w-full"], placeholder: i }, a), null);
|
|
1248
1248
|
}, Nc = (e) => {
|
|
1249
|
-
const t = e, n = v(t, "apis"), o = v(t, "createBtn"), a = v(t, "columns"), r = v(t, "tableTextConfig"), i = v(t, "cuFormProps"), l = v(t, "cuFormModalProps"), c = v(t, "cuFormRowProps"), m = v(t, "cuFormColProps"), s = v(t, "tableRef"), h = v(t, "onBeforeCuFormSubmit"), g = v(t, "onCuFormSubmitSuccess"), y = v(t, "onCuFormSubmitError"), d = v(t, "onCuFormCancel"), u = v(t, "updateSource"), b = v(t, "defaultValues"), p = v(t, "emits"), x = b.value ?
|
|
1250
|
-
|
|
1251
|
-
p.value("cuFormModelChange",
|
|
1252
|
-
}, { deep: !0 }),
|
|
1249
|
+
const t = e, n = v(t, "apis"), o = v(t, "createBtn"), a = v(t, "columns"), r = v(t, "tableTextConfig"), i = v(t, "cuFormProps"), l = v(t, "cuFormModalProps"), c = v(t, "cuFormRowProps"), m = v(t, "cuFormColProps"), s = v(t, "tableRef"), h = v(t, "onBeforeCuFormSubmit"), g = v(t, "onCuFormSubmitSuccess"), y = v(t, "onCuFormSubmitError"), d = v(t, "onCuFormCancel"), u = v(t, "updateSource"), b = v(t, "defaultValues"), p = v(t, "emits"), x = b.value ? Co(b.value) : {}, w = ae(!1), S = ae(!1), F = ae(!1), k = ae(!1), f = At({ values: sn(x) });
|
|
1250
|
+
ft(() => f.values, (_, N) => {
|
|
1251
|
+
p.value("cuFormModelChange", _, N);
|
|
1252
|
+
}, { deep: !0 }), ft(k, () => {
|
|
1253
1253
|
p.value("cuFormEditStatusChange", k.value);
|
|
1254
1254
|
});
|
|
1255
|
-
const O =
|
|
1256
|
-
F.value = !0, k.value =
|
|
1255
|
+
const O = ae(), B = async (_ = !1, N) => {
|
|
1256
|
+
F.value = !0, k.value = _;
|
|
1257
1257
|
}, T = async () => {
|
|
1258
|
-
var
|
|
1259
|
-
S.value = !0, (
|
|
1260
|
-
var V, J, Y, Q, K, Z,
|
|
1258
|
+
var _, N;
|
|
1259
|
+
S.value = !0, (N = (_ = O.value).validate) == null || N.call(_).then(async (U) => {
|
|
1260
|
+
var V, J, Y, Q, K, Z, be, C, E, M, $, j, z, I;
|
|
1261
1261
|
const X = await ((V = h.value) == null ? void 0 : V.call(h, U, JSON.parse(JSON.stringify(f.values)))) || U;
|
|
1262
1262
|
try {
|
|
1263
1263
|
const G = await ((Y = (J = n.value) == null ? void 0 : J[k.value ? "update" : "create"]) == null ? void 0 : Y.call(J, X));
|
|
1264
1264
|
if (A(), (Q = u.value) == null || Q.call(u), ((K = g.value) == null ? void 0 : K.call(g, G, k.value)) === !1) return;
|
|
1265
|
-
|
|
1265
|
+
ct.success(`${k.value ? (be = (Z = r.value) == null ? void 0 : Z.message) == null ? void 0 : be.updateSuccess : (E = (C = r.value) == null ? void 0 : C.message) == null ? void 0 : E.createSuccess}`);
|
|
1266
1266
|
} catch (G) {
|
|
1267
1267
|
if (((M = y.value) == null ? void 0 : M.call(y, G, k.value)) === !1) return;
|
|
1268
|
-
|
|
1268
|
+
ct.error(`${k.value ? (j = ($ = r.value) == null ? void 0 : $.message) == null ? void 0 : j.updateError : (I = (z = r.value) == null ? void 0 : z.message) == null ? void 0 : I.createError}`);
|
|
1269
1269
|
}
|
|
1270
1270
|
}).catch(() => {
|
|
1271
1271
|
}).finally(() => {
|
|
1272
1272
|
S.value = !1;
|
|
1273
1273
|
});
|
|
1274
1274
|
}, A = () => {
|
|
1275
|
-
var
|
|
1276
|
-
((
|
|
1275
|
+
var _, N;
|
|
1276
|
+
((_ = d.value) == null ? void 0 : _.call(d)) !== !1 && ((N = d.value) == null || N.call(d), f.values = sn(x), F.value = !1);
|
|
1277
1277
|
}, W = q(() => O.value);
|
|
1278
1278
|
return { CreateBtn: () => {
|
|
1279
|
-
const { children:
|
|
1280
|
-
return P(
|
|
1281
|
-
return typeof U == "function" || Object.prototype.toString.call(U) === "[object Object]" && !
|
|
1282
|
-
}(
|
|
1279
|
+
const { children: _, ...N } = o.value || {};
|
|
1280
|
+
return P(st, ee({ onClick: () => B(!1) }, N), function(U) {
|
|
1281
|
+
return typeof U == "function" || Object.prototype.toString.call(U) === "[object Object]" && !Ft(U);
|
|
1282
|
+
}(_) ? _ : { default: () => [_] });
|
|
1283
1283
|
}, CUModalForm: () => {
|
|
1284
|
-
var
|
|
1285
|
-
return P(
|
|
1284
|
+
var _, N, U, X;
|
|
1285
|
+
return P(jr, ee({ open: F.value, "onUpdate:open": (V) => F.value = V, title: k.value ? (N = (_ = r.value) == null ? void 0 : _.modalTitle) == null ? void 0 : N.update : (X = (U = r.value) == null ? void 0 : U.modalTitle) == null ? void 0 : X.create, onCancel: A, onOk: T, confirmLoading: S.value, getContainer: () => s.value, maskClosable: !1, destroyOnClose: !0 }, l.value), { default: () => [P(Or, { active: !0, loading: w == null ? void 0 : w.value }, { default: () => [P(rn, ee({ ref: O, model: f.values }, i.value), { default: () => [P(Mr, ee({ gutter: [24, 10] }, c.value), { default: () => {
|
|
1286
1286
|
var V, J, Y, Q;
|
|
1287
1287
|
return [(Q = (Y = (J = (V = a.value) == null ? void 0 : V.sort) == null ? void 0 : J.call(V, (K, Z) => {
|
|
1288
|
-
var
|
|
1289
|
-
return ((
|
|
1290
|
-
})) == null ? void 0 : Y.map) == null ? void 0 : Q.call(Y, ({ title: K, dataIndex: Z, formItemProps:
|
|
1291
|
-
const { name: E, label: M, customRender: $, control: j, colProps: z, controlProps: I, rules: G, hidden: H, customControl:
|
|
1292
|
-
return P(
|
|
1288
|
+
var be, C;
|
|
1289
|
+
return ((be = K == null ? void 0 : K.formItemProps) == null ? void 0 : be.sort) - ((C = Z == null ? void 0 : Z.formItemProps) == null ? void 0 : C.sort);
|
|
1290
|
+
})) == null ? void 0 : Y.map) == null ? void 0 : Q.call(Y, ({ title: K, dataIndex: Z, formItemProps: be }, C) => {
|
|
1291
|
+
const { name: E, label: M, customRender: $, control: j, colProps: z, controlProps: I, rules: G, hidden: H, customControl: re, ...ce } = be || {}, te = I && he(I) ? I == null ? void 0 : I({ model: f.values, isEdit: k.value }) : I || {};
|
|
1292
|
+
return P(Br, ee({ key: JSON.stringify(E || Z || K) || `${C}-${K}-${Z}`, class: [H && "hidden"] }, m.value, z), { default: () => [$ && he($) ? $ == null ? void 0 : $(f, W.value) : P(rn.Item, ee({ label: M || K, name: E || Z, rules: G }, ce), { default: () => [he(re) ? re == null ? void 0 : re({ name: E, dataIndex: Z, label: M, title: K }, f) : P(Ko, ee({ type: j, model: f.values, name: E || Z }, te), null)] })] });
|
|
1293
1293
|
})];
|
|
1294
1294
|
} })] })] })] });
|
|
1295
1295
|
}, cuFormModel: f, cuModalLoading: w, submitBtnLoading: S.value, cuModalFormIsEdit: k.value, openCUModalForm: B, CUModalFormInstance: W.value };
|
|
1296
1296
|
};
|
|
1297
|
-
let
|
|
1297
|
+
let gt;
|
|
1298
1298
|
const qc = (e) => {
|
|
1299
1299
|
const t = e, n = v(t, "api"), o = v(t, "fieldsNames"), a = v(t, "dataSource"), r = v(t, "params"), i = v(t, "onSourceSuccess"), l = v(t, "onSourceError");
|
|
1300
1300
|
v(t, "emits");
|
|
1301
|
-
const c =
|
|
1301
|
+
const c = ae([]), m = ae(!1), s = ae(0), h = async () => {
|
|
1302
1302
|
var g;
|
|
1303
1303
|
if (a.value) return c.value = a.value;
|
|
1304
1304
|
(g = n.value) != null && g.list && (async (y) => {
|
|
1305
1305
|
var d, u, b, p, x, w, S, F;
|
|
1306
|
-
(d =
|
|
1306
|
+
(d = gt == null ? void 0 : gt.abort) == null || d.call(gt), m.value = !0, gt = new AbortController(), (F = (S = (w = (x = (p = (b = (u = n.value) == null ? void 0 : u.list) == null ? void 0 : b.call(u, y, { signal: gt.signal })) == null ? void 0 : p.then(async (k) => {
|
|
1307
1307
|
const f = await new Promise(async (O, B) => {
|
|
1308
1308
|
var T;
|
|
1309
1309
|
try {
|
|
1310
|
-
return
|
|
1310
|
+
return Tt(i.value) ? O(await ((T = i.value) == null ? void 0 : T.call(i, k))) : O(k);
|
|
1311
1311
|
} catch (A) {
|
|
1312
1312
|
return B(A);
|
|
1313
1313
|
}
|
|
1314
1314
|
});
|
|
1315
|
-
c.value =
|
|
1315
|
+
c.value = Re(f, o.value.list) || [], s.value = Re(f, o.value.total) || 0;
|
|
1316
1316
|
})) == null ? void 0 : x.catch) == null ? void 0 : w.call(x, (k) => {
|
|
1317
1317
|
var f;
|
|
1318
1318
|
c.value = [], s.value = 0, (f = l.value) == null || f.call(l, k);
|
|
@@ -1321,36 +1321,36 @@ const qc = (e) => {
|
|
|
1321
1321
|
});
|
|
1322
1322
|
})(r.value);
|
|
1323
1323
|
};
|
|
1324
|
-
return
|
|
1324
|
+
return ft(() => r.value, () => {
|
|
1325
1325
|
requestAnimationFrame(() => {
|
|
1326
1326
|
h();
|
|
1327
1327
|
});
|
|
1328
1328
|
}, { immediate: !0 }), { source: c, loading: m, total: s, updateSource: h };
|
|
1329
1329
|
};
|
|
1330
|
-
function
|
|
1331
|
-
return
|
|
1330
|
+
function ln(e) {
|
|
1331
|
+
return ln = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1332
1332
|
return typeof t;
|
|
1333
1333
|
} : function(t) {
|
|
1334
1334
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1335
|
-
},
|
|
1335
|
+
}, ln(e);
|
|
1336
1336
|
}
|
|
1337
1337
|
function Hc(e) {
|
|
1338
1338
|
var t = function(n, o) {
|
|
1339
|
-
if (
|
|
1339
|
+
if (ln(n) != "object" || !n) return n;
|
|
1340
1340
|
var a = n[Symbol.toPrimitive];
|
|
1341
1341
|
if (a !== void 0) {
|
|
1342
1342
|
var r = a.call(n, o || "default");
|
|
1343
|
-
if (
|
|
1343
|
+
if (ln(r) != "object") return r;
|
|
1344
1344
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1345
1345
|
}
|
|
1346
1346
|
return (o === "string" ? String : Number)(n);
|
|
1347
1347
|
}(e, "string");
|
|
1348
|
-
return
|
|
1348
|
+
return ln(t) == "symbol" ? t : t + "";
|
|
1349
1349
|
}
|
|
1350
1350
|
function Yc(e, t, n) {
|
|
1351
1351
|
return (t = Hc(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
1352
1352
|
}
|
|
1353
|
-
function
|
|
1353
|
+
function Xa(e, t) {
|
|
1354
1354
|
var n = Object.keys(e);
|
|
1355
1355
|
if (Object.getOwnPropertySymbols) {
|
|
1356
1356
|
var o = Object.getOwnPropertySymbols(e);
|
|
@@ -1360,27 +1360,27 @@ function Qa(e, t) {
|
|
|
1360
1360
|
}
|
|
1361
1361
|
return n;
|
|
1362
1362
|
}
|
|
1363
|
-
function
|
|
1363
|
+
function Ao(e) {
|
|
1364
1364
|
for (var t = 1; t < arguments.length; t++) {
|
|
1365
1365
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
1366
|
-
t % 2 ?
|
|
1366
|
+
t % 2 ? Xa(Object(n), !0).forEach(function(o) {
|
|
1367
1367
|
Yc(e, o, n[o]);
|
|
1368
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
1368
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Xa(Object(n)).forEach(function(o) {
|
|
1369
1369
|
Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
|
|
1370
1370
|
});
|
|
1371
1371
|
}
|
|
1372
1372
|
return e;
|
|
1373
1373
|
}
|
|
1374
|
-
let
|
|
1374
|
+
let Ro = {};
|
|
1375
1375
|
function Wc(e, t) {
|
|
1376
1376
|
process.env.NODE_ENV === "production" || e || console === void 0 || console.error(`Warning: ${t}`);
|
|
1377
1377
|
}
|
|
1378
|
-
function
|
|
1378
|
+
function Kr(e, t) {
|
|
1379
1379
|
(function(n, o, a) {
|
|
1380
|
-
o ||
|
|
1380
|
+
o || Ro[a] || (n(!1, a), Ro[a] = !0);
|
|
1381
1381
|
})(Wc, e, t);
|
|
1382
1382
|
}
|
|
1383
|
-
let
|
|
1383
|
+
let Gn = function() {
|
|
1384
1384
|
};
|
|
1385
1385
|
function D() {
|
|
1386
1386
|
return D = Object.assign ? Object.assign.bind() : function(e) {
|
|
@@ -1391,7 +1391,7 @@ function D() {
|
|
|
1391
1391
|
return e;
|
|
1392
1392
|
}, D.apply(null, arguments);
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1394
|
+
function $o(e) {
|
|
1395
1395
|
for (var t, n = 0, o = 0, a = e.length; a >= 4; ++o, a -= 4) t = 1540483477 * (65535 & (t = 255 & e.charCodeAt(o) | (255 & e.charCodeAt(++o)) << 8 | (255 & e.charCodeAt(++o)) << 16 | (255 & e.charCodeAt(++o)) << 24)) + (59797 * (t >>> 16) << 16), n = 1540483477 * (65535 & (t ^= t >>> 24)) + (59797 * (t >>> 16) << 16) ^ 1540483477 * (65535 & n) + (59797 * (n >>> 16) << 16);
|
|
1396
1396
|
switch (a) {
|
|
1397
1397
|
case 3:
|
|
@@ -1403,8 +1403,8 @@ function Io(e) {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
return (((n = 1540483477 * (65535 & (n ^= n >>> 13)) + (59797 * (n >>> 16) << 16)) ^ n >>> 15) >>> 0).toString(36);
|
|
1405
1405
|
}
|
|
1406
|
-
process.env.NODE_ENV !== "production" && (
|
|
1407
|
-
|
|
1406
|
+
process.env.NODE_ENV !== "production" && (Gn = (e, t, n) => {
|
|
1407
|
+
Kr(e, `[ant-design-vue: ${t}] ${n}`), process.env.NODE_ENV === "test" && (Ro = {});
|
|
1408
1408
|
});
|
|
1409
1409
|
class Gc {
|
|
1410
1410
|
constructor(t) {
|
|
@@ -1418,97 +1418,97 @@ class Gc {
|
|
|
1418
1418
|
a === null ? this.cache.delete(o) : this.cache.set(o, a);
|
|
1419
1419
|
}
|
|
1420
1420
|
}
|
|
1421
|
-
const
|
|
1421
|
+
const Jr = (e) => {
|
|
1422
1422
|
const t = e;
|
|
1423
1423
|
return t.install = function(n) {
|
|
1424
1424
|
n.component(t.displayName || t.name, e);
|
|
1425
1425
|
}, e;
|
|
1426
1426
|
};
|
|
1427
|
-
function
|
|
1427
|
+
function Jo(e) {
|
|
1428
1428
|
return { type: Object, default: e };
|
|
1429
1429
|
}
|
|
1430
|
-
function
|
|
1430
|
+
function go(e) {
|
|
1431
1431
|
return { type: Boolean, default: e };
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function zo(e, t) {
|
|
1434
1434
|
return { validator: () => !0, default: e };
|
|
1435
1435
|
}
|
|
1436
|
-
function
|
|
1436
|
+
function Ua(e) {
|
|
1437
1437
|
return { type: Array, default: e };
|
|
1438
1438
|
}
|
|
1439
|
-
function
|
|
1439
|
+
function Qa(e) {
|
|
1440
1440
|
return { type: String, default: e };
|
|
1441
1441
|
}
|
|
1442
1442
|
function Vc(e, t) {
|
|
1443
|
-
return e ? { type: e, default: t } :
|
|
1443
|
+
return e ? { type: e, default: t } : zo(t);
|
|
1444
1444
|
}
|
|
1445
|
-
const
|
|
1446
|
-
function
|
|
1445
|
+
const Zr = "data-token-hash", kt = "data-css-hash", Dt = "__cssinjs_instance__";
|
|
1446
|
+
function un() {
|
|
1447
1447
|
const e = Math.random().toString(12).slice(2);
|
|
1448
1448
|
if (typeof document < "u" && document.head && document.body) {
|
|
1449
|
-
const t = document.body.querySelectorAll(`style[${
|
|
1449
|
+
const t = document.body.querySelectorAll(`style[${kt}]`) || [], { firstChild: n } = document.head;
|
|
1450
1450
|
Array.from(t).forEach((a) => {
|
|
1451
|
-
a[
|
|
1451
|
+
a[Dt] = a[Dt] || e, a[Dt] === e && document.head.insertBefore(a, n);
|
|
1452
1452
|
});
|
|
1453
1453
|
const o = {};
|
|
1454
|
-
Array.from(document.querySelectorAll(`style[${
|
|
1454
|
+
Array.from(document.querySelectorAll(`style[${kt}]`)).forEach((a) => {
|
|
1455
1455
|
var r;
|
|
1456
|
-
const i = a.getAttribute(
|
|
1457
|
-
o[i] ? a[
|
|
1456
|
+
const i = a.getAttribute(kt);
|
|
1457
|
+
o[i] ? a[Dt] === e && ((r = a.parentNode) === null || r === void 0 || r.removeChild(a)) : o[i] = !0;
|
|
1458
1458
|
});
|
|
1459
1459
|
}
|
|
1460
1460
|
return new Gc(e);
|
|
1461
1461
|
}
|
|
1462
|
-
const
|
|
1462
|
+
const ei = Symbol("StyleContextKey"), ti = { cache: un(), defaultCache: !0, hashPriority: "low" }, Un = () => {
|
|
1463
1463
|
const e = (() => {
|
|
1464
1464
|
var t, n, o;
|
|
1465
|
-
const a =
|
|
1465
|
+
const a = wr();
|
|
1466
1466
|
let r;
|
|
1467
1467
|
if (a && a.appContext) {
|
|
1468
1468
|
const i = (o = (n = (t = a.appContext) === null || t === void 0 ? void 0 : t.config) === null || n === void 0 ? void 0 : n.globalProperties) === null || o === void 0 ? void 0 : o.__ANTDV_CSSINJS_CACHE__;
|
|
1469
|
-
i ? r = i : (r =
|
|
1470
|
-
} else r =
|
|
1469
|
+
i ? r = i : (r = un(), a.appContext.config.globalProperties && (a.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__ = r));
|
|
1470
|
+
} else r = un();
|
|
1471
1471
|
return r;
|
|
1472
1472
|
})();
|
|
1473
|
-
return
|
|
1473
|
+
return ot(ei, cn(D(D({}, ti), { cache: e })));
|
|
1474
1474
|
};
|
|
1475
|
-
|
|
1475
|
+
Jr(Qe({ name: "AStyleProvider", inheritAttrs: !1, props: { autoClear: go(), mock: Qa(), cache: Jo(), defaultCache: go(), hashPriority: Qa(), container: Vc(), ssrInline: go(), transformers: Ua(), linters: Ua() }, setup(e, t) {
|
|
1476
1476
|
let { slots: n } = t;
|
|
1477
1477
|
return ((o) => {
|
|
1478
|
-
const a =
|
|
1479
|
-
|
|
1480
|
-
const i = D({}, a.value), l =
|
|
1478
|
+
const a = Un(), r = cn(D(D({}, ti), { cache: un() }));
|
|
1479
|
+
ft([() => pe(o), a], () => {
|
|
1480
|
+
const i = D({}, a.value), l = pe(o);
|
|
1481
1481
|
Object.keys(l).forEach((m) => {
|
|
1482
1482
|
const s = l[m];
|
|
1483
1483
|
l[m] !== void 0 && (i[m] = s);
|
|
1484
1484
|
});
|
|
1485
1485
|
const { cache: c } = l;
|
|
1486
|
-
i.cache = i.cache ||
|
|
1487
|
-
}, { immediate: !0 }),
|
|
1486
|
+
i.cache = i.cache || un(), i.defaultCache = !c && a.value.defaultCache, r.value = i;
|
|
1487
|
+
}, { immediate: !0 }), Vo(ei, r);
|
|
1488
1488
|
})(e), () => {
|
|
1489
1489
|
var o;
|
|
1490
1490
|
return (o = n.default) === null || o === void 0 ? void 0 : o.call(n);
|
|
1491
1491
|
};
|
|
1492
1492
|
} }));
|
|
1493
|
-
let
|
|
1493
|
+
let Io = !1;
|
|
1494
1494
|
const Xc = process.env.NODE_ENV === "production" ? function() {
|
|
1495
1495
|
return !1;
|
|
1496
1496
|
} : function() {
|
|
1497
|
-
return
|
|
1497
|
+
return Io;
|
|
1498
1498
|
};
|
|
1499
1499
|
if (process.env.NODE_ENV !== "production" && typeof module < "u" && module && module.hot && typeof window < "u") {
|
|
1500
1500
|
const e = window;
|
|
1501
1501
|
if (typeof e.webpackHotUpdate == "function") {
|
|
1502
1502
|
const t = e.webpackHotUpdate;
|
|
1503
1503
|
e.webpackHotUpdate = function() {
|
|
1504
|
-
return
|
|
1505
|
-
|
|
1504
|
+
return Io = !0, setTimeout(() => {
|
|
1505
|
+
Io = !1;
|
|
1506
1506
|
}, 0), t(...arguments);
|
|
1507
1507
|
};
|
|
1508
1508
|
}
|
|
1509
1509
|
}
|
|
1510
|
-
function
|
|
1511
|
-
const a =
|
|
1510
|
+
function ni(e, t, n, o) {
|
|
1511
|
+
const a = Un(), r = cn(""), i = cn();
|
|
1512
1512
|
gl(() => {
|
|
1513
1513
|
r.value = [e, ...t.value].join("%");
|
|
1514
1514
|
});
|
|
@@ -1518,74 +1518,74 @@ function ai(e, t, n, o) {
|
|
|
1518
1518
|
return h - 1 === 0 ? (o == null || o(g, !1), null) : [h - 1, g];
|
|
1519
1519
|
});
|
|
1520
1520
|
};
|
|
1521
|
-
return
|
|
1521
|
+
return ft(r, (m, s) => {
|
|
1522
1522
|
s && c(s), a.value.cache.update(m, (h) => {
|
|
1523
1523
|
const [g = 0, y] = h || [];
|
|
1524
1524
|
let d = y;
|
|
1525
1525
|
return process.env.NODE_ENV !== "production" && y && l && (o == null || o(d, l), d = null), [g + 1, d || n()];
|
|
1526
1526
|
}), i.value = a.value.cache.get(r.value)[1];
|
|
1527
|
-
}, { immediate: !0 }),
|
|
1527
|
+
}, { immediate: !0 }), Er(() => {
|
|
1528
1528
|
c(r.value);
|
|
1529
1529
|
}), i;
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function gn() {
|
|
1532
1532
|
return !(typeof window > "u" || !window.document || !window.document.createElement);
|
|
1533
1533
|
}
|
|
1534
|
-
const
|
|
1535
|
-
function
|
|
1534
|
+
const Ka = "data-vc-order", Lo = /* @__PURE__ */ new Map();
|
|
1535
|
+
function oi() {
|
|
1536
1536
|
let { mark: e } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1537
1537
|
return e ? e.startsWith("data-") ? e : `data-${e}` : "vc-util-key";
|
|
1538
1538
|
}
|
|
1539
|
-
function
|
|
1539
|
+
function Qn(e) {
|
|
1540
1540
|
return e.attachTo ? e.attachTo : document.querySelector("head") || document.body;
|
|
1541
1541
|
}
|
|
1542
|
-
function
|
|
1543
|
-
return Array.from((
|
|
1542
|
+
function ai(e) {
|
|
1543
|
+
return Array.from((Lo.get(e) || e).children).filter((t) => t.tagName === "STYLE");
|
|
1544
1544
|
}
|
|
1545
|
-
function
|
|
1545
|
+
function Ja(e) {
|
|
1546
1546
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1547
|
-
if (!
|
|
1547
|
+
if (!gn()) return null;
|
|
1548
1548
|
const { csp: n, prepend: o } = t, a = document.createElement("style");
|
|
1549
|
-
a.setAttribute(
|
|
1549
|
+
a.setAttribute(Ka, /* @__PURE__ */ function(l) {
|
|
1550
1550
|
return l === "queue" ? "prependQueue" : l ? "prepend" : "append";
|
|
1551
1551
|
}(o)), n != null && n.nonce && (a.nonce = n == null ? void 0 : n.nonce), a.innerHTML = e;
|
|
1552
|
-
const r =
|
|
1552
|
+
const r = Qn(t), { firstChild: i } = r;
|
|
1553
1553
|
if (o) {
|
|
1554
1554
|
if (o === "queue") {
|
|
1555
|
-
const l =
|
|
1555
|
+
const l = ai(r).filter((c) => ["prepend", "prependQueue"].includes(c.getAttribute(Ka)));
|
|
1556
1556
|
if (l.length) return r.insertBefore(a, l[l.length - 1].nextSibling), a;
|
|
1557
1557
|
}
|
|
1558
1558
|
r.insertBefore(a, i);
|
|
1559
1559
|
} else r.appendChild(a);
|
|
1560
1560
|
return a;
|
|
1561
1561
|
}
|
|
1562
|
-
function
|
|
1562
|
+
function ri(e) {
|
|
1563
1563
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1564
|
-
return
|
|
1564
|
+
return ai(Qn(t)).find((n) => n.getAttribute(oi(t)) === e);
|
|
1565
1565
|
}
|
|
1566
|
-
function
|
|
1566
|
+
function ii(e) {
|
|
1567
1567
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1568
|
-
const n =
|
|
1569
|
-
n &&
|
|
1568
|
+
const n = ri(e, t);
|
|
1569
|
+
n && Qn(t).removeChild(n);
|
|
1570
1570
|
}
|
|
1571
|
-
function
|
|
1571
|
+
function _o(e, t) {
|
|
1572
1572
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
1573
1573
|
var o, a, r;
|
|
1574
1574
|
(function(c, m) {
|
|
1575
|
-
const s =
|
|
1575
|
+
const s = Lo.get(c);
|
|
1576
1576
|
if (!s || !function(h, g) {
|
|
1577
1577
|
return !!h && !!h.contains && h.contains(g);
|
|
1578
1578
|
}(document, s)) {
|
|
1579
|
-
const h =
|
|
1580
|
-
|
|
1579
|
+
const h = Ja("", m), { parentNode: g } = h;
|
|
1580
|
+
Lo.set(c, g), c.removeChild(h);
|
|
1581
1581
|
}
|
|
1582
|
-
})(
|
|
1583
|
-
const i =
|
|
1582
|
+
})(Qn(n), n);
|
|
1583
|
+
const i = ri(t, n);
|
|
1584
1584
|
if (i) return !((o = n.csp) === null || o === void 0) && o.nonce && i.nonce !== ((a = n.csp) === null || a === void 0 ? void 0 : a.nonce) && (i.nonce = (r = n.csp) === null || r === void 0 ? void 0 : r.nonce), i.innerHTML !== e && (i.innerHTML = e), i;
|
|
1585
|
-
const l =
|
|
1586
|
-
return l.setAttribute(
|
|
1585
|
+
const l = Ja(e, n);
|
|
1586
|
+
return l.setAttribute(oi(n), t), l;
|
|
1587
1587
|
}
|
|
1588
|
-
class
|
|
1588
|
+
class $t {
|
|
1589
1589
|
constructor() {
|
|
1590
1590
|
this.cache = /* @__PURE__ */ new Map(), this.keys = [], this.cacheCallTimes = 0;
|
|
1591
1591
|
}
|
|
@@ -1608,7 +1608,7 @@ class Tt {
|
|
|
1608
1608
|
}
|
|
1609
1609
|
set(t, n) {
|
|
1610
1610
|
if (!this.has(t)) {
|
|
1611
|
-
if (this.size() + 1 >
|
|
1611
|
+
if (this.size() + 1 > $t.MAX_CACHE_SIZE + $t.MAX_CACHE_OFFSET) {
|
|
1612
1612
|
const [a] = this.keys.reduce((r, i) => {
|
|
1613
1613
|
const [, l] = r;
|
|
1614
1614
|
return this.internalGet(i)[1] < l ? [i, this.internalGet(i)[1]] : r;
|
|
@@ -1641,116 +1641,116 @@ class Tt {
|
|
|
1641
1641
|
}(n, t)), this.deleteByPath(this.cache, t);
|
|
1642
1642
|
}
|
|
1643
1643
|
}
|
|
1644
|
-
|
|
1645
|
-
let
|
|
1646
|
-
class
|
|
1644
|
+
$t.MAX_CACHE_SIZE = 20, $t.MAX_CACHE_OFFSET = 5;
|
|
1645
|
+
let Za = 0;
|
|
1646
|
+
class li {
|
|
1647
1647
|
constructor(t) {
|
|
1648
|
-
this.derivatives = Array.isArray(t) ? t : [t], this.id =
|
|
1648
|
+
this.derivatives = Array.isArray(t) ? t : [t], this.id = Za, t.length === 0 && Gn(t.length > 0, "[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."), Za += 1;
|
|
1649
1649
|
}
|
|
1650
1650
|
getDerivativeToken(t) {
|
|
1651
1651
|
return this.derivatives.reduce((n, o) => o(t, n), void 0);
|
|
1652
1652
|
}
|
|
1653
1653
|
}
|
|
1654
|
-
const
|
|
1655
|
-
function
|
|
1656
|
-
let t =
|
|
1654
|
+
const xo = new $t(), er = /* @__PURE__ */ new WeakMap();
|
|
1655
|
+
function zn(e) {
|
|
1656
|
+
let t = er.get(e) || "";
|
|
1657
1657
|
return t || (Object.keys(e).forEach((n) => {
|
|
1658
1658
|
const o = e[n];
|
|
1659
|
-
t += n, t += o instanceof
|
|
1660
|
-
}),
|
|
1659
|
+
t += n, t += o instanceof li ? o.id : o && typeof o == "object" ? zn(o) : o;
|
|
1660
|
+
}), er.set(e, t)), t;
|
|
1661
1661
|
}
|
|
1662
|
-
const
|
|
1663
|
-
let
|
|
1662
|
+
const Jt = `random-${Date.now()}-${Math.random()}`.replace(/\./g, ""), tr = "_bAmBoO_";
|
|
1663
|
+
let yo;
|
|
1664
1664
|
function Uc() {
|
|
1665
|
-
return
|
|
1665
|
+
return yo === void 0 && (yo = function(e, t, n) {
|
|
1666
1666
|
var o, a;
|
|
1667
|
-
if (
|
|
1668
|
-
|
|
1667
|
+
if (gn()) {
|
|
1668
|
+
_o(e, Jt);
|
|
1669
1669
|
const r = document.createElement("div");
|
|
1670
1670
|
r.style.position = "fixed", r.style.left = "0", r.style.top = "0", t == null || t(r), document.body.appendChild(r), process.env.NODE_ENV !== "production" && (r.innerHTML = "Test", r.style.zIndex = "9999999");
|
|
1671
|
-
const i = n ? n(r) : (o = getComputedStyle(r).content) === null || o === void 0 ? void 0 : o.includes(
|
|
1672
|
-
return (a = r.parentNode) === null || a === void 0 || a.removeChild(r),
|
|
1671
|
+
const i = n ? n(r) : (o = getComputedStyle(r).content) === null || o === void 0 ? void 0 : o.includes(tr);
|
|
1672
|
+
return (a = r.parentNode) === null || a === void 0 || a.removeChild(r), ii(Jt), i;
|
|
1673
1673
|
}
|
|
1674
1674
|
return !1;
|
|
1675
|
-
}(`@layer ${
|
|
1676
|
-
e.className =
|
|
1677
|
-
})),
|
|
1675
|
+
}(`@layer ${Jt} { .${Jt} { content: "${tr}"!important; } }`, (e) => {
|
|
1676
|
+
e.className = Jt;
|
|
1677
|
+
})), yo;
|
|
1678
1678
|
}
|
|
1679
|
-
const
|
|
1679
|
+
const nr = {}, Qc = process.env.NODE_ENV === "production", Kc = process.env.NODE_ENV === "prerender", Jc = Qc || Kc ? "css" : "css-dev-only-do-not-override", bt = /* @__PURE__ */ new Map();
|
|
1680
1680
|
function Zc(e, t) {
|
|
1681
|
-
|
|
1682
|
-
const n = Array.from(
|
|
1681
|
+
bt.set(e, (bt.get(e) || 0) - 1);
|
|
1682
|
+
const n = Array.from(bt.keys()), o = n.filter((a) => (bt.get(a) || 0) <= 0);
|
|
1683
1683
|
n.length - o.length > 0 && o.forEach((a) => {
|
|
1684
1684
|
(function(r, i) {
|
|
1685
|
-
typeof document < "u" && document.querySelectorAll(`style[${
|
|
1685
|
+
typeof document < "u" && document.querySelectorAll(`style[${Zr}="${r}"]`).forEach((l) => {
|
|
1686
1686
|
var c;
|
|
1687
|
-
l[
|
|
1687
|
+
l[Dt] === i && ((c = l.parentNode) === null || c === void 0 || c.removeChild(l));
|
|
1688
1688
|
});
|
|
1689
|
-
})(a, t),
|
|
1689
|
+
})(a, t), bt.delete(a);
|
|
1690
1690
|
});
|
|
1691
1691
|
}
|
|
1692
1692
|
function es(e, t) {
|
|
1693
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
1694
|
-
const o =
|
|
1695
|
-
return
|
|
1696
|
-
const { salt: c = "", override: m =
|
|
1693
|
+
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ae({});
|
|
1694
|
+
const o = Un(), a = q(() => D({}, ...t.value)), r = q(() => zn(a.value)), i = q(() => zn(n.value.override || nr));
|
|
1695
|
+
return ni("token", q(() => [n.value.salt || "", e.value.id, r.value, i.value]), () => {
|
|
1696
|
+
const { salt: c = "", override: m = nr, formatToken: s, getComputedToken: h } = n.value, g = h ? h(a.value, m, e.value) : ((u, b, p, x) => {
|
|
1697
1697
|
let w = D(D({}, p.getDerivativeToken(u)), b);
|
|
1698
1698
|
return x && (w = x(w)), w;
|
|
1699
1699
|
})(a.value, m, e.value, s), y = function(u, b) {
|
|
1700
|
-
return
|
|
1700
|
+
return $o(`${b}_${zn(u)}`);
|
|
1701
1701
|
}(g, c);
|
|
1702
1702
|
g._tokenKey = y, function(u) {
|
|
1703
|
-
|
|
1703
|
+
bt.set(u, (bt.get(u) || 0) + 1);
|
|
1704
1704
|
}(y);
|
|
1705
|
-
const d = `${Jc}-${
|
|
1705
|
+
const d = `${Jc}-${$o(y)}`;
|
|
1706
1706
|
return g._hashId = d, [g, d];
|
|
1707
1707
|
}, (c) => {
|
|
1708
1708
|
var m;
|
|
1709
1709
|
Zc(c[0]._tokenKey, (m = o.value) === null || m === void 0 ? void 0 : m.cache.instanceId);
|
|
1710
1710
|
});
|
|
1711
1711
|
}
|
|
1712
|
-
var ts = { animationIterationCount: 1, aspectRatio: 1, borderImageOutset: 1, borderImageSlice: 1, borderImageWidth: 1, boxFlex: 1, boxFlexGroup: 1, boxOrdinalGroup: 1, columnCount: 1, columns: 1, flex: 1, flexGrow: 1, flexPositive: 1, flexShrink: 1, flexNegative: 1, flexOrder: 1, gridRow: 1, gridRowEnd: 1, gridRowSpan: 1, gridRowStart: 1, gridColumn: 1, gridColumnEnd: 1, gridColumnSpan: 1, gridColumnStart: 1, msGridRow: 1, msGridRowSpan: 1, msGridColumn: 1, msGridColumnSpan: 1, fontWeight: 1, lineHeight: 1, opacity: 1, order: 1, orphans: 1, tabSize: 1, widows: 1, zIndex: 1, zoom: 1, WebkitLineClamp: 1, fillOpacity: 1, floodOpacity: 1, stopOpacity: 1, strokeDasharray: 1, strokeDashoffset: 1, strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 },
|
|
1713
|
-
function
|
|
1712
|
+
var ts = { animationIterationCount: 1, aspectRatio: 1, borderImageOutset: 1, borderImageSlice: 1, borderImageWidth: 1, boxFlex: 1, boxFlexGroup: 1, boxOrdinalGroup: 1, columnCount: 1, columns: 1, flex: 1, flexGrow: 1, flexPositive: 1, flexShrink: 1, flexNegative: 1, flexOrder: 1, gridRow: 1, gridRowEnd: 1, gridRowSpan: 1, gridRowStart: 1, gridColumn: 1, gridColumnEnd: 1, gridColumnSpan: 1, gridColumnStart: 1, msGridRow: 1, msGridRowSpan: 1, msGridColumn: 1, msGridColumnSpan: 1, fontWeight: 1, lineHeight: 1, opacity: 1, order: 1, orphans: 1, tabSize: 1, widows: 1, zIndex: 1, zoom: 1, WebkitLineClamp: 1, fillOpacity: 1, floodOpacity: 1, stopOpacity: 1, strokeDasharray: 1, strokeDashoffset: 1, strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 }, ci = "comm", si = "rule", pi = "decl", ui = Math.abs, Zo = String.fromCharCode;
|
|
1713
|
+
function di(e) {
|
|
1714
1714
|
return e.trim();
|
|
1715
1715
|
}
|
|
1716
|
-
function
|
|
1716
|
+
function In(e, t, n) {
|
|
1717
1717
|
return e.replace(t, n);
|
|
1718
1718
|
}
|
|
1719
1719
|
function ns(e, t, n) {
|
|
1720
1720
|
return e.indexOf(t, n);
|
|
1721
1721
|
}
|
|
1722
|
-
function
|
|
1722
|
+
function dn(e, t) {
|
|
1723
1723
|
return 0 | e.charCodeAt(t);
|
|
1724
1724
|
}
|
|
1725
|
-
function
|
|
1725
|
+
function zt(e, t, n) {
|
|
1726
1726
|
return e.slice(t, n);
|
|
1727
1727
|
}
|
|
1728
|
-
function
|
|
1728
|
+
function Ve(e) {
|
|
1729
1729
|
return e.length;
|
|
1730
1730
|
}
|
|
1731
|
-
function
|
|
1731
|
+
function En(e, t) {
|
|
1732
1732
|
return t.push(e), e;
|
|
1733
1733
|
}
|
|
1734
|
-
var
|
|
1735
|
-
function
|
|
1736
|
-
return { value: e, root: t, parent: n, type: o, props: a, children: r, line:
|
|
1734
|
+
var Kn = 1, It = 1, mi = 0, $e = 0, ve = 0, Lt = "";
|
|
1735
|
+
function ea(e, t, n, o, a, r, i, l) {
|
|
1736
|
+
return { value: e, root: t, parent: n, type: o, props: a, children: r, line: Kn, column: It, length: i, return: "", siblings: l };
|
|
1737
1737
|
}
|
|
1738
1738
|
function os() {
|
|
1739
|
-
return
|
|
1739
|
+
return ve = $e > 0 ? dn(Lt, --$e) : 0, It--, ve === 10 && (It = 1, Kn--), ve;
|
|
1740
1740
|
}
|
|
1741
|
-
function
|
|
1742
|
-
return
|
|
1741
|
+
function Ne() {
|
|
1742
|
+
return ve = $e < mi ? dn(Lt, $e++) : 0, It++, ve === 10 && (It = 1, Kn++), ve;
|
|
1743
1743
|
}
|
|
1744
|
-
function
|
|
1745
|
-
return
|
|
1744
|
+
function dt() {
|
|
1745
|
+
return dn(Lt, $e);
|
|
1746
1746
|
}
|
|
1747
|
-
function
|
|
1748
|
-
return
|
|
1747
|
+
function Ln() {
|
|
1748
|
+
return $e;
|
|
1749
1749
|
}
|
|
1750
|
-
function
|
|
1751
|
-
return
|
|
1750
|
+
function Jn(e, t) {
|
|
1751
|
+
return zt(Lt, e, t);
|
|
1752
1752
|
}
|
|
1753
|
-
function
|
|
1753
|
+
function mn(e) {
|
|
1754
1754
|
switch (e) {
|
|
1755
1755
|
case 0:
|
|
1756
1756
|
case 9:
|
|
@@ -1782,59 +1782,59 @@ function fn(e) {
|
|
|
1782
1782
|
}
|
|
1783
1783
|
return 0;
|
|
1784
1784
|
}
|
|
1785
|
-
function
|
|
1786
|
-
return
|
|
1785
|
+
function bo(e) {
|
|
1786
|
+
return di(Jn($e - 1, No(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
1787
1787
|
}
|
|
1788
1788
|
function as(e) {
|
|
1789
|
-
for (; (
|
|
1790
|
-
return
|
|
1789
|
+
for (; (ve = dt()) && ve < 33; ) Ne();
|
|
1790
|
+
return mn(e) > 2 || mn(ve) > 3 ? "" : " ";
|
|
1791
1791
|
}
|
|
1792
1792
|
function rs(e, t) {
|
|
1793
|
-
for (; --t &&
|
|
1794
|
-
return
|
|
1793
|
+
for (; --t && Ne() && !(ve < 48 || ve > 102 || ve > 57 && ve < 65 || ve > 70 && ve < 97); ) ;
|
|
1794
|
+
return Jn(e, Ln() + (t < 6 && dt() == 32 && Ne() == 32));
|
|
1795
1795
|
}
|
|
1796
|
-
function
|
|
1797
|
-
for (;
|
|
1796
|
+
function No(e) {
|
|
1797
|
+
for (; Ne(); ) switch (ve) {
|
|
1798
1798
|
case e:
|
|
1799
|
-
return
|
|
1799
|
+
return $e;
|
|
1800
1800
|
case 34:
|
|
1801
1801
|
case 39:
|
|
1802
|
-
e !== 34 && e !== 39 &&
|
|
1802
|
+
e !== 34 && e !== 39 && No(ve);
|
|
1803
1803
|
break;
|
|
1804
1804
|
case 40:
|
|
1805
|
-
e === 41 &&
|
|
1805
|
+
e === 41 && No(e);
|
|
1806
1806
|
break;
|
|
1807
1807
|
case 92:
|
|
1808
|
-
|
|
1808
|
+
Ne();
|
|
1809
1809
|
}
|
|
1810
|
-
return
|
|
1810
|
+
return $e;
|
|
1811
1811
|
}
|
|
1812
1812
|
function is(e, t) {
|
|
1813
|
-
for (;
|
|
1814
|
-
return "/*" +
|
|
1813
|
+
for (; Ne() && e + ve !== 57 && (e + ve !== 84 || dt() !== 47); ) ;
|
|
1814
|
+
return "/*" + Jn(t, $e - 1) + "*" + Zo(e === 47 ? e : Ne());
|
|
1815
1815
|
}
|
|
1816
1816
|
function ls(e) {
|
|
1817
|
-
for (; !
|
|
1818
|
-
return
|
|
1817
|
+
for (; !mn(dt()); ) Ne();
|
|
1818
|
+
return Jn(e, $e);
|
|
1819
1819
|
}
|
|
1820
1820
|
function cs(e) {
|
|
1821
1821
|
return function(t) {
|
|
1822
|
-
return
|
|
1823
|
-
}(
|
|
1824
|
-
return
|
|
1822
|
+
return Lt = "", t;
|
|
1823
|
+
}(_n("", null, null, null, [""], e = function(t) {
|
|
1824
|
+
return Kn = It = 1, mi = Ve(Lt = t), $e = 0, [];
|
|
1825
1825
|
}(e), 0, [0], e));
|
|
1826
1826
|
}
|
|
1827
|
-
function
|
|
1828
|
-
for (var m = 0, s = 0, h = i, g = 0, y = 0, d = 0, u = 1, b = 1, p = 1, x = 0, w = "", S = a, F = r, k = o, f = w; b; ) switch (d = x, x =
|
|
1827
|
+
function _n(e, t, n, o, a, r, i, l, c) {
|
|
1828
|
+
for (var m = 0, s = 0, h = i, g = 0, y = 0, d = 0, u = 1, b = 1, p = 1, x = 0, w = "", S = a, F = r, k = o, f = w; b; ) switch (d = x, x = Ne()) {
|
|
1829
1829
|
case 40:
|
|
1830
|
-
if (d != 108 &&
|
|
1831
|
-
ns(f +=
|
|
1830
|
+
if (d != 108 && dn(f, h - 1) == 58) {
|
|
1831
|
+
ns(f += In(bo(x), "&", "&\f"), "&\f", ui(m ? l[m - 1] : 0)) != -1 && (p = -1);
|
|
1832
1832
|
break;
|
|
1833
1833
|
}
|
|
1834
1834
|
case 34:
|
|
1835
1835
|
case 39:
|
|
1836
1836
|
case 91:
|
|
1837
|
-
f +=
|
|
1837
|
+
f += bo(x);
|
|
1838
1838
|
break;
|
|
1839
1839
|
case 9:
|
|
1840
1840
|
case 10:
|
|
@@ -1843,20 +1843,20 @@ function Nn(e, t, n, o, a, r, i, l, c) {
|
|
|
1843
1843
|
f += as(d);
|
|
1844
1844
|
break;
|
|
1845
1845
|
case 92:
|
|
1846
|
-
f += rs(
|
|
1846
|
+
f += rs(Ln() - 1, 7);
|
|
1847
1847
|
continue;
|
|
1848
1848
|
case 47:
|
|
1849
|
-
switch (
|
|
1849
|
+
switch (dt()) {
|
|
1850
1850
|
case 42:
|
|
1851
1851
|
case 47:
|
|
1852
|
-
|
|
1852
|
+
En(ss(is(Ne(), Ln()), t, n, c), c), mn(d || 1) != 5 && mn(dt() || 1) != 5 || !Ve(f) || zt(f, -1, void 0) === " " || (f += " ");
|
|
1853
1853
|
break;
|
|
1854
1854
|
default:
|
|
1855
1855
|
f += "/";
|
|
1856
1856
|
}
|
|
1857
1857
|
break;
|
|
1858
1858
|
case 123 * u:
|
|
1859
|
-
l[m++] =
|
|
1859
|
+
l[m++] = Ve(f) * p;
|
|
1860
1860
|
case 125 * u:
|
|
1861
1861
|
case 59:
|
|
1862
1862
|
case 0:
|
|
@@ -1865,61 +1865,61 @@ function Nn(e, t, n, o, a, r, i, l, c) {
|
|
|
1865
1865
|
case 125:
|
|
1866
1866
|
b = 0;
|
|
1867
1867
|
case 59 + s:
|
|
1868
|
-
p == -1 && (f =
|
|
1868
|
+
p == -1 && (f = In(f, /\f/g, "")), y > 0 && (Ve(f) - h || u === 0 && d === 47) && En(y > 32 ? ar(f + ";", o, n, h - 1, c) : ar(In(f, " ", "") + ";", o, n, h - 2, c), c);
|
|
1869
1869
|
break;
|
|
1870
1870
|
case 59:
|
|
1871
1871
|
f += ";";
|
|
1872
1872
|
default:
|
|
1873
|
-
if (
|
|
1874
|
-
else switch (g === 99 &&
|
|
1873
|
+
if (En(k = or(f, t, n, m, s, a, l, w, S = [], F = [], h, r), r), x === 123) if (s === 0) _n(f, t, k, k, S, r, h, l, F);
|
|
1874
|
+
else switch (g === 99 && dn(f, 3) === 110 ? 100 : g) {
|
|
1875
1875
|
case 100:
|
|
1876
1876
|
case 108:
|
|
1877
1877
|
case 109:
|
|
1878
1878
|
case 115:
|
|
1879
|
-
|
|
1879
|
+
_n(e, k, k, o && En(or(e, k, k, 0, 0, a, l, w, a, S = [], h, F), F), a, F, h, l, o ? S : F);
|
|
1880
1880
|
break;
|
|
1881
1881
|
default:
|
|
1882
|
-
|
|
1882
|
+
_n(f, k, k, k, [""], F, 0, l, F);
|
|
1883
1883
|
}
|
|
1884
1884
|
}
|
|
1885
1885
|
m = s = y = 0, u = p = 1, w = f = "", h = i;
|
|
1886
1886
|
break;
|
|
1887
1887
|
case 58:
|
|
1888
|
-
h = 1 +
|
|
1888
|
+
h = 1 + Ve(f), y = d;
|
|
1889
1889
|
default:
|
|
1890
1890
|
if (u < 1) {
|
|
1891
1891
|
if (x == 123) --u;
|
|
1892
1892
|
else if (x == 125 && u++ == 0 && os() == 125) continue;
|
|
1893
1893
|
}
|
|
1894
|
-
switch (f +=
|
|
1894
|
+
switch (f += Zo(x), x * u) {
|
|
1895
1895
|
case 38:
|
|
1896
1896
|
p = s > 0 ? 1 : (f += "\f", -1);
|
|
1897
1897
|
break;
|
|
1898
1898
|
case 44:
|
|
1899
|
-
l[m++] = (
|
|
1899
|
+
l[m++] = (Ve(f) - 1) * p, p = 1;
|
|
1900
1900
|
break;
|
|
1901
1901
|
case 64:
|
|
1902
|
-
|
|
1902
|
+
dt() === 45 && (f += bo(Ne())), g = dt(), s = h = Ve(w = f += ls(Ln())), x++;
|
|
1903
1903
|
break;
|
|
1904
1904
|
case 45:
|
|
1905
|
-
d === 45 &&
|
|
1905
|
+
d === 45 && Ve(f) == 2 && (u = 0);
|
|
1906
1906
|
}
|
|
1907
1907
|
}
|
|
1908
1908
|
return r;
|
|
1909
1909
|
}
|
|
1910
|
-
function
|
|
1910
|
+
function or(e, t, n, o, a, r, i, l, c, m, s, h) {
|
|
1911
1911
|
for (var g = a - 1, y = a === 0 ? r : [""], d = function(F) {
|
|
1912
1912
|
return F.length;
|
|
1913
|
-
}(y), u = 0, b = 0, p = 0; u < o; ++u) for (var x = 0, w =
|
|
1914
|
-
return
|
|
1913
|
+
}(y), u = 0, b = 0, p = 0; u < o; ++u) for (var x = 0, w = zt(e, g + 1, g = ui(b = i[u])), S = e; x < d; ++x) (S = di(b > 0 ? y[x] + " " + w : In(w, /&\f/g, y[x]))) && (c[p++] = S);
|
|
1914
|
+
return ea(e, t, n, a === 0 ? si : l, c, m, s, h);
|
|
1915
1915
|
}
|
|
1916
1916
|
function ss(e, t, n, o) {
|
|
1917
|
-
return
|
|
1917
|
+
return ea(e, t, n, ci, Zo(ve), zt(e, 2, -2), 0, o);
|
|
1918
1918
|
}
|
|
1919
|
-
function
|
|
1920
|
-
return
|
|
1919
|
+
function ar(e, t, n, o, a) {
|
|
1920
|
+
return ea(e, t, n, pi, zt(e, 0, o), zt(e, o + 1, -1), o, a);
|
|
1921
1921
|
}
|
|
1922
|
-
function
|
|
1922
|
+
function qo(e, t) {
|
|
1923
1923
|
for (var n = "", o = 0; o < e.length; o++) n += t(e[o], o, e, t) || "";
|
|
1924
1924
|
return n;
|
|
1925
1925
|
}
|
|
@@ -1928,60 +1928,60 @@ function ps(e, t, n, o) {
|
|
|
1928
1928
|
case "@layer":
|
|
1929
1929
|
if (e.children.length) break;
|
|
1930
1930
|
case "@import":
|
|
1931
|
-
case di:
|
|
1932
|
-
return e.return = e.return || e.value;
|
|
1933
1931
|
case pi:
|
|
1932
|
+
return e.return = e.return || e.value;
|
|
1933
|
+
case ci:
|
|
1934
1934
|
return "";
|
|
1935
1935
|
case "@keyframes":
|
|
1936
|
-
return e.return = e.value + "{" +
|
|
1937
|
-
case
|
|
1938
|
-
if (!
|
|
1936
|
+
return e.return = e.value + "{" + qo(e.children, o) + "}";
|
|
1937
|
+
case si:
|
|
1938
|
+
if (!Ve(e.value = e.props.join(","))) return "";
|
|
1939
1939
|
}
|
|
1940
|
-
return
|
|
1940
|
+
return Ve(n = qo(e.children, o)) ? e.return = e.value + "{" + n + "}" : "";
|
|
1941
1941
|
}
|
|
1942
|
-
function
|
|
1942
|
+
function fi(e, t) {
|
|
1943
1943
|
const { path: n, parentSelectors: o } = t;
|
|
1944
|
-
|
|
1944
|
+
Kr(!1, `[Ant Design Vue CSS-in-JS] ${n ? `Error in '${n}': ` : ""}${e}${o.length ? ` Selector info: ${o.join(" -> ")}` : ""}`);
|
|
1945
1945
|
}
|
|
1946
1946
|
const us = (e, t, n) => {
|
|
1947
1947
|
if (e === "content") {
|
|
1948
1948
|
const o = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
|
|
1949
|
-
(typeof t != "string" || ["normal", "none", "initial", "inherit", "unset"].indexOf(t) === -1 && !o.test(t) && (t.charAt(0) !== t.charAt(t.length - 1) || t.charAt(0) !== '"' && t.charAt(0) !== "'")) &&
|
|
1949
|
+
(typeof t != "string" || ["normal", "none", "initial", "inherit", "unset"].indexOf(t) === -1 && !o.test(t) && (t.charAt(0) !== t.charAt(t.length - 1) || t.charAt(0) !== '"' && t.charAt(0) !== "'")) && fi(`You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`, n);
|
|
1950
1950
|
}
|
|
1951
1951
|
}, ds = (e, t, n) => {
|
|
1952
|
-
e === "animation" && n.hashId && t !== "none" &&
|
|
1953
|
-
},
|
|
1954
|
-
let
|
|
1952
|
+
e === "animation" && n.hashId && t !== "none" && fi(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`, n);
|
|
1953
|
+
}, rr = "data-ant-cssinjs-cache-path";
|
|
1954
|
+
let Ct, vi = !0;
|
|
1955
1955
|
function ms(e) {
|
|
1956
1956
|
return function() {
|
|
1957
1957
|
var t;
|
|
1958
|
-
if (!
|
|
1958
|
+
if (!Ct && (Ct = {}, gn())) {
|
|
1959
1959
|
const n = document.createElement("div");
|
|
1960
|
-
n.className =
|
|
1960
|
+
n.className = rr, n.style.position = "fixed", n.style.visibility = "hidden", n.style.top = "-9999px", document.body.appendChild(n);
|
|
1961
1961
|
let o = getComputedStyle(n).content || "";
|
|
1962
1962
|
o = o.replace(/^"/, "").replace(/"$/, ""), o.split(";").forEach((r) => {
|
|
1963
1963
|
const [i, l] = r.split(":");
|
|
1964
|
-
|
|
1964
|
+
Ct[i] = l;
|
|
1965
1965
|
});
|
|
1966
|
-
const a = document.querySelector(`style[${
|
|
1967
|
-
a && (
|
|
1966
|
+
const a = document.querySelector(`style[${rr}]`);
|
|
1967
|
+
a && (vi = !1, (t = a.parentNode) === null || t === void 0 || t.removeChild(a)), document.body.removeChild(n);
|
|
1968
1968
|
}
|
|
1969
|
-
}(), !!
|
|
1969
|
+
}(), !!Ct[e];
|
|
1970
1970
|
}
|
|
1971
|
-
const
|
|
1972
|
-
function
|
|
1973
|
-
return
|
|
1971
|
+
const ir = gn(), lr = "_skip_check_", cr = "_multi_value_";
|
|
1972
|
+
function sr(e) {
|
|
1973
|
+
return qo(cs(e), ps).replace(/\{%%%\:[^;];}/g, ";");
|
|
1974
1974
|
}
|
|
1975
|
-
const
|
|
1975
|
+
const pr = /* @__PURE__ */ new Set();
|
|
1976
1976
|
process.env.NODE_ENV;
|
|
1977
|
-
const
|
|
1977
|
+
const Ho = function(e) {
|
|
1978
1978
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, { root: n, injectHash: o, parentSelectors: a } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : { root: !0, parentSelectors: [] };
|
|
1979
1979
|
const { hashId: r, layer: i, path: l, hashPriority: c, transformers: m = [], linters: s = [] } = t;
|
|
1980
1980
|
let h = "", g = {};
|
|
1981
1981
|
function y(u) {
|
|
1982
1982
|
const b = u.getName(r);
|
|
1983
1983
|
if (!g[b]) {
|
|
1984
|
-
const [p] =
|
|
1984
|
+
const [p] = Ho(u.style, t, { root: !1, parentSelectors: a });
|
|
1985
1985
|
g[b] = `@keyframes ${u.getName(r)}${p}`;
|
|
1986
1986
|
}
|
|
1987
1987
|
}
|
|
@@ -2004,32 +2004,32 @@ const Wo = function(e) {
|
|
|
2004
2004
|
var w;
|
|
2005
2005
|
const S = p[x];
|
|
2006
2006
|
if (typeof S != "object" || !S || x === "animationName" && S._keyframe || function(F) {
|
|
2007
|
-
return typeof F == "object" && F && (
|
|
2007
|
+
return typeof F == "object" && F && (lr in F || cr in F);
|
|
2008
2008
|
}(S)) {
|
|
2009
2009
|
let F = function(f, O) {
|
|
2010
|
-
process.env.NODE_ENV === "production" || typeof S == "object" && (S != null && S[
|
|
2010
|
+
process.env.NODE_ENV === "production" || typeof S == "object" && (S != null && S[lr]) || [us, ds, ...s].forEach((A) => A(f, O, { path: l, hashId: r, parentSelectors: a }));
|
|
2011
2011
|
const B = f.replace(/[A-Z]/g, (A) => `-${A.toLowerCase()}`);
|
|
2012
2012
|
let T = O;
|
|
2013
2013
|
ts[f] || typeof T != "number" || T === 0 || (T = `${T}px`), f === "animationName" && (O != null && O._keyframe) && (y(O), T = O.getName(r)), h += `${B}:${T};`;
|
|
2014
2014
|
};
|
|
2015
2015
|
const k = (w = S == null ? void 0 : S.value) !== null && w !== void 0 ? w : S;
|
|
2016
|
-
typeof S == "object" && (S != null && S[
|
|
2016
|
+
typeof S == "object" && (S != null && S[cr]) && Array.isArray(k) ? k.forEach((f) => {
|
|
2017
2017
|
F(x, f);
|
|
2018
2018
|
}) : F(x, k);
|
|
2019
2019
|
} else {
|
|
2020
2020
|
let F = !1, k = x.trim(), f = !1;
|
|
2021
2021
|
(n || o) && r ? k.startsWith("@") ? F = !0 : k = function(T, A, W) {
|
|
2022
2022
|
if (!A) return T;
|
|
2023
|
-
const
|
|
2023
|
+
const _ = `.${A}`, N = W === "low" ? `:where(${_})` : _;
|
|
2024
2024
|
return T.split(",").map((X) => {
|
|
2025
2025
|
var V;
|
|
2026
2026
|
const J = X.trim().split(/\s+/);
|
|
2027
2027
|
let Y = J[0] || "";
|
|
2028
2028
|
const Q = ((V = Y.match(/^\w+/)) === null || V === void 0 ? void 0 : V[0]) || "";
|
|
2029
|
-
return Y = `${Q}${
|
|
2029
|
+
return Y = `${Q}${N}${Y.slice(Q.length)}`, [Y, ...J.slice(1)].join(" ");
|
|
2030
2030
|
}).join(",");
|
|
2031
2031
|
}(x, r, c) : !n || r || k !== "&" && k !== "" || (k = "", f = !0);
|
|
2032
|
-
const [O, B] =
|
|
2032
|
+
const [O, B] = Ho(S, t, { root: f, injectHash: F, parentSelectors: [...a, k] });
|
|
2033
2033
|
g = D(D({}, g), B), h += `${k}${O}`;
|
|
2034
2034
|
}
|
|
2035
2035
|
});
|
|
@@ -2042,49 +2042,49 @@ const Wo = function(e) {
|
|
|
2042
2042
|
} else h = `{${h}}`;
|
|
2043
2043
|
return [h, g];
|
|
2044
2044
|
};
|
|
2045
|
-
function
|
|
2046
|
-
const n =
|
|
2047
|
-
let r =
|
|
2048
|
-
return process.env.NODE_ENV !== "production" && n.value.mock !== void 0 && (r = n.value.mock === "client"),
|
|
2045
|
+
function ur(e, t) {
|
|
2046
|
+
const n = Un(), o = q(() => e.value.token._tokenKey), a = q(() => [o.value, ...e.value.path]);
|
|
2047
|
+
let r = ir;
|
|
2048
|
+
return process.env.NODE_ENV !== "production" && n.value.mock !== void 0 && (r = n.value.mock === "client"), ni("style", a, () => {
|
|
2049
2049
|
const { path: i, hashId: l, layer: c, nonce: m, clientOnly: s, order: h = 0 } = e.value, g = a.value.join("|");
|
|
2050
2050
|
if (ms(g)) {
|
|
2051
2051
|
const [f, O] = function(B) {
|
|
2052
|
-
const T =
|
|
2052
|
+
const T = Ct[B];
|
|
2053
2053
|
let A = null;
|
|
2054
|
-
if (T &&
|
|
2054
|
+
if (T && gn()) if (vi) A = "_FILE_STYLE__";
|
|
2055
2055
|
else {
|
|
2056
|
-
const W = document.querySelector(`style[${
|
|
2057
|
-
W ? A = W.innerHTML : delete
|
|
2056
|
+
const W = document.querySelector(`style[${kt}="${Ct[B]}"]`);
|
|
2057
|
+
W ? A = W.innerHTML : delete Ct[B];
|
|
2058
2058
|
}
|
|
2059
2059
|
return [A, T];
|
|
2060
2060
|
}(g);
|
|
2061
2061
|
if (f) return [f, o.value, O, {}, s, h];
|
|
2062
2062
|
}
|
|
2063
|
-
const y = t(), { hashPriority: d, container: u, transformers: b, linters: p, cache: x } = n.value, [w, S] =
|
|
2064
|
-
return
|
|
2063
|
+
const y = t(), { hashPriority: d, container: u, transformers: b, linters: p, cache: x } = n.value, [w, S] = Ho(y, { hashId: l, hashPriority: d, layer: c, path: i.join("-"), transformers: b, linters: p }), F = sr(w), k = function(f, O) {
|
|
2064
|
+
return $o(`${f.join("%")}${O}`);
|
|
2065
2065
|
}(a.value, F);
|
|
2066
2066
|
if (r) {
|
|
2067
|
-
const f = { mark:
|
|
2067
|
+
const f = { mark: kt, prepend: "queue", attachTo: u, priority: h }, O = typeof m == "function" ? m() : m;
|
|
2068
2068
|
O && (f.csp = { nonce: O });
|
|
2069
|
-
const B =
|
|
2070
|
-
B[
|
|
2071
|
-
|
|
2069
|
+
const B = _o(F, k, f);
|
|
2070
|
+
B[Dt] = x.instanceId, B.setAttribute(Zr, o.value), process.env.NODE_ENV !== "production" && B.setAttribute("data-cache-path", a.value.join("|")), Object.keys(S).forEach((T) => {
|
|
2071
|
+
pr.has(T) || (pr.add(T), _o(sr(S[T]), `_effect-${T}`, { mark: kt, prepend: "queue", attachTo: u }));
|
|
2072
2072
|
});
|
|
2073
2073
|
}
|
|
2074
2074
|
return [F, o.value, k, S, s, h];
|
|
2075
2075
|
}, (i, l) => {
|
|
2076
2076
|
let [, , c] = i;
|
|
2077
|
-
(l || n.value.autoClear) &&
|
|
2077
|
+
(l || n.value.autoClear) && ir && ii(c, { mark: kt });
|
|
2078
2078
|
}), (i) => i;
|
|
2079
2079
|
}
|
|
2080
|
-
const
|
|
2080
|
+
const hi = { blue: "#1677ff", purple: "#722ED1", cyan: "#13C2C2", green: "#52C41A", magenta: "#EB2F96", pink: "#eb2f96", red: "#F5222D", orange: "#FA8C16", yellow: "#FADB14", volcano: "#FA541C", geekblue: "#2F54EB", gold: "#FAAD14", lime: "#A0D911" }, ta = D(D({}, hi), { colorPrimary: "#1677ff", colorSuccess: "#52c41a", colorWarning: "#faad14", colorError: "#ff4d4f", colorInfo: "#1677ff", colorTextBase: "", colorBgBase: "", fontFamily: `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
2081
2081
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
2082
|
-
'Noto Color Emoji'`, fontSize: 14, lineWidth: 1, lineType: "solid", motionUnit: 0.1, motionBase: 0, motionEaseOutCirc: "cubic-bezier(0.08, 0.82, 0.17, 1)", motionEaseInOutCirc: "cubic-bezier(0.78, 0.14, 0.15, 0.86)", motionEaseOut: "cubic-bezier(0.215, 0.61, 0.355, 1)", motionEaseInOut: "cubic-bezier(0.645, 0.045, 0.355, 1)", motionEaseOutBack: "cubic-bezier(0.12, 0.4, 0.29, 1.46)", motionEaseInBack: "cubic-bezier(0.71, -0.46, 0.88, 0.6)", motionEaseInQuint: "cubic-bezier(0.755, 0.05, 0.855, 0.06)", motionEaseOutQuint: "cubic-bezier(0.23, 1, 0.32, 1)", borderRadius: 6, sizeUnit: 4, sizeStep: 4, sizePopupArrow: 16, controlHeight: 32, zIndexBase: 0, zIndexPopupBase: 1e3, opacityImage: 1, wireframe: !1 }),
|
|
2083
|
-
const t =
|
|
2082
|
+
'Noto Color Emoji'`, fontSize: 14, lineWidth: 1, lineType: "solid", motionUnit: 0.1, motionBase: 0, motionEaseOutCirc: "cubic-bezier(0.08, 0.82, 0.17, 1)", motionEaseInOutCirc: "cubic-bezier(0.78, 0.14, 0.15, 0.86)", motionEaseOut: "cubic-bezier(0.215, 0.61, 0.355, 1)", motionEaseInOut: "cubic-bezier(0.645, 0.045, 0.355, 1)", motionEaseOutBack: "cubic-bezier(0.12, 0.4, 0.29, 1.46)", motionEaseInBack: "cubic-bezier(0.71, -0.46, 0.88, 0.6)", motionEaseInQuint: "cubic-bezier(0.755, 0.05, 0.855, 0.06)", motionEaseOutQuint: "cubic-bezier(0.23, 1, 0.32, 1)", borderRadius: 6, sizeUnit: 4, sizeStep: 4, sizePopupArrow: 16, controlHeight: 32, zIndexBase: 0, zIndexPopupBase: 1e3, opacityImage: 1, wireframe: !1 }), nt = (e, t) => new Fe(e).setAlpha(t).toRgbString(), Zt = (e, t) => new Fe(e).darken(t).toHexString(), fs = (e) => {
|
|
2083
|
+
const t = pn(e);
|
|
2084
2084
|
return { 1: t[0], 2: t[1], 3: t[2], 4: t[3], 5: t[4], 6: t[5], 7: t[6], 8: t[4], 9: t[5], 10: t[6] };
|
|
2085
2085
|
}, vs = (e, t) => {
|
|
2086
2086
|
const n = e || "#fff", o = t || "#000";
|
|
2087
|
-
return { colorBgBase: n, colorTextBase: o, colorText:
|
|
2087
|
+
return { colorBgBase: n, colorTextBase: o, colorText: nt(o, 0.88), colorTextSecondary: nt(o, 0.65), colorTextTertiary: nt(o, 0.45), colorTextQuaternary: nt(o, 0.25), colorFill: nt(o, 0.15), colorFillSecondary: nt(o, 0.06), colorFillTertiary: nt(o, 0.04), colorFillQuaternary: nt(o, 0.02), colorBgLayout: Zt(n, 4), colorBgContainer: Zt(n, 0), colorBgElevated: Zt(n, 0), colorBgSpotlight: nt(o, 0.85), colorBorder: Zt(n, 15), colorBorderSecondary: Zt(n, 6) };
|
|
2088
2088
|
}, hs = (e) => {
|
|
2089
2089
|
const t = function(a) {
|
|
2090
2090
|
const r = new Array(10).fill(null).map((i, l) => {
|
|
@@ -2095,18 +2095,18 @@ const xi = { blue: "#1677ff", purple: "#722ED1", cyan: "#13C2C2", green: "#52C41
|
|
|
2095
2095
|
}(e), n = t.map((a) => a.size), o = t.map((a) => a.lineHeight);
|
|
2096
2096
|
return { fontSizeSM: n[0], fontSize: n[1], fontSizeLG: n[2], fontSizeXL: n[3], fontSizeHeading1: n[6], fontSizeHeading2: n[5], fontSizeHeading3: n[4], fontSizeHeading4: n[3], fontSizeHeading5: n[2], lineHeight: o[1], lineHeightLG: o[2], lineHeightSM: o[0], lineHeightHeading1: o[6], lineHeightHeading2: o[5], lineHeightHeading3: o[4], lineHeightHeading4: o[3], lineHeightHeading5: o[2] };
|
|
2097
2097
|
};
|
|
2098
|
-
function
|
|
2098
|
+
function wo(e) {
|
|
2099
2099
|
return e >= 0 && e <= 255;
|
|
2100
2100
|
}
|
|
2101
|
-
function
|
|
2102
|
-
const { r: n, g: o, b: a, a: r } = new
|
|
2101
|
+
function Pn(e, t) {
|
|
2102
|
+
const { r: n, g: o, b: a, a: r } = new Fe(e).toRgb();
|
|
2103
2103
|
if (r < 1) return e;
|
|
2104
|
-
const { r: i, g: l, b: c } = new
|
|
2104
|
+
const { r: i, g: l, b: c } = new Fe(t).toRgb();
|
|
2105
2105
|
for (let m = 0.01; m <= 1; m += 0.01) {
|
|
2106
2106
|
const s = Math.round((n - i * (1 - m)) / m), h = Math.round((o - l * (1 - m)) / m), g = Math.round((a - c * (1 - m)) / m);
|
|
2107
|
-
if (
|
|
2107
|
+
if (wo(s) && wo(h) && wo(g)) return new Fe({ r: s, g: h, b: g, a: Math.round(100 * m) / 100 }).toRgbString();
|
|
2108
2108
|
}
|
|
2109
|
-
return new
|
|
2109
|
+
return new Fe({ r: n, g: o, b: a, a: 1 }).toRgbString();
|
|
2110
2110
|
}
|
|
2111
2111
|
var gs = function(e, t) {
|
|
2112
2112
|
var n = {};
|
|
@@ -2119,11 +2119,11 @@ var gs = function(e, t) {
|
|
|
2119
2119
|
};
|
|
2120
2120
|
function xs(e) {
|
|
2121
2121
|
const { override: t } = e, n = gs(e, ["override"]), o = D({}, t);
|
|
2122
|
-
Object.keys(
|
|
2122
|
+
Object.keys(ta).forEach((c) => {
|
|
2123
2123
|
delete o[c];
|
|
2124
2124
|
});
|
|
2125
2125
|
const a = D(D({}, n), o), r = 1200, i = 1600, l = 2e3;
|
|
2126
|
-
return D(D(D({}, a), { colorLink: a.colorInfoText, colorLinkHover: a.colorInfoHover, colorLinkActive: a.colorInfoActive, colorFillContent: a.colorFillSecondary, colorFillContentHover: a.colorFill, colorFillAlter: a.colorFillQuaternary, colorBgContainerDisabled: a.colorFillTertiary, colorBorderBg: a.colorBgContainer, colorSplit:
|
|
2126
|
+
return D(D(D({}, a), { colorLink: a.colorInfoText, colorLinkHover: a.colorInfoHover, colorLinkActive: a.colorInfoActive, colorFillContent: a.colorFillSecondary, colorFillContentHover: a.colorFill, colorFillAlter: a.colorFillQuaternary, colorBgContainerDisabled: a.colorFillTertiary, colorBorderBg: a.colorBgContainer, colorSplit: Pn(a.colorBorderSecondary, a.colorBgContainer), colorTextPlaceholder: a.colorTextQuaternary, colorTextDisabled: a.colorTextQuaternary, colorTextHeading: a.colorText, colorTextLabel: a.colorTextSecondary, colorTextDescription: a.colorTextTertiary, colorTextLightSolid: a.colorWhite, colorHighlight: a.colorError, colorBgTextHover: a.colorFillSecondary, colorBgTextActive: a.colorFill, colorIcon: a.colorTextTertiary, colorIconHover: a.colorText, colorErrorOutline: Pn(a.colorErrorBg, a.colorBgContainer), colorWarningOutline: Pn(a.colorWarningBg, a.colorBgContainer), fontSizeIcon: a.fontSizeSM, lineWidth: a.lineWidth, controlOutlineWidth: 2 * a.lineWidth, controlInteractiveSize: a.controlHeight / 2, controlItemBgHover: a.colorFillTertiary, controlItemBgActive: a.colorPrimaryBg, controlItemBgActiveHover: a.colorPrimaryBgHover, controlItemBgActiveDisabled: a.colorFill, controlTmpOutline: a.colorFillQuaternary, controlOutline: Pn(a.colorPrimaryBg, a.colorBgContainer), lineType: a.lineType, borderRadius: a.borderRadius, borderRadiusXS: a.borderRadiusXS, borderRadiusSM: a.borderRadiusSM, borderRadiusLG: a.borderRadiusLG, fontWeightStrong: 600, opacityLoading: 0.65, linkDecoration: "none", linkHoverDecoration: "none", linkFocusDecoration: "none", controlPaddingHorizontal: 12, controlPaddingHorizontalSM: 8, paddingXXS: a.sizeXXS, paddingXS: a.sizeXS, paddingSM: a.sizeSM, padding: a.size, paddingMD: a.sizeMD, paddingLG: a.sizeLG, paddingXL: a.sizeXL, paddingContentHorizontalLG: a.sizeLG, paddingContentVerticalLG: a.sizeMS, paddingContentHorizontal: a.sizeMS, paddingContentVertical: a.sizeSM, paddingContentHorizontalSM: a.size, paddingContentVerticalSM: a.sizeXS, marginXXS: a.sizeXXS, marginXS: a.sizeXS, marginSM: a.sizeSM, margin: a.size, marginMD: a.sizeMD, marginLG: a.sizeLG, marginXL: a.sizeXL, marginXXL: a.sizeXXL, boxShadow: `
|
|
2127
2127
|
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
2128
2128
|
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
2129
2129
|
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
@@ -2136,9 +2136,9 @@ function xs(e) {
|
|
|
2136
2136
|
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
2137
2137
|
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
2138
2138
|
`, screenXS: 480, screenXSMin: 480, screenXSMax: 575, screenSM: 576, screenSMMin: 576, screenSMMax: 767, screenMD: 768, screenMDMin: 768, screenMDMax: 991, screenLG: 992, screenLGMin: 992, screenLGMax: 1199, screenXL: r, screenXLMin: r, screenXLMax: 1599, screenXXL: i, screenXXLMin: i, screenXXLMax: 1999, screenXXXL: l, screenXXXLMin: l, boxShadowPopoverArrow: "3px 3px 7px rgba(0, 0, 0, 0.1)", boxShadowCard: `
|
|
2139
|
-
0 1px 2px -2px ${new
|
|
2140
|
-
0 3px 6px 0 ${new
|
|
2141
|
-
0 5px 12px 4px ${new
|
|
2139
|
+
0 1px 2px -2px ${new Fe("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
2140
|
+
0 3px 6px 0 ${new Fe("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
2141
|
+
0 5px 12px 4px ${new Fe("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
2142
2142
|
`, boxShadowDrawerRight: `
|
|
2143
2143
|
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
2144
2144
|
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
@@ -2160,48 +2160,48 @@ function xs(e) {
|
|
|
2160
2160
|
const ys = { overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis" }, bs = (e) => ({ boxSizing: "border-box", margin: 0, padding: 0, color: e.colorText, fontSize: e.fontSize, lineHeight: e.lineHeight, listStyle: "none", fontFamily: e.fontFamily }), ws = (e) => ({ a: { color: e.colorLink, textDecoration: e.linkDecoration, backgroundColor: "transparent", outline: "none", cursor: "pointer", transition: `color ${e.motionDurationSlow}`, "-webkit-text-decoration-skip": "objects", "&:hover": { color: e.colorLinkHover }, "&:active": { color: e.colorLinkActive }, "&:active,\n &:hover": { textDecoration: e.linkHoverDecoration, outline: 0 }, "&:focus": { textDecoration: e.linkFocusDecoration, outline: 0 }, "&[disabled]": { color: e.colorTextDisabled, cursor: "not-allowed" } } }), Ss = (e, t) => {
|
|
2161
2161
|
const { fontFamily: n, fontSize: o } = e, a = `[class^="${t}"], [class*=" ${t}"]`;
|
|
2162
2162
|
return { [a]: { fontFamily: n, fontSize: o, boxSizing: "border-box", "&::before, &::after": { boxSizing: "border-box" }, [a]: { boxSizing: "border-box", "&::before, &::after": { boxSizing: "border-box" } } } };
|
|
2163
|
-
},
|
|
2164
|
-
function
|
|
2163
|
+
}, gi = Symbol("configProvider"), xi = { getPrefixCls: (e, t) => t || (e ? `ant-${e}` : "ant"), iconPrefixCls: q(() => "anticon"), getPopupContainer: q(() => () => document.body), direction: q(() => "ltr") };
|
|
2164
|
+
function yi(e, t, n) {
|
|
2165
2165
|
return (o) => {
|
|
2166
|
-
const a = q(() => o == null ? void 0 : o.value), [r, i, l] =
|
|
2167
|
-
return
|
|
2166
|
+
const a = q(() => o == null ? void 0 : o.value), [r, i, l] = Zn(), { getPrefixCls: c, iconPrefixCls: m } = ot(gi, xi), s = q(() => c());
|
|
2167
|
+
return ur(q(() => ({ theme: r.value, token: i.value, hashId: l.value, path: ["Shared", s.value] })), () => [{ "&": ws(i.value) }]), [ur(q(() => ({ theme: r.value, token: i.value, hashId: l.value, path: [e, a.value, m.value] })), () => {
|
|
2168
2168
|
const { token: h, flush: g } = function(b) {
|
|
2169
2169
|
let p, x = b, w = ks;
|
|
2170
|
-
return
|
|
2170
|
+
return bi && (p = /* @__PURE__ */ new Set(), x = new Proxy(b, { get: (S, F) => (Yo && p.add(F), S[F]) }), w = (S, F) => {
|
|
2171
2171
|
Array.from(p);
|
|
2172
2172
|
}), { token: x, keys: p, flush: w };
|
|
2173
|
-
}(i.value), y = D(D({}, n), i.value[e]), d =
|
|
2173
|
+
}(i.value), y = D(D({}, n), i.value[e]), d = na(h, { componentCls: `.${a.value}`, prefixCls: a.value, iconCls: `.${m.value}`, antCls: `.${s.value}` }, y), u = t(d, { hashId: l.value, prefixCls: a.value, rootPrefixCls: s.value, iconPrefixCls: m.value, overrideComponentToken: i.value[e] });
|
|
2174
2174
|
return g(e, y), [Ss(i.value, a.value), u];
|
|
2175
2175
|
}), l];
|
|
2176
2176
|
};
|
|
2177
2177
|
}
|
|
2178
|
-
const
|
|
2179
|
-
let
|
|
2180
|
-
function
|
|
2178
|
+
const bi = process.env.NODE_ENV !== "production" || typeof CSSINJS_STATISTIC < "u";
|
|
2179
|
+
let Yo = !0;
|
|
2180
|
+
function na() {
|
|
2181
2181
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n];
|
|
2182
|
-
if (!
|
|
2183
|
-
|
|
2182
|
+
if (!bi) return D({}, ...t);
|
|
2183
|
+
Yo = !1;
|
|
2184
2184
|
const o = {};
|
|
2185
2185
|
return t.forEach((a) => {
|
|
2186
2186
|
Object.keys(a).forEach((r) => {
|
|
2187
2187
|
Object.defineProperty(o, r, { configurable: !0, enumerable: !0, get: () => a[r] });
|
|
2188
2188
|
});
|
|
2189
|
-
}),
|
|
2189
|
+
}), Yo = !0, o;
|
|
2190
2190
|
}
|
|
2191
2191
|
function ks() {
|
|
2192
2192
|
}
|
|
2193
2193
|
const Cs = function(e) {
|
|
2194
2194
|
const t = Array.isArray(e) ? e : [e];
|
|
2195
|
-
return
|
|
2195
|
+
return xo.has(t) || xo.set(t, new li(t)), xo.get(t);
|
|
2196
2196
|
}(function(e) {
|
|
2197
|
-
const t = Object.keys(
|
|
2198
|
-
const o =
|
|
2197
|
+
const t = Object.keys(hi).map((n) => {
|
|
2198
|
+
const o = pn(e[n]);
|
|
2199
2199
|
return new Array(10).fill(1).reduce((a, r, i) => (a[`${n}-${i + 1}`] = o[i], a), {});
|
|
2200
2200
|
}).reduce((n, o) => n = D(D({}, n), o), {});
|
|
2201
2201
|
return D(D(D(D(D(D(D({}, e), t), function(n, o) {
|
|
2202
2202
|
let { generateColorPalettes: a, generateNeutralColorPalettes: r } = o;
|
|
2203
2203
|
const { colorSuccess: i, colorWarning: l, colorError: c, colorInfo: m, colorPrimary: s, colorBgBase: h, colorTextBase: g } = n, y = a(s), d = a(i), u = a(l), b = a(c), p = a(m);
|
|
2204
|
-
return D(D({}, r(h, g)), { colorPrimaryBg: y[1], colorPrimaryBgHover: y[2], colorPrimaryBorder: y[3], colorPrimaryBorderHover: y[4], colorPrimaryHover: y[5], colorPrimary: y[6], colorPrimaryActive: y[7], colorPrimaryTextHover: y[8], colorPrimaryText: y[9], colorPrimaryTextActive: y[10], colorSuccessBg: d[1], colorSuccessBgHover: d[2], colorSuccessBorder: d[3], colorSuccessBorderHover: d[4], colorSuccessHover: d[4], colorSuccess: d[6], colorSuccessActive: d[7], colorSuccessTextHover: d[8], colorSuccessText: d[9], colorSuccessTextActive: d[10], colorErrorBg: b[1], colorErrorBgHover: b[2], colorErrorBorder: b[3], colorErrorBorderHover: b[4], colorErrorHover: b[5], colorError: b[6], colorErrorActive: b[7], colorErrorTextHover: b[8], colorErrorText: b[9], colorErrorTextActive: b[10], colorWarningBg: u[1], colorWarningBgHover: u[2], colorWarningBorder: u[3], colorWarningBorderHover: u[4], colorWarningHover: u[4], colorWarning: u[6], colorWarningActive: u[7], colorWarningTextHover: u[8], colorWarningText: u[9], colorWarningTextActive: u[10], colorInfoBg: p[1], colorInfoBgHover: p[2], colorInfoBorder: p[3], colorInfoBorderHover: p[4], colorInfoHover: p[4], colorInfo: p[6], colorInfoActive: p[7], colorInfoTextHover: p[8], colorInfoText: p[9], colorInfoTextActive: p[10], colorBgMask: new
|
|
2204
|
+
return D(D({}, r(h, g)), { colorPrimaryBg: y[1], colorPrimaryBgHover: y[2], colorPrimaryBorder: y[3], colorPrimaryBorderHover: y[4], colorPrimaryHover: y[5], colorPrimary: y[6], colorPrimaryActive: y[7], colorPrimaryTextHover: y[8], colorPrimaryText: y[9], colorPrimaryTextActive: y[10], colorSuccessBg: d[1], colorSuccessBgHover: d[2], colorSuccessBorder: d[3], colorSuccessBorderHover: d[4], colorSuccessHover: d[4], colorSuccess: d[6], colorSuccessActive: d[7], colorSuccessTextHover: d[8], colorSuccessText: d[9], colorSuccessTextActive: d[10], colorErrorBg: b[1], colorErrorBgHover: b[2], colorErrorBorder: b[3], colorErrorBorderHover: b[4], colorErrorHover: b[5], colorError: b[6], colorErrorActive: b[7], colorErrorTextHover: b[8], colorErrorText: b[9], colorErrorTextActive: b[10], colorWarningBg: u[1], colorWarningBgHover: u[2], colorWarningBorder: u[3], colorWarningBorderHover: u[4], colorWarningHover: u[4], colorWarning: u[6], colorWarningActive: u[7], colorWarningTextHover: u[8], colorWarningText: u[9], colorWarningTextActive: u[10], colorInfoBg: p[1], colorInfoBgHover: p[2], colorInfoBorder: p[3], colorInfoBorderHover: p[4], colorInfoHover: p[4], colorInfo: p[6], colorInfoActive: p[7], colorInfoTextHover: p[8], colorInfoText: p[9], colorInfoTextActive: p[10], colorBgMask: new Fe("#000").setAlpha(0.45).toRgbString(), colorWhite: "#fff" });
|
|
2205
2205
|
}(e, { generateColorPalettes: fs, generateNeutralColorPalettes: vs })), hs(e.fontSize)), function(n) {
|
|
2206
2206
|
const { sizeUnit: o, sizeStep: a } = n;
|
|
2207
2207
|
return { sizeXXL: o * (a + 8), sizeXL: o * (a + 4), sizeLG: o * (a + 2), sizeMD: o * (a + 1), sizeMS: o * a, size: o * a, sizeSM: o * (a - 1), sizeXS: o * (a - 2), sizeXXS: o * (a - 3) };
|
|
@@ -2215,40 +2215,40 @@ const Cs = function(e) {
|
|
|
2215
2215
|
return l < 6 && l >= 5 ? c = l + 1 : l < 16 && l >= 6 ? c = l + 2 : l >= 16 && (c = 16), l < 7 && l >= 5 ? m = 4 : l < 8 && l >= 7 ? m = 5 : l < 14 && l >= 8 ? m = 6 : l < 16 && l >= 14 ? m = 7 : l >= 16 && (m = 8), l < 6 && l >= 2 ? s = 1 : l >= 6 && (s = 2), l > 4 && l < 8 ? h = 4 : l >= 8 && (h = 6), { borderRadius: l > 16 ? 16 : l, borderRadiusXS: s, borderRadiusSM: m, borderRadiusLG: c, borderRadiusOuter: h };
|
|
2216
2216
|
})(r));
|
|
2217
2217
|
}(e));
|
|
2218
|
-
}), Fs = { token:
|
|
2219
|
-
function
|
|
2220
|
-
const e =
|
|
2218
|
+
}), Fs = { token: ta, hashed: !0 }, wi = Symbol("DesignTokenContext"), Wo = cn();
|
|
2219
|
+
function Zn() {
|
|
2220
|
+
const e = ot(wi, q(() => Wo.value || Fs)), t = q(() => `4.2.6-${e.value.hashed || ""}`), n = q(() => e.value.theme || Cs), o = es(n, q(() => [ta, e.value.token]), q(() => ({ salt: t.value, override: D({ override: e.value.token }, e.value.components), formatToken: xs })));
|
|
2221
2221
|
return [n, q(() => o.value[0]), q(() => e.value.hashed ? o.value[1] : "")];
|
|
2222
2222
|
}
|
|
2223
|
-
|
|
2223
|
+
Qe({ props: { value: Jo() }, setup(e, t) {
|
|
2224
2224
|
let { slots: n } = t;
|
|
2225
2225
|
var o;
|
|
2226
|
-
return o = q(() => e.value),
|
|
2227
|
-
|
|
2226
|
+
return o = q(() => e.value), Vo(wi, o), ft(o, () => {
|
|
2227
|
+
Wo.value = pe(o), xl(Wo);
|
|
2228
2228
|
}, { immediate: !0, deep: !0 }), () => {
|
|
2229
2229
|
var a;
|
|
2230
2230
|
return (a = n.default) === null || a === void 0 ? void 0 : a.call(n);
|
|
2231
2231
|
};
|
|
2232
2232
|
} });
|
|
2233
|
-
const
|
|
2234
|
-
function
|
|
2233
|
+
const dr = ["xxxl", "xxl", "xl", "lg", "md", "sm", "xs"];
|
|
2234
|
+
function jn(e) {
|
|
2235
2235
|
return e != null;
|
|
2236
2236
|
}
|
|
2237
|
-
const
|
|
2237
|
+
const So = (e) => {
|
|
2238
2238
|
const { itemPrefixCls: t, component: n, span: o, labelStyle: a, contentStyle: r, bordered: i, label: l, content: c, colon: m } = e, s = n;
|
|
2239
|
-
return i ? P(s, { class: [{ [`${t}-item-label`]:
|
|
2239
|
+
return i ? P(s, { class: [{ [`${t}-item-label`]: jn(l), [`${t}-item-content`]: jn(c) }], colSpan: o }, { default: () => [jn(l) && P("span", { style: a }, [l]), jn(c) && P("span", { style: r }, [c])] }) : P(s, { class: [`${t}-item`], colSpan: o }, { default: () => [P("div", { class: `${t}-item-container` }, [(l || l === 0) && P("span", { class: [`${t}-item-label`, { [`${t}-item-no-colon`]: !m }], style: a }, [l]), (c || c === 0) && P("span", { class: `${t}-item-content`, style: r }, [c])])] });
|
|
2240
2240
|
}, Es = Array.isArray, Ps = (e) => e !== null && typeof e == "object", js = /-(\w)/g, Os = /* @__PURE__ */ ((e) => {
|
|
2241
2241
|
const t = /* @__PURE__ */ Object.create(null);
|
|
2242
2242
|
return (n) => t[n] || (t[n] = e(n));
|
|
2243
2243
|
})((e) => e.replace(js, (t, n) => n ? n.toUpperCase() : ""));
|
|
2244
|
-
function
|
|
2244
|
+
function oa() {
|
|
2245
2245
|
const e = [];
|
|
2246
2246
|
for (let t = 0; t < arguments.length; t++) {
|
|
2247
2247
|
const n = t < 0 || arguments.length <= t ? void 0 : arguments[t];
|
|
2248
2248
|
if (n) {
|
|
2249
2249
|
if (typeof n == "string") e.push(n);
|
|
2250
2250
|
else if (Es(n)) for (let o = 0; o < n.length; o++) {
|
|
2251
|
-
const a =
|
|
2251
|
+
const a = oa(n[o]);
|
|
2252
2252
|
a && e.push(a);
|
|
2253
2253
|
}
|
|
2254
2254
|
else if (Ps(n)) for (const o in n) n[o] && e.push(o);
|
|
@@ -2256,16 +2256,16 @@ function ra() {
|
|
|
2256
2256
|
}
|
|
2257
2257
|
return e.join(" ");
|
|
2258
2258
|
}
|
|
2259
|
-
const Ms = Symbol("skipFlatten"),
|
|
2259
|
+
const Ms = Symbol("skipFlatten"), Rt = function() {
|
|
2260
2260
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1];
|
|
2261
2261
|
const n = Array.isArray(e) ? e : [e], o = [];
|
|
2262
2262
|
return n.forEach((a) => {
|
|
2263
2263
|
var r;
|
|
2264
|
-
Array.isArray(a) ? o.push(...
|
|
2264
|
+
Array.isArray(a) ? o.push(...Rt(a, t)) : a && a.type === Ue ? a.key === Ms ? o.push(a) : o.push(...Rt(a.children, t)) : a && Ft(a) ? t && !Si(a) ? o.push(a) : t || o.push(a) : (r = a) != null && r !== "" && o.push(a);
|
|
2265
2265
|
}), o;
|
|
2266
2266
|
};
|
|
2267
2267
|
function Bs(e, t) {
|
|
2268
|
-
let n = ((
|
|
2268
|
+
let n = ((Ft(e) ? e.props : e.$attrs) || {}).style || {};
|
|
2269
2269
|
return typeof n == "string" && (n = function() {
|
|
2270
2270
|
let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", a = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
|
|
2271
2271
|
const r = {}, i = /:(.+)/;
|
|
@@ -2280,42 +2280,42 @@ function Bs(e, t) {
|
|
|
2280
2280
|
}), r);
|
|
2281
2281
|
}(n, t)), n;
|
|
2282
2282
|
}
|
|
2283
|
-
function
|
|
2284
|
-
return e && (e.type ===
|
|
2283
|
+
function Si(e) {
|
|
2284
|
+
return e && (e.type === kr || e.type === Ue && e.children.length === 0 || e.type === Cr && e.children.trim() === "");
|
|
2285
2285
|
}
|
|
2286
|
-
function
|
|
2286
|
+
function aa() {
|
|
2287
2287
|
const e = [];
|
|
2288
2288
|
return (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : []).forEach((t) => {
|
|
2289
|
-
Array.isArray(t) ? e.push(...t) : (t == null ? void 0 : t.type) ===
|
|
2290
|
-
}), e.filter((t) => !
|
|
2289
|
+
Array.isArray(t) ? e.push(...t) : (t == null ? void 0 : t.type) === Ue ? e.push(...aa(t.children)) : e.push(t);
|
|
2290
|
+
}), e.filter((t) => !Si(t));
|
|
2291
2291
|
}
|
|
2292
2292
|
const Ts = (e) => {
|
|
2293
2293
|
const t = (m, s, h) => {
|
|
2294
2294
|
let { colon: g, prefixCls: y, bordered: d } = s, { component: u, type: b, showLabel: p, showContent: x, labelStyle: w, contentStyle: S } = h;
|
|
2295
2295
|
return m.map((F, k) => {
|
|
2296
2296
|
var f, O;
|
|
2297
|
-
const B = F.props || {}, { prefixCls: T = y, span: A = 1, labelStyle: W = B["label-style"], contentStyle:
|
|
2297
|
+
const B = F.props || {}, { prefixCls: T = y, span: A = 1, labelStyle: W = B["label-style"], contentStyle: _ = B["content-style"], label: N = (O = (f = F.children) === null || f === void 0 ? void 0 : f.label) === null || O === void 0 ? void 0 : O.call(f) } = B, U = function(Y) {
|
|
2298
2298
|
let Q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "default", K = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2299
|
-
if (
|
|
2299
|
+
if (Ft(Y)) return Y.type === Ue ? Q === "default" ? Rt(Y.children) : [] : Y.children && Y.children[Q] ? Rt(Y.children[Q](K)) : [];
|
|
2300
2300
|
{
|
|
2301
2301
|
const Z = Y.$slots[Q] && Y.$slots[Q](K);
|
|
2302
|
-
return
|
|
2302
|
+
return Rt(Z);
|
|
2303
2303
|
}
|
|
2304
2304
|
}(F), X = function(Y) {
|
|
2305
|
-
const Q = ((
|
|
2305
|
+
const Q = ((Ft(Y) ? Y.props : Y.$attrs) || {}).class || {};
|
|
2306
2306
|
let K = {};
|
|
2307
2307
|
return typeof Q == "string" ? Q.split(" ").forEach((Z) => {
|
|
2308
2308
|
K[Z.trim()] = !0;
|
|
2309
|
-
}) : Array.isArray(Q) ?
|
|
2309
|
+
}) : Array.isArray(Q) ? oa(Q).split(" ").forEach((Z) => {
|
|
2310
2310
|
K[Z.trim()] = !0;
|
|
2311
2311
|
}) : K = D(D({}, K), Q), K;
|
|
2312
2312
|
}(F), V = Bs(F), { key: J } = F;
|
|
2313
|
-
return typeof u == "string" ? P(
|
|
2313
|
+
return typeof u == "string" ? P(So, { key: `${b}-${String(J) || k}`, class: X, style: V, labelStyle: D(D({}, w), W), contentStyle: D(D({}, S), _), span: A, colon: g, component: u, itemPrefixCls: T, bordered: d, label: p ? N : null, content: x ? U : null }, null) : [P(So, { key: `label-${String(J) || k}`, class: X, style: D(D(D({}, w), V), W), span: 1, colon: g, component: u[0], itemPrefixCls: T, bordered: d, label: N }, null), P(So, { key: `content-${String(J) || k}`, class: X, style: D(D(D({}, S), V), _), span: 2 * A - 1, component: u[1], itemPrefixCls: T, bordered: d, content: U }, null)];
|
|
2314
2314
|
});
|
|
2315
|
-
}, { prefixCls: n, vertical: o, row: a, index: r, bordered: i } = e, { labelStyle: l, contentStyle: c } =
|
|
2316
|
-
return o ? P(
|
|
2315
|
+
}, { prefixCls: n, vertical: o, row: a, index: r, bordered: i } = e, { labelStyle: l, contentStyle: c } = ot(Ri, { labelStyle: ae({}), contentStyle: ae({}) });
|
|
2316
|
+
return o ? P(Ue, null, [P("tr", { key: `label-${r}`, class: `${n}-row` }, [t(a, e, { component: "th", type: "label", showLabel: !0, labelStyle: l.value, contentStyle: c.value })]), P("tr", { key: `content-${r}`, class: `${n}-row` }, [t(a, e, { component: "td", type: "content", showContent: !0, labelStyle: l.value, contentStyle: c.value })])]) : P("tr", { key: r, class: `${n}-row` }, [t(a, e, { component: i ? ["th", "td"] : "td", type: "item", showLabel: !0, showContent: !0, labelStyle: l.value, contentStyle: c.value })]);
|
|
2317
2317
|
};
|
|
2318
|
-
function
|
|
2318
|
+
function ki(e, t, n) {
|
|
2319
2319
|
return n && function(o, a) {
|
|
2320
2320
|
for (var r = 0; r < a.length; r++) {
|
|
2321
2321
|
var i = a[r];
|
|
@@ -2323,8 +2323,8 @@ function Fi(e, t, n) {
|
|
|
2323
2323
|
}
|
|
2324
2324
|
}(e, n), e;
|
|
2325
2325
|
}
|
|
2326
|
-
function
|
|
2327
|
-
return (
|
|
2326
|
+
function Nn() {
|
|
2327
|
+
return (Nn = Object.assign || function(e) {
|
|
2328
2328
|
for (var t = 1; t < arguments.length; t++) {
|
|
2329
2329
|
var n = arguments[t];
|
|
2330
2330
|
for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
|
|
@@ -2332,176 +2332,176 @@ function qn() {
|
|
|
2332
2332
|
return e;
|
|
2333
2333
|
}).apply(this, arguments);
|
|
2334
2334
|
}
|
|
2335
|
-
function
|
|
2335
|
+
function Ci(e, t) {
|
|
2336
2336
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;
|
|
2337
2337
|
}
|
|
2338
|
-
function
|
|
2338
|
+
function Fi(e, t) {
|
|
2339
2339
|
if (e == null) return {};
|
|
2340
2340
|
var n, o, a = {}, r = Object.keys(e);
|
|
2341
2341
|
for (o = 0; o < r.length; o++) t.indexOf(n = r[o]) >= 0 || (a[n] = e[n]);
|
|
2342
2342
|
return a;
|
|
2343
2343
|
}
|
|
2344
|
-
function
|
|
2344
|
+
function mr(e) {
|
|
2345
2345
|
return ((t = e) != null && typeof t == "object" && Array.isArray(t) === !1) == 1 && Object.prototype.toString.call(e) === "[object Object]";
|
|
2346
2346
|
var t;
|
|
2347
2347
|
}
|
|
2348
|
-
var
|
|
2349
|
-
function
|
|
2348
|
+
var Ei = Object.prototype, Pi = Ei.toString, Ds = Ei.hasOwnProperty, ji = /^\s*function (\w+)/;
|
|
2349
|
+
function fr(e) {
|
|
2350
2350
|
var t, n = (t = e == null ? void 0 : e.type) !== null && t !== void 0 ? t : e;
|
|
2351
2351
|
if (n) {
|
|
2352
|
-
var o = n.toString().match(
|
|
2352
|
+
var o = n.toString().match(ji);
|
|
2353
2353
|
return o ? o[1] : "";
|
|
2354
2354
|
}
|
|
2355
2355
|
return "";
|
|
2356
2356
|
}
|
|
2357
|
-
var
|
|
2357
|
+
var Et = function(e) {
|
|
2358
2358
|
var t, n;
|
|
2359
|
-
return
|
|
2360
|
-
},
|
|
2359
|
+
return mr(e) !== !1 && typeof (t = e.constructor) == "function" && mr(n = t.prototype) !== !1 && n.hasOwnProperty("isPrototypeOf") !== !1;
|
|
2360
|
+
}, Oi = function(e) {
|
|
2361
2361
|
return e;
|
|
2362
|
-
},
|
|
2362
|
+
}, ye = Oi;
|
|
2363
2363
|
if (process.env.NODE_ENV !== "production") {
|
|
2364
2364
|
var As = typeof console < "u";
|
|
2365
|
-
|
|
2365
|
+
ye = As ? function(e) {
|
|
2366
2366
|
console.warn("[VueTypes warn]: " + e);
|
|
2367
|
-
} :
|
|
2367
|
+
} : Oi;
|
|
2368
2368
|
}
|
|
2369
|
-
var
|
|
2369
|
+
var fn = function(e, t) {
|
|
2370
2370
|
return Ds.call(e, t);
|
|
2371
2371
|
}, Rs = Number.isInteger || function(e) {
|
|
2372
2372
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e;
|
|
2373
|
-
},
|
|
2374
|
-
return
|
|
2375
|
-
},
|
|
2376
|
-
return
|
|
2377
|
-
},
|
|
2378
|
-
return
|
|
2379
|
-
},
|
|
2380
|
-
return
|
|
2381
|
-
return
|
|
2373
|
+
}, _t = Array.isArray || function(e) {
|
|
2374
|
+
return Pi.call(e) === "[object Array]";
|
|
2375
|
+
}, Nt = function(e) {
|
|
2376
|
+
return Pi.call(e) === "[object Function]";
|
|
2377
|
+
}, Vn = function(e) {
|
|
2378
|
+
return Et(e) && fn(e, "_vueTypes_name");
|
|
2379
|
+
}, Mi = function(e) {
|
|
2380
|
+
return Et(e) && (fn(e, "type") || ["_vueTypes_name", "validator", "default", "required"].some(function(t) {
|
|
2381
|
+
return fn(e, t);
|
|
2382
2382
|
}));
|
|
2383
2383
|
};
|
|
2384
|
-
function
|
|
2384
|
+
function ra(e, t) {
|
|
2385
2385
|
return Object.defineProperty(e.bind(t), "__original", { value: e });
|
|
2386
2386
|
}
|
|
2387
|
-
function
|
|
2387
|
+
function wt(e, t, n) {
|
|
2388
2388
|
var o;
|
|
2389
2389
|
n === void 0 && (n = !1);
|
|
2390
2390
|
var a = !0, r = "";
|
|
2391
|
-
o =
|
|
2392
|
-
var i =
|
|
2393
|
-
if (
|
|
2391
|
+
o = Et(e) ? e : { type: e };
|
|
2392
|
+
var i = Vn(o) ? o._vueTypes_name + " - " : "";
|
|
2393
|
+
if (Mi(o) && o.type !== null) {
|
|
2394
2394
|
if (o.type === void 0 || o.type === !0 || !o.required && t === void 0) return a;
|
|
2395
|
-
|
|
2396
|
-
return
|
|
2395
|
+
_t(o.type) ? (a = o.type.some(function(h) {
|
|
2396
|
+
return wt(h, t, !0) === !0;
|
|
2397
2397
|
}), r = o.type.map(function(h) {
|
|
2398
|
-
return
|
|
2399
|
-
}).join(" or ")) : a = (r =
|
|
2398
|
+
return fr(h);
|
|
2399
|
+
}).join(" or ")) : a = (r = fr(o)) === "Array" ? _t(t) : r === "Object" ? Et(t) : r === "String" || r === "Number" || r === "Boolean" || r === "Function" ? function(h) {
|
|
2400
2400
|
if (h == null) return "";
|
|
2401
|
-
var g = h.constructor.toString().match(
|
|
2401
|
+
var g = h.constructor.toString().match(ji);
|
|
2402
2402
|
return g ? g[1] : "";
|
|
2403
2403
|
}(t) === r : t instanceof o.type;
|
|
2404
2404
|
}
|
|
2405
2405
|
if (!a) {
|
|
2406
2406
|
var l = i + 'value "' + t + '" should be of type "' + r + '"';
|
|
2407
|
-
return n === !1 ? (
|
|
2407
|
+
return n === !1 ? (ye(l), !1) : l;
|
|
2408
2408
|
}
|
|
2409
|
-
if (
|
|
2410
|
-
var c =
|
|
2411
|
-
if (
|
|
2409
|
+
if (fn(o, "validator") && Nt(o.validator)) {
|
|
2410
|
+
var c = ye, m = [];
|
|
2411
|
+
if (ye = function(h) {
|
|
2412
2412
|
m.push(h);
|
|
2413
|
-
}, a = o.validator(t),
|
|
2413
|
+
}, a = o.validator(t), ye = c, !a) {
|
|
2414
2414
|
var s = (m.length > 1 ? "* " : "") + m.join(`
|
|
2415
2415
|
* `);
|
|
2416
|
-
return m.length = 0, n === !1 ? (
|
|
2416
|
+
return m.length = 0, n === !1 ? (ye(s), a) : s;
|
|
2417
2417
|
}
|
|
2418
2418
|
}
|
|
2419
2419
|
return a;
|
|
2420
2420
|
}
|
|
2421
|
-
function
|
|
2421
|
+
function Be(e, t) {
|
|
2422
2422
|
var n = Object.defineProperties(t, { _vueTypes_name: { value: e, writable: !0 }, isRequired: { get: function() {
|
|
2423
2423
|
return this.required = !0, this;
|
|
2424
2424
|
} }, def: { value: function(a) {
|
|
2425
|
-
return a !== void 0 || this.default ?
|
|
2425
|
+
return a !== void 0 || this.default ? Nt(a) || wt(this, a, !0) === !0 ? (this.default = _t(a) ? function() {
|
|
2426
2426
|
return [].concat(a);
|
|
2427
|
-
} :
|
|
2427
|
+
} : Et(a) ? function() {
|
|
2428
2428
|
return Object.assign({}, a);
|
|
2429
|
-
} : a, this) : (
|
|
2429
|
+
} : a, this) : (ye(this._vueTypes_name + ' - invalid default value: "' + a + '"'), this) : this;
|
|
2430
2430
|
} } }), o = n.validator;
|
|
2431
|
-
return
|
|
2431
|
+
return Nt(o) && (n.validator = ra(o, n)), n;
|
|
2432
2432
|
}
|
|
2433
|
-
function
|
|
2434
|
-
var n =
|
|
2433
|
+
function We(e, t) {
|
|
2434
|
+
var n = Be(e, t);
|
|
2435
2435
|
return Object.defineProperty(n, "validate", { value: function(o) {
|
|
2436
|
-
return
|
|
2437
|
-
` + JSON.stringify(this)), this.validator =
|
|
2436
|
+
return Nt(this.validator) && ye(this._vueTypes_name + ` - calling .validate() will overwrite the current custom validator function. Validator info:
|
|
2437
|
+
` + JSON.stringify(this)), this.validator = ra(o, this), this;
|
|
2438
2438
|
} });
|
|
2439
2439
|
}
|
|
2440
|
-
function
|
|
2440
|
+
function vr(e, t, n) {
|
|
2441
2441
|
var o, a, r = (o = t, a = {}, Object.getOwnPropertyNames(o).forEach(function(h) {
|
|
2442
2442
|
a[h] = Object.getOwnPropertyDescriptor(o, h);
|
|
2443
2443
|
}), Object.defineProperties({}, a));
|
|
2444
|
-
if (r._vueTypes_name = e, !
|
|
2445
|
-
var i, l, c = n.validator, m =
|
|
2446
|
-
if (
|
|
2444
|
+
if (r._vueTypes_name = e, !Et(n)) return r;
|
|
2445
|
+
var i, l, c = n.validator, m = Fi(n, ["validator"]);
|
|
2446
|
+
if (Nt(c)) {
|
|
2447
2447
|
var s = r.validator;
|
|
2448
|
-
s && (s = (l = (i = s).__original) !== null && l !== void 0 ? l : i), r.validator =
|
|
2448
|
+
s && (s = (l = (i = s).__original) !== null && l !== void 0 ? l : i), r.validator = ra(s ? function(h) {
|
|
2449
2449
|
return s.call(this, h) && c.call(this, h);
|
|
2450
2450
|
} : c, r);
|
|
2451
2451
|
}
|
|
2452
2452
|
return Object.assign(r, m);
|
|
2453
2453
|
}
|
|
2454
|
-
function
|
|
2454
|
+
function On(e) {
|
|
2455
2455
|
return e.replace(/^(?!\s*$)/gm, " ");
|
|
2456
2456
|
}
|
|
2457
|
-
var
|
|
2457
|
+
var Ge = function() {
|
|
2458
2458
|
function e() {
|
|
2459
2459
|
}
|
|
2460
2460
|
return e.extend = function(t) {
|
|
2461
2461
|
var n = this;
|
|
2462
|
-
if (
|
|
2462
|
+
if (_t(t)) return t.forEach(function(h) {
|
|
2463
2463
|
return n.extend(h);
|
|
2464
2464
|
}), this;
|
|
2465
|
-
var o = t.name, a = t.validate, r = a !== void 0 && a, i = t.getter, l = i !== void 0 && i, c =
|
|
2466
|
-
if (
|
|
2465
|
+
var o = t.name, a = t.validate, r = a !== void 0 && a, i = t.getter, l = i !== void 0 && i, c = Fi(t, ["name", "validate", "getter"]);
|
|
2466
|
+
if (fn(this, o)) throw new TypeError('[VueTypes error]: Type "' + o + '" already defined');
|
|
2467
2467
|
var m, s = c.type;
|
|
2468
|
-
return
|
|
2469
|
-
return
|
|
2468
|
+
return Vn(s) ? (delete c.type, Object.defineProperty(this, o, l ? { get: function() {
|
|
2469
|
+
return vr(o, s, c);
|
|
2470
2470
|
} } : { value: function() {
|
|
2471
|
-
var h, g =
|
|
2471
|
+
var h, g = vr(o, s, c);
|
|
2472
2472
|
return g.validator && (g.validator = (h = g.validator).bind.apply(h, [g].concat([].slice.call(arguments)))), g;
|
|
2473
2473
|
} })) : (m = l ? { get: function() {
|
|
2474
2474
|
var h = Object.assign({}, c);
|
|
2475
|
-
return r ?
|
|
2475
|
+
return r ? We(o, h) : Be(o, h);
|
|
2476
2476
|
}, enumerable: !0 } : { value: function() {
|
|
2477
2477
|
var h, g, y = Object.assign({}, c);
|
|
2478
|
-
return h = r ?
|
|
2478
|
+
return h = r ? We(o, y) : Be(o, y), y.validator && (h.validator = (g = y.validator).bind.apply(g, [h].concat([].slice.call(arguments)))), h;
|
|
2479
2479
|
}, enumerable: !0 }, Object.defineProperty(this, o, m));
|
|
2480
|
-
},
|
|
2481
|
-
return
|
|
2480
|
+
}, ki(e, 0, [{ key: "any", get: function() {
|
|
2481
|
+
return We("any", {});
|
|
2482
2482
|
} }, { key: "func", get: function() {
|
|
2483
|
-
return
|
|
2483
|
+
return We("function", { type: Function }).def(this.defaults.func);
|
|
2484
2484
|
} }, { key: "bool", get: function() {
|
|
2485
|
-
return
|
|
2485
|
+
return We("boolean", { type: Boolean }).def(this.defaults.bool);
|
|
2486
2486
|
} }, { key: "string", get: function() {
|
|
2487
|
-
return
|
|
2487
|
+
return We("string", { type: String }).def(this.defaults.string);
|
|
2488
2488
|
} }, { key: "number", get: function() {
|
|
2489
|
-
return
|
|
2489
|
+
return We("number", { type: Number }).def(this.defaults.number);
|
|
2490
2490
|
} }, { key: "array", get: function() {
|
|
2491
|
-
return
|
|
2491
|
+
return We("array", { type: Array }).def(this.defaults.array);
|
|
2492
2492
|
} }, { key: "object", get: function() {
|
|
2493
|
-
return
|
|
2493
|
+
return We("object", { type: Object }).def(this.defaults.object);
|
|
2494
2494
|
} }, { key: "integer", get: function() {
|
|
2495
|
-
return
|
|
2495
|
+
return Be("integer", { type: Number, validator: function(t) {
|
|
2496
2496
|
return Rs(t);
|
|
2497
2497
|
} }).def(this.defaults.integer);
|
|
2498
2498
|
} }, { key: "symbol", get: function() {
|
|
2499
|
-
return
|
|
2499
|
+
return Be("symbol", { validator: function(t) {
|
|
2500
2500
|
return typeof t == "symbol";
|
|
2501
2501
|
} });
|
|
2502
2502
|
} }]), e;
|
|
2503
2503
|
}();
|
|
2504
|
-
function
|
|
2504
|
+
function Bi(e) {
|
|
2505
2505
|
var t;
|
|
2506
2506
|
return e === void 0 && (e = { func: function() {
|
|
2507
2507
|
}, bool: !0, string: "", number: 0, array: function() {
|
|
@@ -2512,21 +2512,21 @@ function Di(e) {
|
|
|
2512
2512
|
function o() {
|
|
2513
2513
|
return n.apply(this, arguments) || this;
|
|
2514
2514
|
}
|
|
2515
|
-
return
|
|
2516
|
-
return
|
|
2515
|
+
return Ci(o, n), ki(o, 0, [{ key: "sensibleDefaults", get: function() {
|
|
2516
|
+
return Nn({}, this.defaults);
|
|
2517
2517
|
}, set: function(a) {
|
|
2518
|
-
this.defaults = a !== !1 ?
|
|
2518
|
+
this.defaults = a !== !1 ? Nn({}, a !== !0 ? a : e) : {};
|
|
2519
2519
|
} }]), o;
|
|
2520
|
-
}(
|
|
2520
|
+
}(Ge)).defaults = Nn({}, e), t;
|
|
2521
2521
|
}
|
|
2522
|
-
|
|
2522
|
+
Ge.defaults = {}, Ge.custom = function(e, t) {
|
|
2523
2523
|
if (t === void 0 && (t = "custom validation failed"), typeof e != "function") throw new TypeError("[VueTypes error]: You must provide a function as argument");
|
|
2524
|
-
return
|
|
2524
|
+
return Be(e.name || "<<anonymous function>>", { validator: function(n) {
|
|
2525
2525
|
var o = e(n);
|
|
2526
|
-
return o ||
|
|
2526
|
+
return o || ye(this._vueTypes_name + " - " + t), o;
|
|
2527
2527
|
} });
|
|
2528
|
-
},
|
|
2529
|
-
if (
|
|
2528
|
+
}, Ge.oneOf = function(e) {
|
|
2529
|
+
if (!_t(e)) throw new TypeError("[VueTypes error]: You must provide an array as argument.");
|
|
2530
2530
|
var t = 'oneOf - value should be one of "' + e.join('", "') + '".', n = e.reduce(function(o, a) {
|
|
2531
2531
|
if (a != null) {
|
|
2532
2532
|
var r = a.constructor;
|
|
@@ -2534,22 +2534,22 @@ Ve.defaults = {}, Ve.custom = function(e, t) {
|
|
|
2534
2534
|
}
|
|
2535
2535
|
return o;
|
|
2536
2536
|
}, []);
|
|
2537
|
-
return
|
|
2537
|
+
return Be("oneOf", { type: n.length > 0 ? n : void 0, validator: function(o) {
|
|
2538
2538
|
var a = e.indexOf(o) !== -1;
|
|
2539
|
-
return a ||
|
|
2539
|
+
return a || ye(t), a;
|
|
2540
2540
|
} });
|
|
2541
|
-
},
|
|
2542
|
-
return
|
|
2543
|
-
},
|
|
2544
|
-
if (
|
|
2541
|
+
}, Ge.instanceOf = function(e) {
|
|
2542
|
+
return Be("instanceOf", { type: e });
|
|
2543
|
+
}, Ge.oneOfType = function(e) {
|
|
2544
|
+
if (!_t(e)) throw new TypeError("[VueTypes error]: You must provide an array as argument");
|
|
2545
2545
|
for (var t = !1, n = [], o = 0; o < e.length; o += 1) {
|
|
2546
2546
|
var a = e[o];
|
|
2547
|
-
if (
|
|
2548
|
-
if (
|
|
2547
|
+
if (Mi(a)) {
|
|
2548
|
+
if (Vn(a) && a._vueTypes_name === "oneOf") {
|
|
2549
2549
|
n = n.concat(a.type);
|
|
2550
2550
|
continue;
|
|
2551
2551
|
}
|
|
2552
|
-
if (
|
|
2552
|
+
if (Nt(a.validator) && (t = !0), a.type !== !0 && a.type) {
|
|
2553
2553
|
n = n.concat(a.type);
|
|
2554
2554
|
continue;
|
|
2555
2555
|
}
|
|
@@ -2558,38 +2558,38 @@ Ve.defaults = {}, Ve.custom = function(e, t) {
|
|
|
2558
2558
|
}
|
|
2559
2559
|
return n = n.filter(function(r, i) {
|
|
2560
2560
|
return n.indexOf(r) === i;
|
|
2561
|
-
}),
|
|
2561
|
+
}), Be("oneOfType", t ? { type: n, validator: function(r) {
|
|
2562
2562
|
var i = [], l = e.some(function(c) {
|
|
2563
|
-
var m =
|
|
2563
|
+
var m = wt(Vn(c) && c._vueTypes_name === "oneOf" ? c.type || null : c, r, !0);
|
|
2564
2564
|
return typeof m == "string" && i.push(m), m === !0;
|
|
2565
2565
|
});
|
|
2566
|
-
return l ||
|
|
2567
|
-
` +
|
|
2566
|
+
return l || ye("oneOfType - provided value does not match any of the " + i.length + ` passed-in validators:
|
|
2567
|
+
` + On(i.join(`
|
|
2568
2568
|
`))), l;
|
|
2569
2569
|
} } : { type: n });
|
|
2570
|
-
},
|
|
2571
|
-
return
|
|
2570
|
+
}, Ge.arrayOf = function(e) {
|
|
2571
|
+
return Be("arrayOf", { type: Array, validator: function(t) {
|
|
2572
2572
|
var n, o = t.every(function(a) {
|
|
2573
|
-
return (n =
|
|
2573
|
+
return (n = wt(e, a, !0)) === !0;
|
|
2574
2574
|
});
|
|
2575
|
-
return o ||
|
|
2576
|
-
` +
|
|
2575
|
+
return o || ye(`arrayOf - value validation error:
|
|
2576
|
+
` + On(n)), o;
|
|
2577
2577
|
} });
|
|
2578
|
-
},
|
|
2579
|
-
return
|
|
2578
|
+
}, Ge.objectOf = function(e) {
|
|
2579
|
+
return Be("objectOf", { type: Object, validator: function(t) {
|
|
2580
2580
|
var n, o = Object.keys(t).every(function(a) {
|
|
2581
|
-
return (n =
|
|
2581
|
+
return (n = wt(e, t[a], !0)) === !0;
|
|
2582
2582
|
});
|
|
2583
|
-
return o ||
|
|
2584
|
-
` +
|
|
2583
|
+
return o || ye(`objectOf - value validation error:
|
|
2584
|
+
` + On(n)), o;
|
|
2585
2585
|
} });
|
|
2586
|
-
},
|
|
2586
|
+
}, Ge.shape = function(e) {
|
|
2587
2587
|
var t = Object.keys(e), n = t.filter(function(a) {
|
|
2588
2588
|
var r;
|
|
2589
2589
|
return !!(!((r = e[a]) === null || r === void 0) && r.required);
|
|
2590
|
-
}), o =
|
|
2590
|
+
}), o = Be("shape", { type: Object, validator: function(a) {
|
|
2591
2591
|
var r = this;
|
|
2592
|
-
if (!
|
|
2592
|
+
if (!Et(a)) return !1;
|
|
2593
2593
|
var i = Object.keys(a);
|
|
2594
2594
|
if (n.length > 0 && n.some(function(c) {
|
|
2595
2595
|
return i.indexOf(c) === -1;
|
|
@@ -2597,61 +2597,61 @@ Ve.defaults = {}, Ve.custom = function(e, t) {
|
|
|
2597
2597
|
var l = n.filter(function(c) {
|
|
2598
2598
|
return i.indexOf(c) === -1;
|
|
2599
2599
|
});
|
|
2600
|
-
return
|
|
2600
|
+
return ye(l.length === 1 ? 'shape - required property "' + l[0] + '" is not defined.' : 'shape - required properties "' + l.join('", "') + '" are not defined.'), !1;
|
|
2601
2601
|
}
|
|
2602
2602
|
return i.every(function(c) {
|
|
2603
|
-
if (t.indexOf(c) === -1) return r._vueTypes_isLoose === !0 || (
|
|
2604
|
-
var m =
|
|
2605
|
-
return typeof m == "string" &&
|
|
2606
|
-
` +
|
|
2603
|
+
if (t.indexOf(c) === -1) return r._vueTypes_isLoose === !0 || (ye('shape - shape definition does not include a "' + c + '" property. Allowed keys: "' + t.join('", "') + '".'), !1);
|
|
2604
|
+
var m = wt(e[c], a[c], !0);
|
|
2605
|
+
return typeof m == "string" && ye('shape - "' + c + `" property validation error:
|
|
2606
|
+
` + On(m)), m === !0;
|
|
2607
2607
|
});
|
|
2608
2608
|
} });
|
|
2609
2609
|
return Object.defineProperty(o, "_vueTypes_isLoose", { writable: !0, value: !1 }), Object.defineProperty(o, "loose", { get: function() {
|
|
2610
2610
|
return this._vueTypes_isLoose = !0, this;
|
|
2611
2611
|
} }), o;
|
|
2612
|
-
},
|
|
2613
|
-
return
|
|
2612
|
+
}, Ge.utils = { validate: function(e, t) {
|
|
2613
|
+
return wt(t, e, !0) === !0;
|
|
2614
2614
|
}, toType: function(e, t, n) {
|
|
2615
|
-
return n === void 0 && (n = !1), n ?
|
|
2615
|
+
return n === void 0 && (n = !1), n ? We(e, t) : Be(e, t);
|
|
2616
2616
|
} }, function(e) {
|
|
2617
2617
|
function t() {
|
|
2618
2618
|
return e.apply(this, arguments) || this;
|
|
2619
2619
|
}
|
|
2620
|
-
|
|
2621
|
-
}(
|
|
2622
|
-
const
|
|
2623
|
-
|
|
2624
|
-
const $s = Symbol("DisabledContextKey"),
|
|
2620
|
+
Ci(t, e);
|
|
2621
|
+
}(Bi());
|
|
2622
|
+
const vn = Bi({ func: void 0, bool: void 0, string: void 0, number: void 0, array: void 0, object: void 0, integer: void 0 });
|
|
2623
|
+
vn.extend([{ name: "looseBool", getter: !0, type: Boolean, default: void 0 }, { name: "style", getter: !0, type: [String, Object], default: void 0 }, { name: "VueNode", getter: !0, type: null }]);
|
|
2624
|
+
const $s = Symbol("DisabledContextKey"), Ti = { placeholder: "Select time", rangePlaceholder: ["Start time", "End time"] }, hr = { lang: D({ placeholder: "Select date", yearPlaceholder: "Select year", quarterPlaceholder: "Select quarter", monthPlaceholder: "Select month", weekPlaceholder: "Select week", rangePlaceholder: ["Start date", "End date"], rangeYearPlaceholder: ["Start year", "End year"], rangeQuarterPlaceholder: ["Start quarter", "End quarter"], rangeMonthPlaceholder: ["Start month", "End month"], rangeWeekPlaceholder: ["Start week", "End week"] }, { locale: "en_US", today: "Today", now: "Now", backToToday: "Back to today", ok: "Ok", clear: "Clear", month: "Month", year: "Year", timeSelect: "select time", dateSelect: "select date", weekSelect: "Choose a week", monthSelect: "Choose a month", yearSelect: "Choose a year", decadeSelect: "Choose a decade", yearFormat: "YYYY", dateFormat: "M/D/YYYY", dayFormat: "D", dateTimeFormat: "M/D/YYYY HH:mm:ss", monthBeforeYear: !0, previousMonth: "Previous month (PageUp)", nextMonth: "Next month (PageDown)", previousYear: "Last year (Control + left)", nextYear: "Next year (Control + right)", previousDecade: "Last decade", nextDecade: "Next decade", previousCentury: "Last century", nextCentury: "Next century" }), timePickerLocale: D({}, Ti) }, Oe = "${label} is not a valid ${type}", gr = { locale: "en", Pagination: { items_per_page: "/ page", jump_to: "Go to", jump_to_confirm: "confirm", page: "", prev_page: "Previous Page", next_page: "Next Page", prev_5: "Previous 5 Pages", next_5: "Next 5 Pages", prev_3: "Previous 3 Pages", next_3: "Next 3 Pages" }, DatePicker: hr, TimePicker: Ti, Calendar: hr, global: { placeholder: "Please select" }, Table: { filterTitle: "Filter menu", filterConfirm: "OK", filterReset: "Reset", filterEmptyText: "No filters", filterCheckall: "Select all items", filterSearchPlaceholder: "Search in filters", emptyText: "No data", selectAll: "Select current page", selectInvert: "Invert current page", selectNone: "Clear all data", selectionAll: "Select all data", sortTitle: "Sort", expand: "Expand row", collapse: "Collapse row", triggerDesc: "Click to sort descending", triggerAsc: "Click to sort ascending", cancelSort: "Click to cancel sorting" }, Tour: { Next: "Next", Previous: "Previous", Finish: "Finish" }, Modal: { okText: "OK", cancelText: "Cancel", justOkText: "OK" }, Popconfirm: { okText: "OK", cancelText: "Cancel" }, Transfer: { titles: ["", ""], searchPlaceholder: "Search here", itemUnit: "item", itemsUnit: "items", remove: "Remove", selectCurrent: "Select current page", removeCurrent: "Remove current page", selectAll: "Select all data", removeAll: "Remove all data", selectInvert: "Invert current page" }, Upload: { uploading: "Uploading...", removeFile: "Remove file", uploadError: "Upload error", previewFile: "Preview file", downloadFile: "Download file" }, Empty: { description: "No data" }, Icon: { icon: "icon" }, Text: { edit: "Edit", copy: "Copy", copied: "Copied", expand: "Expand" }, PageHeader: { back: "Back" }, Form: { optional: "(optional)", defaultValidateMessages: { default: "Field validation error for ${label}", required: "Please enter ${label}", enum: "${label} must be one of [${enum}]", whitespace: "${label} cannot be a blank character", date: { format: "${label} date format is invalid", parse: "${label} cannot be converted to a date", invalid: "${label} is an invalid date" }, types: { string: Oe, method: Oe, array: Oe, object: Oe, number: Oe, date: Oe, boolean: Oe, integer: Oe, float: Oe, regexp: Oe, email: Oe, url: Oe, hex: Oe }, string: { len: "${label} must be ${len} characters", min: "${label} must be at least ${min} characters", max: "${label} must be up to ${max} characters", range: "${label} must be between ${min}-${max} characters" }, number: { len: "${label} must be equal to ${len}", min: "${label} must be minimum ${min}", max: "${label} must be maximum ${max}", range: "${label} must be between ${min}-${max}" }, array: { len: "Must be ${len} ${label}", min: "At least ${min} ${label}", max: "At most ${max} ${label}", range: "The amount of ${label} must be between ${min}-${max}" }, pattern: { mismatch: "${label} does not match the pattern ${pattern}" } } }, Image: { preview: "Preview" }, QRCode: { expired: "QR code expired", refresh: "Refresh", scanned: "Scanned" } }, zs = Qe({ compatConfig: { MODE: 3 }, name: "LocaleReceiver", props: { componentName: String, defaultLocale: { type: [Object, Function] }, children: { type: Function } }, setup(e, t) {
|
|
2625
2625
|
let { slots: n } = t;
|
|
2626
|
-
const o =
|
|
2627
|
-
const { componentName: i = "global", defaultLocale: l } = e, c = l ||
|
|
2626
|
+
const o = ot("localeData", {}), a = q(() => {
|
|
2627
|
+
const { componentName: i = "global", defaultLocale: l } = e, c = l || gr[i || "global"], { antLocale: m } = o, s = i && m ? m[i] : {};
|
|
2628
2628
|
return D(D({}, typeof c == "function" ? c() : c), s || {});
|
|
2629
2629
|
}), r = q(() => {
|
|
2630
2630
|
const { antLocale: i } = o, l = i && i.locale;
|
|
2631
|
-
return i && i.exist && !l ?
|
|
2631
|
+
return i && i.exist && !l ? gr.locale : l;
|
|
2632
2632
|
});
|
|
2633
2633
|
return () => {
|
|
2634
2634
|
const i = e.children || n.default, { antLocale: l } = o;
|
|
2635
2635
|
return i == null ? void 0 : i(a.value, r.value, l);
|
|
2636
2636
|
};
|
|
2637
|
-
} }),
|
|
2638
|
-
const [, e] =
|
|
2637
|
+
} }), ia = Qe({ compatConfig: { MODE: 3 }, setup() {
|
|
2638
|
+
const [, e] = Zn(), t = q(() => new Fe(e.value.colorBgBase).toHsl().l < 0.5 ? { opacity: 0.65 } : {});
|
|
2639
2639
|
return () => P("svg", { style: t.value, width: "184", height: "152", viewBox: "0 0 184 152", xmlns: "http://www.w3.org/2000/svg" }, [P("g", { fill: "none", "fill-rule": "evenodd" }, [P("g", { transform: "translate(24 31.67)" }, [P("ellipse", { "fill-opacity": ".8", fill: "#F5F5F7", cx: "67.797", cy: "106.89", rx: "67.797", ry: "12.668" }, null), P("path", { d: "M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z", fill: "#AEB8C2" }, null), P("path", { d: "M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z", fill: "url(#linearGradient-1)", transform: "translate(13.56)" }, null), P("path", { d: "M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z", fill: "#F5F5F7" }, null), P("path", { d: "M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z", fill: "#DCE0E6" }, null)]), P("path", { d: "M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z", fill: "#DCE0E6" }, null), P("g", { transform: "translate(149.65 15.383)", fill: "#FFF" }, [P("ellipse", { cx: "20.654", cy: "3.167", rx: "2.849", ry: "2.815" }, null), P("path", { d: "M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z" }, null)])])]);
|
|
2640
2640
|
} });
|
|
2641
|
-
|
|
2642
|
-
const
|
|
2643
|
-
const [, e] =
|
|
2641
|
+
ia.PRESENTED_IMAGE_DEFAULT = !0;
|
|
2642
|
+
const Di = Qe({ compatConfig: { MODE: 3 }, setup() {
|
|
2643
|
+
const [, e] = Zn(), t = q(() => {
|
|
2644
2644
|
const { colorFill: n, colorFillTertiary: o, colorFillQuaternary: a, colorBgContainer: r } = e.value;
|
|
2645
|
-
return { borderColor: new
|
|
2645
|
+
return { borderColor: new Fe(n).onBackground(r).toHexString(), shadowColor: new Fe(o).onBackground(r).toHexString(), contentColor: new Fe(a).onBackground(r).toHexString() };
|
|
2646
2646
|
});
|
|
2647
2647
|
return () => P("svg", { width: "64", height: "41", viewBox: "0 0 64 41", xmlns: "http://www.w3.org/2000/svg" }, [P("g", { transform: "translate(0 1)", fill: "none", "fill-rule": "evenodd" }, [P("ellipse", { fill: t.value.shadowColor, cx: "32", cy: "33", rx: "32", ry: "7" }, null), P("g", { "fill-rule": "nonzero", stroke: t.value.borderColor }, [P("path", { d: "M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" }, null), P("path", { d: "M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z", fill: t.value.contentColor }, null)])])]);
|
|
2648
2648
|
} });
|
|
2649
|
-
|
|
2649
|
+
Di.PRESENTED_IMAGE_SIMPLE = !0;
|
|
2650
2650
|
const Is = (e) => {
|
|
2651
2651
|
const { componentCls: t, margin: n, marginXS: o, marginXL: a, fontSize: r, lineHeight: i } = e;
|
|
2652
2652
|
return { [t]: { marginInline: o, fontSize: r, lineHeight: i, textAlign: "center", [`${t}-image`]: { height: e.emptyImgHeight, marginBottom: o, opacity: e.opacityImage, img: { height: "100%" }, svg: { height: "100%", margin: "auto" } }, [`${t}-footer`]: { marginTop: n }, "&-normal": { marginBlock: a, color: e.colorTextDisabled, [`${t}-image`]: { height: e.emptyImgHeightMD } }, "&-small": { marginBlock: o, color: e.colorTextDisabled, [`${t}-image`]: { height: e.emptyImgHeightSM } } } };
|
|
2653
|
-
}, Ls =
|
|
2654
|
-
const { componentCls: t, controlHeightLG: n } = e, o =
|
|
2653
|
+
}, Ls = yi("Empty", (e) => {
|
|
2654
|
+
const { componentCls: t, controlHeightLG: n } = e, o = na(e, { emptyImgCls: `${t}-img`, emptyImgHeight: 2.5 * n, emptyImgHeightMD: n, emptyImgHeightSM: 0.875 * n });
|
|
2655
2655
|
return [Is(o)];
|
|
2656
2656
|
});
|
|
2657
2657
|
var _s = function(e, t) {
|
|
@@ -2663,39 +2663,39 @@ var _s = function(e, t) {
|
|
|
2663
2663
|
}
|
|
2664
2664
|
return n;
|
|
2665
2665
|
};
|
|
2666
|
-
const
|
|
2666
|
+
const Go = Qe({ name: "AEmpty", compatConfig: { MODE: 3 }, inheritAttrs: !1, props: { prefixCls: String, imageStyle: Jo(), image: zo(), description: zo() }, setup(e, t) {
|
|
2667
2667
|
let { slots: n = {}, attrs: o } = t;
|
|
2668
|
-
const { direction: a, prefixCls: r } =
|
|
2668
|
+
const { direction: a, prefixCls: r } = la("empty", e), [i, l] = Ls(r);
|
|
2669
2669
|
return () => {
|
|
2670
2670
|
var c, m;
|
|
2671
|
-
const s = r.value, h = D(D({}, e), o), { image: g = ((c = n.image) === null || c === void 0 ? void 0 : c.call(n)) ||
|
|
2671
|
+
const s = r.value, h = D(D({}, e), o), { image: g = ((c = n.image) === null || c === void 0 ? void 0 : c.call(n)) || mt(ia), description: y = ((m = n.description) === null || m === void 0 ? void 0 : m.call(n)) || void 0, imageStyle: d, class: u = "" } = h, b = _s(h, ["image", "description", "imageStyle", "class"]), p = typeof g == "function" ? g() : g, x = typeof p == "object" && "type" in p && p.type.PRESENTED_IMAGE_SIMPLE;
|
|
2672
2672
|
return i(P(zs, { componentName: "Empty", children: (w) => {
|
|
2673
2673
|
const S = y !== void 0 ? y : w.description;
|
|
2674
2674
|
let F = null;
|
|
2675
|
-
return F = typeof p == "string" ? P("img", { alt: typeof S == "string" ? S : "empty", src: p }, null) : p, P("div",
|
|
2675
|
+
return F = typeof p == "string" ? P("img", { alt: typeof S == "string" ? S : "empty", src: p }, null) : p, P("div", Ao({ class: oa(s, u, l.value, { [`${s}-normal`]: x, [`${s}-rtl`]: a.value === "rtl" }) }, b), [P("div", { class: `${s}-image`, style: d }, [F]), S && P("p", { class: `${s}-description` }, [S]), n.default && P("div", { class: `${s}-footer` }, [aa(n.default())])]);
|
|
2676
2676
|
} }, null));
|
|
2677
2677
|
};
|
|
2678
2678
|
} });
|
|
2679
|
-
|
|
2680
|
-
const
|
|
2681
|
-
const { prefixCls: t } =
|
|
2679
|
+
Go.PRESENTED_IMAGE_DEFAULT = () => mt(ia), Go.PRESENTED_IMAGE_SIMPLE = () => mt(Di);
|
|
2680
|
+
const en = Jr(Go), Ns = (e) => {
|
|
2681
|
+
const { prefixCls: t } = la("empty", e);
|
|
2682
2682
|
return ((n) => {
|
|
2683
2683
|
switch (n) {
|
|
2684
2684
|
case "Table":
|
|
2685
2685
|
case "List":
|
|
2686
|
-
return P(
|
|
2686
|
+
return P(en, { image: en.PRESENTED_IMAGE_SIMPLE }, null);
|
|
2687
2687
|
case "Select":
|
|
2688
2688
|
case "TreeSelect":
|
|
2689
2689
|
case "Cascader":
|
|
2690
2690
|
case "Transfer":
|
|
2691
2691
|
case "Mentions":
|
|
2692
|
-
return P(
|
|
2692
|
+
return P(en, { image: en.PRESENTED_IMAGE_SIMPLE, class: `${t.value}-small` }, null);
|
|
2693
2693
|
default:
|
|
2694
|
-
return P(
|
|
2694
|
+
return P(en, null, null);
|
|
2695
2695
|
}
|
|
2696
2696
|
})(e.componentName);
|
|
2697
|
-
}, qs = Symbol("SizeContextKey"),
|
|
2698
|
-
const n =
|
|
2697
|
+
}, qs = Symbol("SizeContextKey"), la = (e, t) => {
|
|
2698
|
+
const n = ot(qs, ae(void 0)), o = ot($s, ae(void 0)), a = ot(gi, D(D({}, xi), { renderEmpty: (f) => mt(Ns, { componentName: f }) })), r = q(() => a.getPrefixCls(e, t.prefixCls)), i = q(() => {
|
|
2699
2699
|
var f, O;
|
|
2700
2700
|
return (f = t.direction) !== null && f !== void 0 ? f : (O = a.direction) === null || O === void 0 ? void 0 : O.value;
|
|
2701
2701
|
}), l = q(() => {
|
|
@@ -2736,33 +2736,33 @@ const tn = ei(Xo), Ns = (e) => {
|
|
|
2736
2736
|
}, Ys = (e) => {
|
|
2737
2737
|
const { componentCls: t, descriptionsExtraColor: n, descriptionItemPaddingBottom: o, descriptionsItemLabelColonMarginRight: a, descriptionsItemLabelColonMarginLeft: r, descriptionsTitleMarginBottom: i } = e;
|
|
2738
2738
|
return { [t]: D(D(D({}, bs(e)), Hs(e)), { "&-rtl": { direction: "rtl" }, [`${t}-header`]: { display: "flex", alignItems: "center", marginBottom: i }, [`${t}-title`]: D(D({}, ys), { flex: "auto", color: e.colorText, fontWeight: e.fontWeightStrong, fontSize: e.fontSizeLG, lineHeight: e.lineHeightLG }), [`${t}-extra`]: { marginInlineStart: "auto", color: n, fontSize: e.fontSize }, [`${t}-view`]: { width: "100%", borderRadius: e.borderRadiusLG, table: { width: "100%", tableLayout: "fixed" } }, [`${t}-row`]: { "> th, > td": { paddingBottom: o }, "&:last-child": { borderBottom: "none" } }, [`${t}-item-label`]: { color: e.colorText, fontWeight: "normal", fontSize: e.fontSize, lineHeight: e.lineHeight, textAlign: "start", "&::after": { content: '":"', position: "relative", top: -0.5, marginInline: `${r}px ${a}px` }, [`&${t}-item-no-colon::after`]: { content: '""' } }, [`${t}-item-no-label`]: { "&::after": { margin: 0, content: '""' } }, [`${t}-item-content`]: { display: "table-cell", flex: 1, color: e.colorText, fontSize: e.fontSize, lineHeight: e.lineHeight, wordBreak: "break-word", overflowWrap: "break-word" }, [`${t}-item`]: { paddingBottom: 0, verticalAlign: "top", "&-container": { display: "flex", [`${t}-item-label`]: { display: "inline-flex", alignItems: "baseline" }, [`${t}-item-content`]: { display: "inline-flex", alignItems: "baseline" } } }, "&-middle": { [`${t}-row`]: { "> th, > td": { paddingBottom: e.paddingSM } } }, "&-small": { [`${t}-row`]: { "> th, > td": { paddingBottom: e.paddingXS } } } }) };
|
|
2739
|
-
}, Ws =
|
|
2740
|
-
const t = e.colorFillAlter, n = e.fontSizeSM * e.lineHeightSM, o = e.colorText, a = `${e.paddingXS}px ${e.padding}px`, r = `${e.padding}px ${e.paddingLG}px`, i = `${e.paddingSM}px ${e.paddingLG}px`, l =
|
|
2739
|
+
}, Ws = yi("Descriptions", (e) => {
|
|
2740
|
+
const t = e.colorFillAlter, n = e.fontSizeSM * e.lineHeightSM, o = e.colorText, a = `${e.paddingXS}px ${e.padding}px`, r = `${e.padding}px ${e.paddingLG}px`, i = `${e.paddingSM}px ${e.paddingLG}px`, l = na(e, { descriptionsBg: t, descriptionsTitleMarginBottom: n, descriptionsExtraColor: o, descriptionItemPaddingBottom: e.padding, descriptionsSmallPadding: a, descriptionsDefaultPadding: r, descriptionsMiddlePadding: i, descriptionsItemLabelColonMarginRight: e.marginXS, descriptionsItemLabelColonMarginLeft: e.marginXXS / 2 });
|
|
2741
2741
|
return [Ys(l)];
|
|
2742
2742
|
});
|
|
2743
|
-
|
|
2744
|
-
const
|
|
2743
|
+
vn.any;
|
|
2744
|
+
const Ai = Qe({ compatConfig: { MODE: 3 }, name: "ADescriptionsItem", props: { prefixCls: String, label: vn.any, labelStyle: { type: Object, default: void 0 }, contentStyle: { type: Object, default: void 0 }, span: { type: Number, default: 1 } }, setup(e, t) {
|
|
2745
2745
|
let { slots: n } = t;
|
|
2746
2746
|
return () => {
|
|
2747
2747
|
var o;
|
|
2748
2748
|
return (o = n.default) === null || o === void 0 ? void 0 : o.call(n);
|
|
2749
2749
|
};
|
|
2750
|
-
} }),
|
|
2751
|
-
function
|
|
2750
|
+
} }), xr = { xxxl: 3, xxl: 3, xl: 3, lg: 3, md: 3, sm: 2, xs: 1 };
|
|
2751
|
+
function yr(e, t, n) {
|
|
2752
2752
|
let o = e;
|
|
2753
2753
|
return (n === void 0 || n > t) && (o = function(a) {
|
|
2754
2754
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = !(arguments.length > 2 && arguments[2] !== void 0) || arguments[2], l = arguments.length > 3 && arguments[3] !== void 0 && arguments[3], c = a;
|
|
2755
|
-
if (Array.isArray(a) && (c =
|
|
2755
|
+
if (Array.isArray(a) && (c = aa(a)[0]), !c) return null;
|
|
2756
2756
|
const m = yl(c, r, l);
|
|
2757
|
-
return m.props = i ? D(D({}, m.props), r) : m.props,
|
|
2758
|
-
}(e, { span: t }),
|
|
2757
|
+
return m.props = i ? D(D({}, m.props), r) : m.props, Gn(typeof m.props.class != "object", "class must be string"), m;
|
|
2758
|
+
}(e, { span: t }), Gn(n === void 0, "Descriptions", "Sum of column `span` in a line not match `column` of Descriptions.")), o;
|
|
2759
2759
|
}
|
|
2760
|
-
const
|
|
2760
|
+
const Ri = Symbol("descriptionsContext"), tn = Qe({ compatConfig: { MODE: 3 }, name: "ADescriptions", inheritAttrs: !1, props: { prefixCls: String, bordered: { type: Boolean, default: void 0 }, size: { type: String, default: "default" }, title: vn.any, extra: vn.any, column: { type: [Number, Object], default: () => xr }, layout: String, colon: { type: Boolean, default: void 0 }, labelStyle: { type: Object, default: void 0 }, contentStyle: { type: Object, default: void 0 } }, slots: Object, Item: Ai, setup(e, t) {
|
|
2761
2761
|
let { slots: n, attrs: o } = t;
|
|
2762
|
-
const { prefixCls: a, direction: r } =
|
|
2762
|
+
const { prefixCls: a, direction: r } = la("descriptions", e);
|
|
2763
2763
|
let i;
|
|
2764
|
-
const l =
|
|
2765
|
-
const [, g] =
|
|
2764
|
+
const l = ae({}), [c, m] = Ws(a), s = function() {
|
|
2765
|
+
const [, g] = Zn();
|
|
2766
2766
|
return q(() => {
|
|
2767
2767
|
const y = ((p) => ({ xs: `(max-width: ${p.screenXSMax}px)`, sm: `(min-width: ${p.screenSM}px)`, md: `(min-width: ${p.screenMD}px)`, lg: `(min-width: ${p.screenLG}px)`, xl: `(min-width: ${p.screenXL}px)`, xxl: `(min-width: ${p.screenXXL}px)`, xxxl: `{min-width: ${p.screenXXXL}px}` }))(g.value), d = /* @__PURE__ */ new Map();
|
|
2768
2768
|
let u = -1, b = {};
|
|
@@ -2790,67 +2790,67 @@ const zi = Symbol("descriptionsContext"), nn = Ke({ compatConfig: { MODE: 3 }, n
|
|
|
2790
2790
|
i = s.value.subscribe((g) => {
|
|
2791
2791
|
typeof e.column == "object" && (l.value = g);
|
|
2792
2792
|
});
|
|
2793
|
-
}),
|
|
2793
|
+
}), Er(() => {
|
|
2794
2794
|
s.value.unsubscribe(i);
|
|
2795
|
-
}),
|
|
2795
|
+
}), Vo(Ri, { labelStyle: v(e, "labelStyle"), contentStyle: v(e, "contentStyle") });
|
|
2796
2796
|
const h = q(() => function(g, y) {
|
|
2797
2797
|
if (typeof g == "number") return g;
|
|
2798
|
-
if (typeof g == "object") for (let d = 0; d <
|
|
2799
|
-
const u =
|
|
2800
|
-
if (y[u] && g[u] !== void 0) return g[u] ||
|
|
2798
|
+
if (typeof g == "object") for (let d = 0; d < dr.length; d++) {
|
|
2799
|
+
const u = dr[d];
|
|
2800
|
+
if (y[u] && g[u] !== void 0) return g[u] || xr[u];
|
|
2801
2801
|
}
|
|
2802
2802
|
return 3;
|
|
2803
2803
|
}(e.column, l.value));
|
|
2804
2804
|
return () => {
|
|
2805
2805
|
var g, y, d;
|
|
2806
2806
|
const { size: u, bordered: b = !1, layout: p = "horizontal", colon: x = !0, title: w = (g = n.title) === null || g === void 0 ? void 0 : g.call(n), extra: S = (y = n.extra) === null || y === void 0 ? void 0 : y.call(n) } = e, F = function(k, f) {
|
|
2807
|
-
const O =
|
|
2807
|
+
const O = Rt(k), B = [];
|
|
2808
2808
|
let T = [], A = f;
|
|
2809
|
-
return O.forEach((W,
|
|
2810
|
-
var
|
|
2811
|
-
const U = (
|
|
2812
|
-
if (
|
|
2813
|
-
X < A ? (A -= X, T.push(W)) : (T.push(
|
|
2809
|
+
return O.forEach((W, _) => {
|
|
2810
|
+
var N;
|
|
2811
|
+
const U = (N = W.props) === null || N === void 0 ? void 0 : N.span, X = U || 1;
|
|
2812
|
+
if (_ === O.length - 1) return T.push(yr(W, A, U)), void B.push(T);
|
|
2813
|
+
X < A ? (A -= X, T.push(W)) : (T.push(yr(W, A, X)), B.push(T), A = f, T = []);
|
|
2814
2814
|
}), B;
|
|
2815
2815
|
}((d = n.default) === null || d === void 0 ? void 0 : d.call(n), h.value);
|
|
2816
|
-
return c(P("div",
|
|
2816
|
+
return c(P("div", Ao(Ao({}, o), {}, { class: [a.value, { [`${a.value}-${u}`]: u !== "default", [`${a.value}-bordered`]: !!b, [`${a.value}-rtl`]: r.value === "rtl" }, o.class, m.value] }), [(w || S) && P("div", { class: `${a.value}-header` }, [w && P("div", { class: `${a.value}-title` }, [w]), S && P("div", { class: `${a.value}-extra` }, [S])]), P("div", { class: `${a.value}-view` }, [P("table", null, [P("tbody", null, [F.map((k, f) => P(Ts, { key: f, index: f, colon: x, prefixCls: a.value, vertical: p === "vertical", bordered: b, row: k }, null))])])])]));
|
|
2817
2817
|
};
|
|
2818
2818
|
} });
|
|
2819
|
-
|
|
2820
|
-
return e.component(
|
|
2819
|
+
tn.install = function(e) {
|
|
2820
|
+
return e.component(tn.name, tn), e.component(tn.Item.name, tn.Item), e;
|
|
2821
2821
|
};
|
|
2822
2822
|
const Gs = (e) => {
|
|
2823
|
-
const t = e, n = v(t, "columns"), o = v(t, "detailDescItemEmptyText"), a = v(t, "detailDescItemProps"), r = v(t, "detailDescItemTimeFormat"), i = v(t, "detailModalProps"), l = v(t, "tableTextConfig"), c = v(t, "detailDescProps"), m =
|
|
2823
|
+
const t = e, n = v(t, "columns"), o = v(t, "detailDescItemEmptyText"), a = v(t, "detailDescItemProps"), r = v(t, "detailDescItemTimeFormat"), i = v(t, "detailModalProps"), l = v(t, "tableTextConfig"), c = v(t, "detailDescProps"), m = ae(!1), s = ae(!1), h = At({ values: {} }), g = q(() => {
|
|
2824
2824
|
var y, d, u, b;
|
|
2825
2825
|
return (b = (u = (d = (y = n.value) == null ? void 0 : y.map) == null ? void 0 : d.call(y, (p, x) => {
|
|
2826
|
-
const { type: w, title: S, dataIndex: F, emptyText: k, numberFormat: f, timeFormat: O, numberComputed: B, descItemProps: T, customRender: A } = p, { label: W, render:
|
|
2827
|
-
return { ...a.value, label: S || W, key: JSON.stringify(F), chidlren: Vs({ type: w, render:
|
|
2826
|
+
const { type: w, title: S, dataIndex: F, emptyText: k, numberFormat: f, timeFormat: O, numberComputed: B, descItemProps: T, customRender: A } = p, { label: W, render: _, hidden: N, ...U } = T || {};
|
|
2827
|
+
return { ...a.value, label: S || W, key: JSON.stringify(F), chidlren: Vs({ type: w, render: _, dataSource: h == null ? void 0 : h.values, dataIndex: F, column: p, index: x, customRender: A, detailDescItemEmptyText: o.value, detailDescItemTimeFormat: r.value, timeFormat: O, numberFormat: f, numberComputed: B, emptyText: k }), hidden: N, ...U };
|
|
2828
2828
|
})) == null ? void 0 : u.filter) == null ? void 0 : b.call(u, ({ hidden: p }) => !p);
|
|
2829
2829
|
});
|
|
2830
2830
|
return { openDetailModal: () => {
|
|
2831
2831
|
m.value = !0;
|
|
2832
2832
|
}, DetailModal: () => {
|
|
2833
2833
|
var y, d;
|
|
2834
|
-
return P(
|
|
2834
|
+
return P(jr, ee({ open: m.value, "onUpdate:open": (u) => m.value = u, title: (d = (y = l.value) == null ? void 0 : y.modalTitle) == null ? void 0 : d.detail, footer: null, width: "65%", destroyOnClose: !0, maskClosable: !1 }, i.value), { default: () => [P(Or, { active: !0, loading: s.value }, { default: () => [P($l, ee({ bordered: !0 }, c.value), { default: () => {
|
|
2835
2835
|
var u, b;
|
|
2836
|
-
return [(b = (u = g == null ? void 0 : g.value) == null ? void 0 : u.map) == null ? void 0 : b.call(u, ({ label: p, key: x, chidlren: w, hidden: S, ...F }) => P(
|
|
2837
|
-
return typeof k == "function" || Object.prototype.toString.call(k) === "[object Object]" && !
|
|
2836
|
+
return [(b = (u = g == null ? void 0 : g.value) == null ? void 0 : u.map) == null ? void 0 : b.call(u, ({ label: p, key: x, chidlren: w, hidden: S, ...F }) => P(Ai, ee({ key: x, label: p }, F), function(k) {
|
|
2837
|
+
return typeof k == "function" || Object.prototype.toString.call(k) === "[object Object]" && !Ft(k);
|
|
2838
2838
|
}(w) ? w : { default: () => [w] }))];
|
|
2839
2839
|
} })] })] });
|
|
2840
2840
|
}, detailsDataSource: h, detailModalLoading: s };
|
|
2841
2841
|
}, Vs = ({ type: e, render: t, dataSource: n, dataIndex: o, column: a, index: r, customRender: i, detailDescItemEmptyText: l, detailDescItemTimeFormat: c, timeFormat: m, numberFormat: s, numberComputed: h, emptyText: g }) => {
|
|
2842
2842
|
var y, d, u, b, p;
|
|
2843
|
-
if (
|
|
2844
|
-
if (
|
|
2845
|
-
if (e === "date" &&
|
|
2843
|
+
if (Tt(t)) return t == null ? void 0 : t(Re(n, o), n, a, r);
|
|
2844
|
+
if (Tt(i)) return i == null ? void 0 : i({ text: Re(n, o), value: null, record: n, index: r, renderIndex: null, column: a });
|
|
2845
|
+
if (e === "date" && Re(n, o)) return (d = (y = Xe(Re(n, o))) == null ? void 0 : y.format) == null ? void 0 : d.call(y, m || c || "YYYY-MM-DD HH:mm:ss");
|
|
2846
2846
|
if (e === "number") {
|
|
2847
|
-
const x = Number(
|
|
2848
|
-
return
|
|
2847
|
+
const x = Number(Re(n, o));
|
|
2848
|
+
return Tt(s) ? s == null ? void 0 : s(Hn(x), Re(n, o)) : ((p = (b = (u = Hn) == null ? void 0 : u(Tt(h) ? h == null ? void 0 : h(new qn(x), qn) : x)) == null ? void 0 : b.format) == null ? void 0 : p.call(b, s || "0[.]00")) || g || l;
|
|
2849
2849
|
}
|
|
2850
|
-
return
|
|
2850
|
+
return Re(n, o) || g || l;
|
|
2851
2851
|
};
|
|
2852
|
-
var
|
|
2853
|
-
|
|
2852
|
+
var $i, Xs = { exports: {} };
|
|
2853
|
+
$i = function() {
|
|
2854
2854
|
return function(e) {
|
|
2855
2855
|
var t = {};
|
|
2856
2856
|
function n(o) {
|
|
@@ -3044,9 +3044,9 @@ Ii = function() {
|
|
|
3044
3044
|
S(A, p, function() {
|
|
3045
3045
|
return this;
|
|
3046
3046
|
});
|
|
3047
|
-
var W = Object.getPrototypeOf,
|
|
3048
|
-
|
|
3049
|
-
var
|
|
3047
|
+
var W = Object.getPrototypeOf, _ = W && W(W(Z([])));
|
|
3048
|
+
_ && _ !== y && d.call(_, p) && (A = _);
|
|
3049
|
+
var N = T.prototype = O.prototype = Object.create(A);
|
|
3050
3050
|
function U(C) {
|
|
3051
3051
|
["next", "throw", "return"].forEach(function(E) {
|
|
3052
3052
|
S(C, E, function(M) {
|
|
@@ -3058,15 +3058,15 @@ Ii = function() {
|
|
|
3058
3058
|
function M(j, z, I, G) {
|
|
3059
3059
|
var H = k(C[j], C, z);
|
|
3060
3060
|
if (H.type !== "throw") {
|
|
3061
|
-
var
|
|
3062
|
-
return
|
|
3063
|
-
M("next",
|
|
3064
|
-
}, function(
|
|
3065
|
-
M("throw",
|
|
3066
|
-
}) : E.resolve(
|
|
3067
|
-
|
|
3068
|
-
}, function(
|
|
3069
|
-
return M("throw",
|
|
3061
|
+
var re = H.arg, ce = re.value;
|
|
3062
|
+
return ce && r(ce) == "object" && d.call(ce, "__await") ? E.resolve(ce.__await).then(function(te) {
|
|
3063
|
+
M("next", te, I, G);
|
|
3064
|
+
}, function(te) {
|
|
3065
|
+
M("throw", te, I, G);
|
|
3066
|
+
}) : E.resolve(ce).then(function(te) {
|
|
3067
|
+
re.value = te, I(re);
|
|
3068
|
+
}, function(te) {
|
|
3069
|
+
return M("throw", te, I, G);
|
|
3070
3070
|
});
|
|
3071
3071
|
}
|
|
3072
3072
|
G(H.arg);
|
|
@@ -3145,16 +3145,16 @@ Ii = function() {
|
|
|
3145
3145
|
return $.next = $;
|
|
3146
3146
|
}
|
|
3147
3147
|
}
|
|
3148
|
-
return { next:
|
|
3148
|
+
return { next: be };
|
|
3149
3149
|
}
|
|
3150
|
-
function
|
|
3150
|
+
function be() {
|
|
3151
3151
|
return { value: void 0, done: !0 };
|
|
3152
3152
|
}
|
|
3153
|
-
return B.prototype = T, u(
|
|
3153
|
+
return B.prototype = T, u(N, "constructor", { value: T, configurable: !0 }), u(T, "constructor", { value: B, configurable: !0 }), B.displayName = S(T, w, "GeneratorFunction"), g.isGeneratorFunction = function(C) {
|
|
3154
3154
|
var E = typeof C == "function" && C.constructor;
|
|
3155
3155
|
return !!E && (E === B || (E.displayName || E.name) === "GeneratorFunction");
|
|
3156
3156
|
}, g.mark = function(C) {
|
|
3157
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(C, T) : (C.__proto__ = T, S(C, w, "GeneratorFunction")), C.prototype = Object.create(
|
|
3157
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(C, T) : (C.__proto__ = T, S(C, w, "GeneratorFunction")), C.prototype = Object.create(N), C;
|
|
3158
3158
|
}, g.awrap = function(C) {
|
|
3159
3159
|
return { __await: C };
|
|
3160
3160
|
}, U(X.prototype), S(X.prototype, x, function() {
|
|
@@ -3165,9 +3165,9 @@ Ii = function() {
|
|
|
3165
3165
|
return g.isGeneratorFunction(E) ? z : z.next().then(function(I) {
|
|
3166
3166
|
return I.done ? I.value : z.next();
|
|
3167
3167
|
});
|
|
3168
|
-
}, U(
|
|
3168
|
+
}, U(N), S(N, w, "Generator"), S(N, p, function() {
|
|
3169
3169
|
return this;
|
|
3170
|
-
}), S(
|
|
3170
|
+
}), S(N, "toString", function() {
|
|
3171
3171
|
return "[object Generator]";
|
|
3172
3172
|
}), g.keys = function(C) {
|
|
3173
3173
|
var E = Object(C), M = [];
|
|
@@ -3189,8 +3189,8 @@ Ii = function() {
|
|
|
3189
3189
|
}, dispatchException: function(C) {
|
|
3190
3190
|
if (this.done) throw C;
|
|
3191
3191
|
var E = this;
|
|
3192
|
-
function M(H,
|
|
3193
|
-
return z.type = "throw", z.arg = C, E.next = H,
|
|
3192
|
+
function M(H, re) {
|
|
3193
|
+
return z.type = "throw", z.arg = C, E.next = H, re && (E.method = "next", E.arg = void 0), !!re;
|
|
3194
3194
|
}
|
|
3195
3195
|
for (var $ = this.tryEntries.length - 1; $ >= 0; --$) {
|
|
3196
3196
|
var j = this.tryEntries[$], z = j.completion;
|
|
@@ -3373,22 +3373,22 @@ Ii = function() {
|
|
|
3373
3373
|
var x = this;
|
|
3374
3374
|
return new Promise(function() {
|
|
3375
3375
|
var w = c(i().mark(function S(F) {
|
|
3376
|
-
var k, f, O, B, T, A, W,
|
|
3377
|
-
return i().wrap(function(
|
|
3378
|
-
for (; ; ) switch (
|
|
3376
|
+
var k, f, O, B, T, A, W, _;
|
|
3377
|
+
return i().wrap(function(N) {
|
|
3378
|
+
for (; ; ) switch (N.prev = N.next) {
|
|
3379
3379
|
case 0:
|
|
3380
3380
|
if (k = x.params.contentTypeDetermination, f = "application/octet-stream", k !== "header" && k !== "full" || (O = x.getContentTypeFromResponseHeader()), k !== "signature" && k !== "full") {
|
|
3381
|
-
|
|
3381
|
+
N.next = 7;
|
|
3382
3382
|
break;
|
|
3383
3383
|
}
|
|
3384
|
-
return
|
|
3384
|
+
return N.next = 6, x.getContentTypeFromFileSignature(new Blob([p]));
|
|
3385
3385
|
case 6:
|
|
3386
|
-
B =
|
|
3386
|
+
B = N.sent;
|
|
3387
3387
|
case 7:
|
|
3388
|
-
F(k === "header" ? (T = O) !== null && T !== void 0 ? T : f : k === "signature" ? (A = B) !== null && A !== void 0 ? A : f : k === "full" && (W = (
|
|
3388
|
+
F(k === "header" ? (T = O) !== null && T !== void 0 ? T : f : k === "signature" ? (A = B) !== null && A !== void 0 ? A : f : k === "full" && (W = (_ = B) !== null && _ !== void 0 ? _ : O) !== null && W !== void 0 ? W : f);
|
|
3389
3389
|
case 8:
|
|
3390
3390
|
case "end":
|
|
3391
|
-
return
|
|
3391
|
+
return N.stop();
|
|
3392
3392
|
}
|
|
3393
3393
|
}, S);
|
|
3394
3394
|
}));
|
|
@@ -3468,32 +3468,32 @@ Ii = function() {
|
|
|
3468
3468
|
}
|
|
3469
3469
|
) }).default;
|
|
3470
3470
|
};
|
|
3471
|
-
const Us = Ur(Xs.exports = Ii()), Li = { "application/prs.cww": ["cww"], "application/prs.xsf+xml": ["xsf"], "application/vnd.1000minds.decision-model+xml": ["1km"], "application/vnd.3gpp.pic-bw-large": ["plb"], "application/vnd.3gpp.pic-bw-small": ["psb"], "application/vnd.3gpp.pic-bw-var": ["pvb"], "application/vnd.3gpp2.tcap": ["tcap"], "application/vnd.3m.post-it-notes": ["pwn"], "application/vnd.accpac.simply.aso": ["aso"], "application/vnd.accpac.simply.imp": ["imp"], "application/vnd.acucobol": ["acu"], "application/vnd.acucorp": ["atc", "acutc"], "application/vnd.adobe.air-application-installer-package+zip": ["air"], "application/vnd.adobe.formscentral.fcdt": ["fcdt"], "application/vnd.adobe.fxp": ["fxp", "fxpl"], "application/vnd.adobe.xdp+xml": ["xdp"], "application/vnd.adobe.xfdf": ["*xfdf"], "application/vnd.age": ["age"], "application/vnd.ahead.space": ["ahead"], "application/vnd.airzip.filesecure.azf": ["azf"], "application/vnd.airzip.filesecure.azs": ["azs"], "application/vnd.amazon.ebook": ["azw"], "application/vnd.americandynamics.acc": ["acc"], "application/vnd.amiga.ami": ["ami"], "application/vnd.android.package-archive": ["apk"], "application/vnd.anser-web-certificate-issue-initiation": ["cii"], "application/vnd.anser-web-funds-transfer-initiation": ["fti"], "application/vnd.antix.game-component": ["atx"], "application/vnd.apple.installer+xml": ["mpkg"], "application/vnd.apple.keynote": ["key"], "application/vnd.apple.mpegurl": ["m3u8"], "application/vnd.apple.numbers": ["numbers"], "application/vnd.apple.pages": ["pages"], "application/vnd.apple.pkpass": ["pkpass"], "application/vnd.aristanetworks.swi": ["swi"], "application/vnd.astraea-software.iota": ["iota"], "application/vnd.audiograph": ["aep"], "application/vnd.balsamiq.bmml+xml": ["bmml"], "application/vnd.blueice.multipass": ["mpm"], "application/vnd.bmi": ["bmi"], "application/vnd.businessobjects": ["rep"], "application/vnd.chemdraw+xml": ["cdxml"], "application/vnd.chipnuts.karaoke-mmd": ["mmd"], "application/vnd.cinderella": ["cdy"], "application/vnd.citationstyles.style+xml": ["csl"], "application/vnd.claymore": ["cla"], "application/vnd.cloanto.rp9": ["rp9"], "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"], "application/vnd.cluetrust.cartomobile-config": ["c11amc"], "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"], "application/vnd.commonspace": ["csp"], "application/vnd.contact.cmsg": ["cdbcmsg"], "application/vnd.cosmocaller": ["cmc"], "application/vnd.crick.clicker": ["clkx"], "application/vnd.crick.clicker.keyboard": ["clkk"], "application/vnd.crick.clicker.palette": ["clkp"], "application/vnd.crick.clicker.template": ["clkt"], "application/vnd.crick.clicker.wordbank": ["clkw"], "application/vnd.criticaltools.wbs+xml": ["wbs"], "application/vnd.ctc-posml": ["pml"], "application/vnd.cups-ppd": ["ppd"], "application/vnd.curl.car": ["car"], "application/vnd.curl.pcurl": ["pcurl"], "application/vnd.dart": ["dart"], "application/vnd.data-vision.rdz": ["rdz"], "application/vnd.dbf": ["dbf"], "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"], "application/vnd.dece.ttml+xml": ["uvt", "uvvt"], "application/vnd.dece.unspecified": ["uvx", "uvvx"], "application/vnd.dece.zip": ["uvz", "uvvz"], "application/vnd.denovo.fcselayout-link": ["fe_launch"], "application/vnd.dna": ["dna"], "application/vnd.dolby.mlp": ["mlp"], "application/vnd.dpgraph": ["dpg"], "application/vnd.dreamfactory": ["dfac"], "application/vnd.ds-keypoint": ["kpxx"], "application/vnd.dvb.ait": ["ait"], "application/vnd.dvb.service": ["svc"], "application/vnd.dynageo": ["geo"], "application/vnd.ecowin.chart": ["mag"], "application/vnd.enliven": ["nml"], "application/vnd.epson.esf": ["esf"], "application/vnd.epson.msf": ["msf"], "application/vnd.epson.quickanime": ["qam"], "application/vnd.epson.salt": ["slt"], "application/vnd.epson.ssf": ["ssf"], "application/vnd.eszigno3+xml": ["es3", "et3"], "application/vnd.ezpix-album": ["ez2"], "application/vnd.ezpix-package": ["ez3"], "application/vnd.fdf": ["*fdf"], "application/vnd.fdsn.mseed": ["mseed"], "application/vnd.fdsn.seed": ["seed", "dataless"], "application/vnd.flographit": ["gph"], "application/vnd.fluxtime.clip": ["ftc"], "application/vnd.framemaker": ["fm", "frame", "maker", "book"], "application/vnd.frogans.fnc": ["fnc"], "application/vnd.frogans.ltf": ["ltf"], "application/vnd.fsc.weblaunch": ["fsc"], "application/vnd.fujitsu.oasys": ["oas"], "application/vnd.fujitsu.oasys2": ["oa2"], "application/vnd.fujitsu.oasys3": ["oa3"], "application/vnd.fujitsu.oasysgp": ["fg5"], "application/vnd.fujitsu.oasysprs": ["bh2"], "application/vnd.fujixerox.ddd": ["ddd"], "application/vnd.fujixerox.docuworks": ["xdw"], "application/vnd.fujixerox.docuworks.binder": ["xbd"], "application/vnd.fuzzysheet": ["fzs"], "application/vnd.genomatix.tuxedo": ["txd"], "application/vnd.geogebra.file": ["ggb"], "application/vnd.geogebra.slides": ["ggs"], "application/vnd.geogebra.tool": ["ggt"], "application/vnd.geometry-explorer": ["gex", "gre"], "application/vnd.geonext": ["gxt"], "application/vnd.geoplan": ["g2w"], "application/vnd.geospace": ["g3w"], "application/vnd.gmx": ["gmx"], "application/vnd.google-apps.document": ["gdoc"], "application/vnd.google-apps.presentation": ["gslides"], "application/vnd.google-apps.spreadsheet": ["gsheet"], "application/vnd.google-earth.kml+xml": ["kml"], "application/vnd.google-earth.kmz": ["kmz"], "application/vnd.gov.sk.xmldatacontainer+xml": ["xdcf"], "application/vnd.grafeq": ["gqf", "gqs"], "application/vnd.groove-account": ["gac"], "application/vnd.groove-help": ["ghf"], "application/vnd.groove-identity-message": ["gim"], "application/vnd.groove-injector": ["grv"], "application/vnd.groove-tool-message": ["gtm"], "application/vnd.groove-tool-template": ["tpl"], "application/vnd.groove-vcard": ["vcg"], "application/vnd.hal+xml": ["hal"], "application/vnd.handheld-entertainment+xml": ["zmm"], "application/vnd.hbci": ["hbci"], "application/vnd.hhe.lesson-player": ["les"], "application/vnd.hp-hpgl": ["hpgl"], "application/vnd.hp-hpid": ["hpid"], "application/vnd.hp-hps": ["hps"], "application/vnd.hp-jlyt": ["jlt"], "application/vnd.hp-pcl": ["pcl"], "application/vnd.hp-pclxl": ["pclxl"], "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"], "application/vnd.ibm.minipay": ["mpy"], "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"], "application/vnd.ibm.rights-management": ["irm"], "application/vnd.ibm.secure-container": ["sc"], "application/vnd.iccprofile": ["icc", "icm"], "application/vnd.igloader": ["igl"], "application/vnd.immervision-ivp": ["ivp"], "application/vnd.immervision-ivu": ["ivu"], "application/vnd.insors.igm": ["igm"], "application/vnd.intercon.formnet": ["xpw", "xpx"], "application/vnd.intergeo": ["i2g"], "application/vnd.intu.qbo": ["qbo"], "application/vnd.intu.qfx": ["qfx"], "application/vnd.ipunplugged.rcprofile": ["rcprofile"], "application/vnd.irepository.package+xml": ["irp"], "application/vnd.is-xpr": ["xpr"], "application/vnd.isac.fcs": ["fcs"], "application/vnd.jam": ["jam"], "application/vnd.jcp.javame.midlet-rms": ["rms"], "application/vnd.jisp": ["jisp"], "application/vnd.joost.joda-archive": ["joda"], "application/vnd.kahootz": ["ktz", "ktr"], "application/vnd.kde.karbon": ["karbon"], "application/vnd.kde.kchart": ["chrt"], "application/vnd.kde.kformula": ["kfo"], "application/vnd.kde.kivio": ["flw"], "application/vnd.kde.kontour": ["kon"], "application/vnd.kde.kpresenter": ["kpr", "kpt"], "application/vnd.kde.kspread": ["ksp"], "application/vnd.kde.kword": ["kwd", "kwt"], "application/vnd.kenameaapp": ["htke"], "application/vnd.kidspiration": ["kia"], "application/vnd.kinar": ["kne", "knp"], "application/vnd.koan": ["skp", "skd", "skt", "skm"], "application/vnd.kodak-descriptor": ["sse"], "application/vnd.las.las+xml": ["lasxml"], "application/vnd.llamagraphics.life-balance.desktop": ["lbd"], "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"], "application/vnd.lotus-1-2-3": ["123"], "application/vnd.lotus-approach": ["apr"], "application/vnd.lotus-freelance": ["pre"], "application/vnd.lotus-notes": ["nsf"], "application/vnd.lotus-organizer": ["org"], "application/vnd.lotus-screencam": ["scm"], "application/vnd.lotus-wordpro": ["lwp"], "application/vnd.macports.portpkg": ["portpkg"], "application/vnd.mapbox-vector-tile": ["mvt"], "application/vnd.mcd": ["mcd"], "application/vnd.medcalcdata": ["mc1"], "application/vnd.mediastation.cdkey": ["cdkey"], "application/vnd.mfer": ["mwf"], "application/vnd.mfmp": ["mfm"], "application/vnd.micrografx.flo": ["flo"], "application/vnd.micrografx.igx": ["igx"], "application/vnd.mif": ["mif"], "application/vnd.mobius.daf": ["daf"], "application/vnd.mobius.dis": ["dis"], "application/vnd.mobius.mbk": ["mbk"], "application/vnd.mobius.mqy": ["mqy"], "application/vnd.mobius.msl": ["msl"], "application/vnd.mobius.plc": ["plc"], "application/vnd.mobius.txf": ["txf"], "application/vnd.mophun.application": ["mpn"], "application/vnd.mophun.certificate": ["mpc"], "application/vnd.mozilla.xul+xml": ["xul"], "application/vnd.ms-artgalry": ["cil"], "application/vnd.ms-cab-compressed": ["cab"], "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"], "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"], "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"], "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"], "application/vnd.ms-excel.template.macroenabled.12": ["xltm"], "application/vnd.ms-fontobject": ["eot"], "application/vnd.ms-htmlhelp": ["chm"], "application/vnd.ms-ims": ["ims"], "application/vnd.ms-lrm": ["lrm"], "application/vnd.ms-officetheme": ["thmx"], "application/vnd.ms-outlook": ["msg"], "application/vnd.ms-pki.seccat": ["cat"], "application/vnd.ms-pki.stl": ["*stl"], "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"], "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"], "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"], "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"], "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"], "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"], "application/vnd.ms-project": ["*mpp", "mpt"], "application/vnd.ms-word.document.macroenabled.12": ["docm"], "application/vnd.ms-word.template.macroenabled.12": ["dotm"], "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"], "application/vnd.ms-wpl": ["wpl"], "application/vnd.ms-xpsdocument": ["xps"], "application/vnd.mseq": ["mseq"], "application/vnd.musician": ["mus"], "application/vnd.muvee.style": ["msty"], "application/vnd.mynfc": ["taglet"], "application/vnd.nato.bindingdataobject+xml": ["bdo"], "application/vnd.neurolanguage.nlu": ["nlu"], "application/vnd.nitf": ["ntf", "nitf"], "application/vnd.noblenet-directory": ["nnd"], "application/vnd.noblenet-sealer": ["nns"], "application/vnd.noblenet-web": ["nnw"], "application/vnd.nokia.n-gage.ac+xml": ["*ac"], "application/vnd.nokia.n-gage.data": ["ngdat"], "application/vnd.nokia.n-gage.symbian.install": ["n-gage"], "application/vnd.nokia.radio-preset": ["rpst"], "application/vnd.nokia.radio-presets": ["rpss"], "application/vnd.novadigm.edm": ["edm"], "application/vnd.novadigm.edx": ["edx"], "application/vnd.novadigm.ext": ["ext"], "application/vnd.oasis.opendocument.chart": ["odc"], "application/vnd.oasis.opendocument.chart-template": ["otc"], "application/vnd.oasis.opendocument.database": ["odb"], "application/vnd.oasis.opendocument.formula": ["odf"], "application/vnd.oasis.opendocument.formula-template": ["odft"], "application/vnd.oasis.opendocument.graphics": ["odg"], "application/vnd.oasis.opendocument.graphics-template": ["otg"], "application/vnd.oasis.opendocument.image": ["odi"], "application/vnd.oasis.opendocument.image-template": ["oti"], "application/vnd.oasis.opendocument.presentation": ["odp"], "application/vnd.oasis.opendocument.presentation-template": ["otp"], "application/vnd.oasis.opendocument.spreadsheet": ["ods"], "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"], "application/vnd.oasis.opendocument.text": ["odt"], "application/vnd.oasis.opendocument.text-master": ["odm"], "application/vnd.oasis.opendocument.text-template": ["ott"], "application/vnd.oasis.opendocument.text-web": ["oth"], "application/vnd.olpc-sugar": ["xo"], "application/vnd.oma.dd2+xml": ["dd2"], "application/vnd.openblox.game+xml": ["obgx"], "application/vnd.openofficeorg.extension": ["oxt"], "application/vnd.openstreetmap.data+xml": ["osm"], "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"], "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"], "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"], "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"], "application/vnd.osgeo.mapguide.package": ["mgp"], "application/vnd.osgi.dp": ["dp"], "application/vnd.osgi.subsystem": ["esa"], "application/vnd.palm": ["pdb", "pqa", "oprc"], "application/vnd.pawaafile": ["paw"], "application/vnd.pg.format": ["str"], "application/vnd.pg.osasli": ["ei6"], "application/vnd.picsel": ["efif"], "application/vnd.pmi.widget": ["wg"], "application/vnd.pocketlearn": ["plf"], "application/vnd.powerbuilder6": ["pbd"], "application/vnd.previewsystems.box": ["box"], "application/vnd.proteus.magazine": ["mgz"], "application/vnd.publishare-delta-tree": ["qps"], "application/vnd.pvi.ptid1": ["ptid"], "application/vnd.pwg-xhtml-print+xml": ["xhtm"], "application/vnd.quark.quarkxpress": ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"], "application/vnd.rar": ["rar"], "application/vnd.realvnc.bed": ["bed"], "application/vnd.recordare.musicxml": ["mxl"], "application/vnd.recordare.musicxml+xml": ["musicxml"], "application/vnd.rig.cryptonote": ["cryptonote"], "application/vnd.rim.cod": ["cod"], "application/vnd.rn-realmedia": ["rm"], "application/vnd.rn-realmedia-vbr": ["rmvb"], "application/vnd.route66.link66+xml": ["link66"], "application/vnd.sailingtracker.track": ["st"], "application/vnd.seemail": ["see"], "application/vnd.sema": ["sema"], "application/vnd.semd": ["semd"], "application/vnd.semf": ["semf"], "application/vnd.shana.informed.formdata": ["ifm"], "application/vnd.shana.informed.formtemplate": ["itp"], "application/vnd.shana.informed.interchange": ["iif"], "application/vnd.shana.informed.package": ["ipk"], "application/vnd.simtech-mindmapper": ["twd", "twds"], "application/vnd.smaf": ["mmf"], "application/vnd.smart.teacher": ["teacher"], "application/vnd.software602.filler.form+xml": ["fo"], "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"], "application/vnd.spotfire.dxp": ["dxp"], "application/vnd.spotfire.sfs": ["sfs"], "application/vnd.stardivision.calc": ["sdc"], "application/vnd.stardivision.draw": ["sda"], "application/vnd.stardivision.impress": ["sdd"], "application/vnd.stardivision.math": ["smf"], "application/vnd.stardivision.writer": ["sdw", "vor"], "application/vnd.stardivision.writer-global": ["sgl"], "application/vnd.stepmania.package": ["smzip"], "application/vnd.stepmania.stepchart": ["sm"], "application/vnd.sun.wadl+xml": ["wadl"], "application/vnd.sun.xml.calc": ["sxc"], "application/vnd.sun.xml.calc.template": ["stc"], "application/vnd.sun.xml.draw": ["sxd"], "application/vnd.sun.xml.draw.template": ["std"], "application/vnd.sun.xml.impress": ["sxi"], "application/vnd.sun.xml.impress.template": ["sti"], "application/vnd.sun.xml.math": ["sxm"], "application/vnd.sun.xml.writer": ["sxw"], "application/vnd.sun.xml.writer.global": ["sxg"], "application/vnd.sun.xml.writer.template": ["stw"], "application/vnd.sus-calendar": ["sus", "susp"], "application/vnd.svd": ["svd"], "application/vnd.symbian.install": ["sis", "sisx"], "application/vnd.syncml+xml": ["xsm"], "application/vnd.syncml.dm+wbxml": ["bdm"], "application/vnd.syncml.dm+xml": ["xdm"], "application/vnd.syncml.dmddf+xml": ["ddf"], "application/vnd.tao.intent-module-archive": ["tao"], "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"], "application/vnd.tmobile-livetv": ["tmo"], "application/vnd.trid.tpt": ["tpt"], "application/vnd.triscape.mxs": ["mxs"], "application/vnd.trueapp": ["tra"], "application/vnd.ufdl": ["ufd", "ufdl"], "application/vnd.uiq.theme": ["utz"], "application/vnd.umajin": ["umj"], "application/vnd.unity": ["unityweb"], "application/vnd.uoml+xml": ["uoml", "uo"], "application/vnd.vcx": ["vcx"], "application/vnd.visio": ["vsd", "vst", "vss", "vsw"], "application/vnd.visionary": ["vis"], "application/vnd.vsf": ["vsf"], "application/vnd.wap.wbxml": ["wbxml"], "application/vnd.wap.wmlc": ["wmlc"], "application/vnd.wap.wmlscriptc": ["wmlsc"], "application/vnd.webturbo": ["wtb"], "application/vnd.wolfram.player": ["nbp"], "application/vnd.wordperfect": ["wpd"], "application/vnd.wqd": ["wqd"], "application/vnd.wt.stf": ["stf"], "application/vnd.xara": ["xar"], "application/vnd.xfdl": ["xfdl"], "application/vnd.yamaha.hv-dic": ["hvd"], "application/vnd.yamaha.hv-script": ["hvs"], "application/vnd.yamaha.hv-voice": ["hvp"], "application/vnd.yamaha.openscoreformat": ["osf"], "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"], "application/vnd.yamaha.smaf-audio": ["saf"], "application/vnd.yamaha.smaf-phrase": ["spf"], "application/vnd.yellowriver-custom-menu": ["cmp"], "application/vnd.zul": ["zir", "zirz"], "application/vnd.zzazz.deck+xml": ["zaz"], "application/x-7z-compressed": ["7z"], "application/x-abiword": ["abw"], "application/x-ace-compressed": ["ace"], "application/x-apple-diskimage": ["*dmg"], "application/x-arj": ["arj"], "application/x-authorware-bin": ["aab", "x32", "u32", "vox"], "application/x-authorware-map": ["aam"], "application/x-authorware-seg": ["aas"], "application/x-bcpio": ["bcpio"], "application/x-bdoc": ["*bdoc"], "application/x-bittorrent": ["torrent"], "application/x-blorb": ["blb", "blorb"], "application/x-bzip": ["bz"], "application/x-bzip2": ["bz2", "boz"], "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"], "application/x-cdlink": ["vcd"], "application/x-cfs-compressed": ["cfs"], "application/x-chat": ["chat"], "application/x-chess-pgn": ["pgn"], "application/x-chrome-extension": ["crx"], "application/x-cocoa": ["cco"], "application/x-conference": ["nsc"], "application/x-cpio": ["cpio"], "application/x-csh": ["csh"], "application/x-debian-package": ["*deb", "udeb"], "application/x-dgc-compressed": ["dgc"], "application/x-director": ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"], "application/x-doom": ["wad"], "application/x-dtbncx+xml": ["ncx"], "application/x-dtbook+xml": ["dtb"], "application/x-dtbresource+xml": ["res"], "application/x-dvi": ["dvi"], "application/x-envoy": ["evy"], "application/x-eva": ["eva"], "application/x-font-bdf": ["bdf"], "application/x-font-ghostscript": ["gsf"], "application/x-font-linux-psf": ["psf"], "application/x-font-pcf": ["pcf"], "application/x-font-snf": ["snf"], "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"], "application/x-freearc": ["arc"], "application/x-futuresplash": ["spl"], "application/x-gca-compressed": ["gca"], "application/x-glulx": ["ulx"], "application/x-gnumeric": ["gnumeric"], "application/x-gramps-xml": ["gramps"], "application/x-gtar": ["gtar"], "application/x-hdf": ["hdf"], "application/x-httpd-php": ["php"], "application/x-install-instructions": ["install"], "application/x-iso9660-image": ["*iso"], "application/x-iwork-keynote-sffkey": ["*key"], "application/x-iwork-numbers-sffnumbers": ["*numbers"], "application/x-iwork-pages-sffpages": ["*pages"], "application/x-java-archive-diff": ["jardiff"], "application/x-java-jnlp-file": ["jnlp"], "application/x-keepass2": ["kdbx"], "application/x-latex": ["latex"], "application/x-lua-bytecode": ["luac"], "application/x-lzh-compressed": ["lzh", "lha"], "application/x-makeself": ["run"], "application/x-mie": ["mie"], "application/x-mobipocket-ebook": ["*prc", "mobi"], "application/x-ms-application": ["application"], "application/x-ms-shortcut": ["lnk"], "application/x-ms-wmd": ["wmd"], "application/x-ms-wmz": ["wmz"], "application/x-ms-xbap": ["xbap"], "application/x-msaccess": ["mdb"], "application/x-msbinder": ["obd"], "application/x-mscardfile": ["crd"], "application/x-msclip": ["clp"], "application/x-msdos-program": ["*exe"], "application/x-msdownload": ["*exe", "*dll", "com", "bat", "*msi"], "application/x-msmediaview": ["mvb", "m13", "m14"], "application/x-msmetafile": ["*wmf", "*wmz", "*emf", "emz"], "application/x-msmoney": ["mny"], "application/x-mspublisher": ["pub"], "application/x-msschedule": ["scd"], "application/x-msterminal": ["trm"], "application/x-mswrite": ["wri"], "application/x-netcdf": ["nc", "cdf"], "application/x-ns-proxy-autoconfig": ["pac"], "application/x-nzb": ["nzb"], "application/x-perl": ["pl", "pm"], "application/x-pilot": ["*prc", "*pdb"], "application/x-pkcs12": ["p12", "pfx"], "application/x-pkcs7-certificates": ["p7b", "spc"], "application/x-pkcs7-certreqresp": ["p7r"], "application/x-rar-compressed": ["*rar"], "application/x-redhat-package-manager": ["rpm"], "application/x-research-info-systems": ["ris"], "application/x-sea": ["sea"], "application/x-sh": ["sh"], "application/x-shar": ["shar"], "application/x-shockwave-flash": ["swf"], "application/x-silverlight-app": ["xap"], "application/x-sql": ["*sql"], "application/x-stuffit": ["sit"], "application/x-stuffitx": ["sitx"], "application/x-subrip": ["srt"], "application/x-sv4cpio": ["sv4cpio"], "application/x-sv4crc": ["sv4crc"], "application/x-t3vm-image": ["t3"], "application/x-tads": ["gam"], "application/x-tar": ["tar"], "application/x-tcl": ["tcl", "tk"], "application/x-tex": ["tex"], "application/x-tex-tfm": ["tfm"], "application/x-texinfo": ["texinfo", "texi"], "application/x-tgif": ["*obj"], "application/x-ustar": ["ustar"], "application/x-virtualbox-hdd": ["hdd"], "application/x-virtualbox-ova": ["ova"], "application/x-virtualbox-ovf": ["ovf"], "application/x-virtualbox-vbox": ["vbox"], "application/x-virtualbox-vbox-extpack": ["vbox-extpack"], "application/x-virtualbox-vdi": ["vdi"], "application/x-virtualbox-vhd": ["vhd"], "application/x-virtualbox-vmdk": ["vmdk"], "application/x-wais-source": ["src"], "application/x-web-app-manifest+json": ["webapp"], "application/x-x509-ca-cert": ["der", "crt", "pem"], "application/x-xfig": ["fig"], "application/x-xliff+xml": ["*xlf"], "application/x-xpinstall": ["xpi"], "application/x-xz": ["xz"], "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"], "audio/vnd.dece.audio": ["uva", "uvva"], "audio/vnd.digital-winds": ["eol"], "audio/vnd.dra": ["dra"], "audio/vnd.dts": ["dts"], "audio/vnd.dts.hd": ["dtshd"], "audio/vnd.lucent.voice": ["lvp"], "audio/vnd.ms-playready.media.pya": ["pya"], "audio/vnd.nuera.ecelp4800": ["ecelp4800"], "audio/vnd.nuera.ecelp7470": ["ecelp7470"], "audio/vnd.nuera.ecelp9600": ["ecelp9600"], "audio/vnd.rip": ["rip"], "audio/x-aac": ["*aac"], "audio/x-aiff": ["aif", "aiff", "aifc"], "audio/x-caf": ["caf"], "audio/x-flac": ["flac"], "audio/x-m4a": ["*m4a"], "audio/x-matroska": ["mka"], "audio/x-mpegurl": ["m3u"], "audio/x-ms-wax": ["wax"], "audio/x-ms-wma": ["wma"], "audio/x-pn-realaudio": ["ram", "ra"], "audio/x-pn-realaudio-plugin": ["rmp"], "audio/x-realaudio": ["*ra"], "audio/x-wav": ["*wav"], "chemical/x-cdx": ["cdx"], "chemical/x-cif": ["cif"], "chemical/x-cmdf": ["cmdf"], "chemical/x-cml": ["cml"], "chemical/x-csml": ["csml"], "chemical/x-xyz": ["xyz"], "image/prs.btif": ["btif", "btf"], "image/prs.pti": ["pti"], "image/vnd.adobe.photoshop": ["psd"], "image/vnd.airzip.accelerator.azv": ["azv"], "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"], "image/vnd.djvu": ["djvu", "djv"], "image/vnd.dvb.subtitle": ["*sub"], "image/vnd.dwg": ["dwg"], "image/vnd.dxf": ["dxf"], "image/vnd.fastbidsheet": ["fbs"], "image/vnd.fpx": ["fpx"], "image/vnd.fst": ["fst"], "image/vnd.fujixerox.edmics-mmr": ["mmr"], "image/vnd.fujixerox.edmics-rlc": ["rlc"], "image/vnd.microsoft.icon": ["ico"], "image/vnd.ms-dds": ["dds"], "image/vnd.ms-modi": ["mdi"], "image/vnd.ms-photo": ["wdp"], "image/vnd.net-fpx": ["npx"], "image/vnd.pco.b16": ["b16"], "image/vnd.tencent.tap": ["tap"], "image/vnd.valve.source.texture": ["vtf"], "image/vnd.wap.wbmp": ["wbmp"], "image/vnd.xiff": ["xif"], "image/vnd.zbrush.pcx": ["pcx"], "image/x-3ds": ["3ds"], "image/x-cmu-raster": ["ras"], "image/x-cmx": ["cmx"], "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"], "image/x-icon": ["*ico"], "image/x-jng": ["jng"], "image/x-mrsid-image": ["sid"], "image/x-ms-bmp": ["*bmp"], "image/x-pcx": ["*pcx"], "image/x-pict": ["pic", "pct"], "image/x-portable-anymap": ["pnm"], "image/x-portable-bitmap": ["pbm"], "image/x-portable-graymap": ["pgm"], "image/x-portable-pixmap": ["ppm"], "image/x-rgb": ["rgb"], "image/x-tga": ["tga"], "image/x-xbitmap": ["xbm"], "image/x-xpixmap": ["xpm"], "image/x-xwindowdump": ["xwd"], "message/vnd.wfa.wsc": ["wsc"], "model/vnd.bary": ["bary"], "model/vnd.cld": ["cld"], "model/vnd.collada+xml": ["dae"], "model/vnd.dwf": ["dwf"], "model/vnd.gdl": ["gdl"], "model/vnd.gtw": ["gtw"], "model/vnd.mts": ["*mts"], "model/vnd.opengex": ["ogex"], "model/vnd.parasolid.transmit.binary": ["x_b"], "model/vnd.parasolid.transmit.text": ["x_t"], "model/vnd.pytha.pyox": ["pyo", "pyox"], "model/vnd.sap.vds": ["vds"], "model/vnd.usda": ["usda"], "model/vnd.usdz+zip": ["usdz"], "model/vnd.valve.source.compiled-map": ["bsp"], "model/vnd.vtu": ["vtu"], "text/prs.lines.tag": ["dsc"], "text/vnd.curl": ["curl"], "text/vnd.curl.dcurl": ["dcurl"], "text/vnd.curl.mcurl": ["mcurl"], "text/vnd.curl.scurl": ["scurl"], "text/vnd.dvb.subtitle": ["sub"], "text/vnd.familysearch.gedcom": ["ged"], "text/vnd.fly": ["fly"], "text/vnd.fmi.flexstor": ["flx"], "text/vnd.graphviz": ["gv"], "text/vnd.in3d.3dml": ["3dml"], "text/vnd.in3d.spot": ["spot"], "text/vnd.sun.j2me.app-descriptor": ["jad"], "text/vnd.wap.wml": ["wml"], "text/vnd.wap.wmlscript": ["wmls"], "text/x-asm": ["s", "asm"], "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"], "text/x-component": ["htc"], "text/x-fortran": ["f", "for", "f77", "f90"], "text/x-handlebars-template": ["hbs"], "text/x-java-source": ["java"], "text/x-lua": ["lua"], "text/x-markdown": ["mkd"], "text/x-nfo": ["nfo"], "text/x-opml": ["opml"], "text/x-org": ["*org"], "text/x-pascal": ["p", "pas"], "text/x-processing": ["pde"], "text/x-sass": ["sass"], "text/x-scss": ["scss"], "text/x-setext": ["etx"], "text/x-sfv": ["sfv"], "text/x-suse-ymp": ["ymp"], "text/x-uuencode": ["uu"], "text/x-vcalendar": ["vcs"], "text/x-vcard": ["vcf"], "video/vnd.dece.hd": ["uvh", "uvvh"], "video/vnd.dece.mobile": ["uvm", "uvvm"], "video/vnd.dece.pd": ["uvp", "uvvp"], "video/vnd.dece.sd": ["uvs", "uvvs"], "video/vnd.dece.video": ["uvv", "uvvv"], "video/vnd.dvb.file": ["dvb"], "video/vnd.fvt": ["fvt"], "video/vnd.mpegurl": ["mxu", "m4u"], "video/vnd.ms-playready.media.pyv": ["pyv"], "video/vnd.uvvu.mp4": ["uvu", "uvvu"], "video/vnd.vivo": ["viv"], "video/x-f4v": ["f4v"], "video/x-fli": ["fli"], "video/x-flv": ["flv"], "video/x-m4v": ["m4v"], "video/x-matroska": ["mkv", "mk3d", "mks"], "video/x-mng": ["mng"], "video/x-ms-asf": ["asf", "asx"], "video/x-ms-vob": ["vob"], "video/x-ms-wm": ["wm"], "video/x-ms-wmv": ["wmv"], "video/x-ms-wmx": ["wmx"], "video/x-ms-wvx": ["wvx"], "video/x-msvideo": ["avi"], "video/x-sgi-movie": ["movie"], "video/x-smv": ["smv"], "x-conference/x-cooltalk": ["ice"] };
|
|
3472
|
-
Object.freeze(
|
|
3473
|
-
const _i = { "application/andrew-inset": ["ez"], "application/appinstaller": ["appinstaller"], "application/applixware": ["aw"], "application/appx": ["appx"], "application/appxbundle": ["appxbundle"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomdeleted+xml": ["atomdeleted"], "application/atomsvc+xml": ["atomsvc"], "application/atsc-dwd+xml": ["dwd"], "application/atsc-held+xml": ["held"], "application/atsc-rsat+xml": ["rsat"], "application/automationml-aml+xml": ["aml"], "application/automationml-amlx+zip": ["amlx"], "application/bdoc": ["bdoc"], "application/calendar+xml": ["xcs"], "application/ccxml+xml": ["ccxml"], "application/cdfx+xml": ["cdfx"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cpl+xml": ["cpl"], "application/cu-seeme": ["cu"], "application/cwl": ["cwl"], "application/dash+xml": ["mpd"], "application/dash-patch+xml": ["mpp"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma"], "application/emma+xml": ["emma"], "application/emotionml+xml": ["emotionml"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/express": ["exp"], "application/fdf": ["fdf"], "application/fdt+xml": ["fdt"], "application/font-tdpfr": ["pfr"], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hjson": ["hjson"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/its+xml": ["its"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["*js"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lgr+xml": ["lgr"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/media-policy-dataset+xml": ["mpf"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mmt-aei+xml": ["maei"], "application/mmt-usd+xml": ["musd"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["*mp4", "*mpg4", "mp4s", "m4p"], "application/msix": ["msix"], "application/msixbundle": ["msixbundle"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/n-quads": ["nq"], "application/n-triples": ["nt"], "application/node": ["cjs"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/p2p-overlay+xml": ["relo"], "application/patch-ops-error+xml": ["xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-keys": ["asc"], "application/pgp-signature": ["sig", "*asc"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/provenance+xml": ["provx"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf", "owl"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/route-apd+xml": ["rapd"], "application/route-s-tsid+xml": ["sls"], "application/route-usd+xml": ["rusd"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/senml+xml": ["senmlx"], "application/sensml+xml": ["sensmlx"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/sieve": ["siv", "sieve"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/sql": ["sql"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/swid+xml": ["swidtag"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/toml": ["toml"], "application/trig": ["trig"], "application/ttml+xml": ["ttml"], "application/ubjson": ["ubj"], "application/urc-ressheet+xml": ["rsheet"], "application/urc-targetdesc+xml": ["td"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/watcherinfo+xml": ["wif"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/xaml+xml": ["xaml"], "application/xcap-att+xml": ["xav"], "application/xcap-caps+xml": ["xca"], "application/xcap-diff+xml": ["xdf"], "application/xcap-el+xml": ["xel"], "application/xcap-ns+xml": ["xns"], "application/xenc+xml": ["xenc"], "application/xfdf": ["xfdf"], "application/xhtml+xml": ["xhtml", "xht"], "application/xliff+xml": ["xlf"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["*xsl", "xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": ["*3gpp"], "audio/aac": ["adts", "aac"], "audio/adpcm": ["adp"], "audio/amr": ["amr"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mobile-xmf": ["mxmf"], "audio/mp3": ["*mp3"], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx", "opus"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/wav": ["wav"], "audio/wave": ["*wav"], "audio/webm": ["weba"], "audio/xm": ["xm"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/aces": ["exr"], "image/apng": ["apng"], "image/avci": ["avci"], "image/avcs": ["avcs"], "image/avif": ["avif"], "image/bmp": ["bmp", "dib"], "image/cgm": ["cgm"], "image/dicom-rle": ["drle"], "image/dpx": ["dpx"], "image/emf": ["emf"], "image/fits": ["fits"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/heic": ["heic"], "image/heic-sequence": ["heics"], "image/heif": ["heif"], "image/heif-sequence": ["heifs"], "image/hej2k": ["hej2"], "image/hsj2": ["hsj2"], "image/ief": ["ief"], "image/jls": ["jls"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jph": ["jph"], "image/jphc": ["jhc"], "image/jpm": ["jpm", "jpgm"], "image/jpx": ["jpx", "jpf"], "image/jxl": ["jxl"], "image/jxr": ["jxr"], "image/jxra": ["jxra"], "image/jxrs": ["jxrs"], "image/jxs": ["jxs"], "image/jxsc": ["jxsc"], "image/jxsi": ["jxsi"], "image/jxss": ["jxss"], "image/ktx": ["ktx"], "image/ktx2": ["ktx2"], "image/png": ["png"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/t38": ["t38"], "image/tiff": ["tif", "tiff"], "image/tiff-fx": ["tfx"], "image/webp": ["webp"], "image/wmf": ["wmf"], "message/disposition-notification": ["disposition-notification"], "message/global": ["u8msg"], "message/global-delivery-status": ["u8dsn"], "message/global-disposition-notification": ["u8mdn"], "message/global-headers": ["u8hdr"], "message/rfc822": ["eml", "mime"], "model/3mf": ["3mf"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/jt": ["jt"], "model/mesh": ["msh", "mesh", "silo"], "model/mtl": ["mtl"], "model/obj": ["obj"], "model/prc": ["prc"], "model/step+xml": ["stpx"], "model/step+zip": ["stpz"], "model/step-xml+zip": ["stpxz"], "model/stl": ["stl"], "model/u3d": ["u3d"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["*x3db", "x3dbz"], "model/x3d+fastinfoset": ["x3db"], "model/x3d+vrml": ["*x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "model/x3d-vrml": ["x3dv"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/javascript": ["js", "mjs"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["md", "markdown"], "text/mathml": ["mml"], "text/mdx": ["mdx"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/richtext": ["rtx"], "text/rtf": ["*rtf"], "text/sgml": ["sgml", "sgm"], "text/shex": ["shex"], "text/slim": ["slim", "slm"], "text/spdx": ["spdx"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vtt": ["vtt"], "text/wgsl": ["wgsl"], "text/xml": ["*xml"], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/iso.segment": ["m4s"], "video/jpeg": ["jpgv"], "video/jpm": ["*jpm", "*jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts", "m2t", "m2ts", "mts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/webm": ["webm"] };
|
|
3474
|
-
Object.freeze(
|
|
3475
|
-
var
|
|
3471
|
+
const Us = Vr(Xs.exports = $i()), zi = { "application/prs.cww": ["cww"], "application/prs.xsf+xml": ["xsf"], "application/vnd.1000minds.decision-model+xml": ["1km"], "application/vnd.3gpp.pic-bw-large": ["plb"], "application/vnd.3gpp.pic-bw-small": ["psb"], "application/vnd.3gpp.pic-bw-var": ["pvb"], "application/vnd.3gpp2.tcap": ["tcap"], "application/vnd.3m.post-it-notes": ["pwn"], "application/vnd.accpac.simply.aso": ["aso"], "application/vnd.accpac.simply.imp": ["imp"], "application/vnd.acucobol": ["acu"], "application/vnd.acucorp": ["atc", "acutc"], "application/vnd.adobe.air-application-installer-package+zip": ["air"], "application/vnd.adobe.formscentral.fcdt": ["fcdt"], "application/vnd.adobe.fxp": ["fxp", "fxpl"], "application/vnd.adobe.xdp+xml": ["xdp"], "application/vnd.adobe.xfdf": ["*xfdf"], "application/vnd.age": ["age"], "application/vnd.ahead.space": ["ahead"], "application/vnd.airzip.filesecure.azf": ["azf"], "application/vnd.airzip.filesecure.azs": ["azs"], "application/vnd.amazon.ebook": ["azw"], "application/vnd.americandynamics.acc": ["acc"], "application/vnd.amiga.ami": ["ami"], "application/vnd.android.package-archive": ["apk"], "application/vnd.anser-web-certificate-issue-initiation": ["cii"], "application/vnd.anser-web-funds-transfer-initiation": ["fti"], "application/vnd.antix.game-component": ["atx"], "application/vnd.apple.installer+xml": ["mpkg"], "application/vnd.apple.keynote": ["key"], "application/vnd.apple.mpegurl": ["m3u8"], "application/vnd.apple.numbers": ["numbers"], "application/vnd.apple.pages": ["pages"], "application/vnd.apple.pkpass": ["pkpass"], "application/vnd.aristanetworks.swi": ["swi"], "application/vnd.astraea-software.iota": ["iota"], "application/vnd.audiograph": ["aep"], "application/vnd.balsamiq.bmml+xml": ["bmml"], "application/vnd.blueice.multipass": ["mpm"], "application/vnd.bmi": ["bmi"], "application/vnd.businessobjects": ["rep"], "application/vnd.chemdraw+xml": ["cdxml"], "application/vnd.chipnuts.karaoke-mmd": ["mmd"], "application/vnd.cinderella": ["cdy"], "application/vnd.citationstyles.style+xml": ["csl"], "application/vnd.claymore": ["cla"], "application/vnd.cloanto.rp9": ["rp9"], "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"], "application/vnd.cluetrust.cartomobile-config": ["c11amc"], "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"], "application/vnd.commonspace": ["csp"], "application/vnd.contact.cmsg": ["cdbcmsg"], "application/vnd.cosmocaller": ["cmc"], "application/vnd.crick.clicker": ["clkx"], "application/vnd.crick.clicker.keyboard": ["clkk"], "application/vnd.crick.clicker.palette": ["clkp"], "application/vnd.crick.clicker.template": ["clkt"], "application/vnd.crick.clicker.wordbank": ["clkw"], "application/vnd.criticaltools.wbs+xml": ["wbs"], "application/vnd.ctc-posml": ["pml"], "application/vnd.cups-ppd": ["ppd"], "application/vnd.curl.car": ["car"], "application/vnd.curl.pcurl": ["pcurl"], "application/vnd.dart": ["dart"], "application/vnd.data-vision.rdz": ["rdz"], "application/vnd.dbf": ["dbf"], "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"], "application/vnd.dece.ttml+xml": ["uvt", "uvvt"], "application/vnd.dece.unspecified": ["uvx", "uvvx"], "application/vnd.dece.zip": ["uvz", "uvvz"], "application/vnd.denovo.fcselayout-link": ["fe_launch"], "application/vnd.dna": ["dna"], "application/vnd.dolby.mlp": ["mlp"], "application/vnd.dpgraph": ["dpg"], "application/vnd.dreamfactory": ["dfac"], "application/vnd.ds-keypoint": ["kpxx"], "application/vnd.dvb.ait": ["ait"], "application/vnd.dvb.service": ["svc"], "application/vnd.dynageo": ["geo"], "application/vnd.ecowin.chart": ["mag"], "application/vnd.enliven": ["nml"], "application/vnd.epson.esf": ["esf"], "application/vnd.epson.msf": ["msf"], "application/vnd.epson.quickanime": ["qam"], "application/vnd.epson.salt": ["slt"], "application/vnd.epson.ssf": ["ssf"], "application/vnd.eszigno3+xml": ["es3", "et3"], "application/vnd.ezpix-album": ["ez2"], "application/vnd.ezpix-package": ["ez3"], "application/vnd.fdf": ["*fdf"], "application/vnd.fdsn.mseed": ["mseed"], "application/vnd.fdsn.seed": ["seed", "dataless"], "application/vnd.flographit": ["gph"], "application/vnd.fluxtime.clip": ["ftc"], "application/vnd.framemaker": ["fm", "frame", "maker", "book"], "application/vnd.frogans.fnc": ["fnc"], "application/vnd.frogans.ltf": ["ltf"], "application/vnd.fsc.weblaunch": ["fsc"], "application/vnd.fujitsu.oasys": ["oas"], "application/vnd.fujitsu.oasys2": ["oa2"], "application/vnd.fujitsu.oasys3": ["oa3"], "application/vnd.fujitsu.oasysgp": ["fg5"], "application/vnd.fujitsu.oasysprs": ["bh2"], "application/vnd.fujixerox.ddd": ["ddd"], "application/vnd.fujixerox.docuworks": ["xdw"], "application/vnd.fujixerox.docuworks.binder": ["xbd"], "application/vnd.fuzzysheet": ["fzs"], "application/vnd.genomatix.tuxedo": ["txd"], "application/vnd.geogebra.file": ["ggb"], "application/vnd.geogebra.slides": ["ggs"], "application/vnd.geogebra.tool": ["ggt"], "application/vnd.geometry-explorer": ["gex", "gre"], "application/vnd.geonext": ["gxt"], "application/vnd.geoplan": ["g2w"], "application/vnd.geospace": ["g3w"], "application/vnd.gmx": ["gmx"], "application/vnd.google-apps.document": ["gdoc"], "application/vnd.google-apps.presentation": ["gslides"], "application/vnd.google-apps.spreadsheet": ["gsheet"], "application/vnd.google-earth.kml+xml": ["kml"], "application/vnd.google-earth.kmz": ["kmz"], "application/vnd.gov.sk.xmldatacontainer+xml": ["xdcf"], "application/vnd.grafeq": ["gqf", "gqs"], "application/vnd.groove-account": ["gac"], "application/vnd.groove-help": ["ghf"], "application/vnd.groove-identity-message": ["gim"], "application/vnd.groove-injector": ["grv"], "application/vnd.groove-tool-message": ["gtm"], "application/vnd.groove-tool-template": ["tpl"], "application/vnd.groove-vcard": ["vcg"], "application/vnd.hal+xml": ["hal"], "application/vnd.handheld-entertainment+xml": ["zmm"], "application/vnd.hbci": ["hbci"], "application/vnd.hhe.lesson-player": ["les"], "application/vnd.hp-hpgl": ["hpgl"], "application/vnd.hp-hpid": ["hpid"], "application/vnd.hp-hps": ["hps"], "application/vnd.hp-jlyt": ["jlt"], "application/vnd.hp-pcl": ["pcl"], "application/vnd.hp-pclxl": ["pclxl"], "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"], "application/vnd.ibm.minipay": ["mpy"], "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"], "application/vnd.ibm.rights-management": ["irm"], "application/vnd.ibm.secure-container": ["sc"], "application/vnd.iccprofile": ["icc", "icm"], "application/vnd.igloader": ["igl"], "application/vnd.immervision-ivp": ["ivp"], "application/vnd.immervision-ivu": ["ivu"], "application/vnd.insors.igm": ["igm"], "application/vnd.intercon.formnet": ["xpw", "xpx"], "application/vnd.intergeo": ["i2g"], "application/vnd.intu.qbo": ["qbo"], "application/vnd.intu.qfx": ["qfx"], "application/vnd.ipunplugged.rcprofile": ["rcprofile"], "application/vnd.irepository.package+xml": ["irp"], "application/vnd.is-xpr": ["xpr"], "application/vnd.isac.fcs": ["fcs"], "application/vnd.jam": ["jam"], "application/vnd.jcp.javame.midlet-rms": ["rms"], "application/vnd.jisp": ["jisp"], "application/vnd.joost.joda-archive": ["joda"], "application/vnd.kahootz": ["ktz", "ktr"], "application/vnd.kde.karbon": ["karbon"], "application/vnd.kde.kchart": ["chrt"], "application/vnd.kde.kformula": ["kfo"], "application/vnd.kde.kivio": ["flw"], "application/vnd.kde.kontour": ["kon"], "application/vnd.kde.kpresenter": ["kpr", "kpt"], "application/vnd.kde.kspread": ["ksp"], "application/vnd.kde.kword": ["kwd", "kwt"], "application/vnd.kenameaapp": ["htke"], "application/vnd.kidspiration": ["kia"], "application/vnd.kinar": ["kne", "knp"], "application/vnd.koan": ["skp", "skd", "skt", "skm"], "application/vnd.kodak-descriptor": ["sse"], "application/vnd.las.las+xml": ["lasxml"], "application/vnd.llamagraphics.life-balance.desktop": ["lbd"], "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"], "application/vnd.lotus-1-2-3": ["123"], "application/vnd.lotus-approach": ["apr"], "application/vnd.lotus-freelance": ["pre"], "application/vnd.lotus-notes": ["nsf"], "application/vnd.lotus-organizer": ["org"], "application/vnd.lotus-screencam": ["scm"], "application/vnd.lotus-wordpro": ["lwp"], "application/vnd.macports.portpkg": ["portpkg"], "application/vnd.mapbox-vector-tile": ["mvt"], "application/vnd.mcd": ["mcd"], "application/vnd.medcalcdata": ["mc1"], "application/vnd.mediastation.cdkey": ["cdkey"], "application/vnd.mfer": ["mwf"], "application/vnd.mfmp": ["mfm"], "application/vnd.micrografx.flo": ["flo"], "application/vnd.micrografx.igx": ["igx"], "application/vnd.mif": ["mif"], "application/vnd.mobius.daf": ["daf"], "application/vnd.mobius.dis": ["dis"], "application/vnd.mobius.mbk": ["mbk"], "application/vnd.mobius.mqy": ["mqy"], "application/vnd.mobius.msl": ["msl"], "application/vnd.mobius.plc": ["plc"], "application/vnd.mobius.txf": ["txf"], "application/vnd.mophun.application": ["mpn"], "application/vnd.mophun.certificate": ["mpc"], "application/vnd.mozilla.xul+xml": ["xul"], "application/vnd.ms-artgalry": ["cil"], "application/vnd.ms-cab-compressed": ["cab"], "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"], "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"], "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"], "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"], "application/vnd.ms-excel.template.macroenabled.12": ["xltm"], "application/vnd.ms-fontobject": ["eot"], "application/vnd.ms-htmlhelp": ["chm"], "application/vnd.ms-ims": ["ims"], "application/vnd.ms-lrm": ["lrm"], "application/vnd.ms-officetheme": ["thmx"], "application/vnd.ms-outlook": ["msg"], "application/vnd.ms-pki.seccat": ["cat"], "application/vnd.ms-pki.stl": ["*stl"], "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"], "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"], "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"], "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"], "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"], "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"], "application/vnd.ms-project": ["*mpp", "mpt"], "application/vnd.ms-word.document.macroenabled.12": ["docm"], "application/vnd.ms-word.template.macroenabled.12": ["dotm"], "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"], "application/vnd.ms-wpl": ["wpl"], "application/vnd.ms-xpsdocument": ["xps"], "application/vnd.mseq": ["mseq"], "application/vnd.musician": ["mus"], "application/vnd.muvee.style": ["msty"], "application/vnd.mynfc": ["taglet"], "application/vnd.nato.bindingdataobject+xml": ["bdo"], "application/vnd.neurolanguage.nlu": ["nlu"], "application/vnd.nitf": ["ntf", "nitf"], "application/vnd.noblenet-directory": ["nnd"], "application/vnd.noblenet-sealer": ["nns"], "application/vnd.noblenet-web": ["nnw"], "application/vnd.nokia.n-gage.ac+xml": ["*ac"], "application/vnd.nokia.n-gage.data": ["ngdat"], "application/vnd.nokia.n-gage.symbian.install": ["n-gage"], "application/vnd.nokia.radio-preset": ["rpst"], "application/vnd.nokia.radio-presets": ["rpss"], "application/vnd.novadigm.edm": ["edm"], "application/vnd.novadigm.edx": ["edx"], "application/vnd.novadigm.ext": ["ext"], "application/vnd.oasis.opendocument.chart": ["odc"], "application/vnd.oasis.opendocument.chart-template": ["otc"], "application/vnd.oasis.opendocument.database": ["odb"], "application/vnd.oasis.opendocument.formula": ["odf"], "application/vnd.oasis.opendocument.formula-template": ["odft"], "application/vnd.oasis.opendocument.graphics": ["odg"], "application/vnd.oasis.opendocument.graphics-template": ["otg"], "application/vnd.oasis.opendocument.image": ["odi"], "application/vnd.oasis.opendocument.image-template": ["oti"], "application/vnd.oasis.opendocument.presentation": ["odp"], "application/vnd.oasis.opendocument.presentation-template": ["otp"], "application/vnd.oasis.opendocument.spreadsheet": ["ods"], "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"], "application/vnd.oasis.opendocument.text": ["odt"], "application/vnd.oasis.opendocument.text-master": ["odm"], "application/vnd.oasis.opendocument.text-template": ["ott"], "application/vnd.oasis.opendocument.text-web": ["oth"], "application/vnd.olpc-sugar": ["xo"], "application/vnd.oma.dd2+xml": ["dd2"], "application/vnd.openblox.game+xml": ["obgx"], "application/vnd.openofficeorg.extension": ["oxt"], "application/vnd.openstreetmap.data+xml": ["osm"], "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"], "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"], "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"], "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"], "application/vnd.osgeo.mapguide.package": ["mgp"], "application/vnd.osgi.dp": ["dp"], "application/vnd.osgi.subsystem": ["esa"], "application/vnd.palm": ["pdb", "pqa", "oprc"], "application/vnd.pawaafile": ["paw"], "application/vnd.pg.format": ["str"], "application/vnd.pg.osasli": ["ei6"], "application/vnd.picsel": ["efif"], "application/vnd.pmi.widget": ["wg"], "application/vnd.pocketlearn": ["plf"], "application/vnd.powerbuilder6": ["pbd"], "application/vnd.previewsystems.box": ["box"], "application/vnd.proteus.magazine": ["mgz"], "application/vnd.publishare-delta-tree": ["qps"], "application/vnd.pvi.ptid1": ["ptid"], "application/vnd.pwg-xhtml-print+xml": ["xhtm"], "application/vnd.quark.quarkxpress": ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"], "application/vnd.rar": ["rar"], "application/vnd.realvnc.bed": ["bed"], "application/vnd.recordare.musicxml": ["mxl"], "application/vnd.recordare.musicxml+xml": ["musicxml"], "application/vnd.rig.cryptonote": ["cryptonote"], "application/vnd.rim.cod": ["cod"], "application/vnd.rn-realmedia": ["rm"], "application/vnd.rn-realmedia-vbr": ["rmvb"], "application/vnd.route66.link66+xml": ["link66"], "application/vnd.sailingtracker.track": ["st"], "application/vnd.seemail": ["see"], "application/vnd.sema": ["sema"], "application/vnd.semd": ["semd"], "application/vnd.semf": ["semf"], "application/vnd.shana.informed.formdata": ["ifm"], "application/vnd.shana.informed.formtemplate": ["itp"], "application/vnd.shana.informed.interchange": ["iif"], "application/vnd.shana.informed.package": ["ipk"], "application/vnd.simtech-mindmapper": ["twd", "twds"], "application/vnd.smaf": ["mmf"], "application/vnd.smart.teacher": ["teacher"], "application/vnd.software602.filler.form+xml": ["fo"], "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"], "application/vnd.spotfire.dxp": ["dxp"], "application/vnd.spotfire.sfs": ["sfs"], "application/vnd.stardivision.calc": ["sdc"], "application/vnd.stardivision.draw": ["sda"], "application/vnd.stardivision.impress": ["sdd"], "application/vnd.stardivision.math": ["smf"], "application/vnd.stardivision.writer": ["sdw", "vor"], "application/vnd.stardivision.writer-global": ["sgl"], "application/vnd.stepmania.package": ["smzip"], "application/vnd.stepmania.stepchart": ["sm"], "application/vnd.sun.wadl+xml": ["wadl"], "application/vnd.sun.xml.calc": ["sxc"], "application/vnd.sun.xml.calc.template": ["stc"], "application/vnd.sun.xml.draw": ["sxd"], "application/vnd.sun.xml.draw.template": ["std"], "application/vnd.sun.xml.impress": ["sxi"], "application/vnd.sun.xml.impress.template": ["sti"], "application/vnd.sun.xml.math": ["sxm"], "application/vnd.sun.xml.writer": ["sxw"], "application/vnd.sun.xml.writer.global": ["sxg"], "application/vnd.sun.xml.writer.template": ["stw"], "application/vnd.sus-calendar": ["sus", "susp"], "application/vnd.svd": ["svd"], "application/vnd.symbian.install": ["sis", "sisx"], "application/vnd.syncml+xml": ["xsm"], "application/vnd.syncml.dm+wbxml": ["bdm"], "application/vnd.syncml.dm+xml": ["xdm"], "application/vnd.syncml.dmddf+xml": ["ddf"], "application/vnd.tao.intent-module-archive": ["tao"], "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"], "application/vnd.tmobile-livetv": ["tmo"], "application/vnd.trid.tpt": ["tpt"], "application/vnd.triscape.mxs": ["mxs"], "application/vnd.trueapp": ["tra"], "application/vnd.ufdl": ["ufd", "ufdl"], "application/vnd.uiq.theme": ["utz"], "application/vnd.umajin": ["umj"], "application/vnd.unity": ["unityweb"], "application/vnd.uoml+xml": ["uoml", "uo"], "application/vnd.vcx": ["vcx"], "application/vnd.visio": ["vsd", "vst", "vss", "vsw"], "application/vnd.visionary": ["vis"], "application/vnd.vsf": ["vsf"], "application/vnd.wap.wbxml": ["wbxml"], "application/vnd.wap.wmlc": ["wmlc"], "application/vnd.wap.wmlscriptc": ["wmlsc"], "application/vnd.webturbo": ["wtb"], "application/vnd.wolfram.player": ["nbp"], "application/vnd.wordperfect": ["wpd"], "application/vnd.wqd": ["wqd"], "application/vnd.wt.stf": ["stf"], "application/vnd.xara": ["xar"], "application/vnd.xfdl": ["xfdl"], "application/vnd.yamaha.hv-dic": ["hvd"], "application/vnd.yamaha.hv-script": ["hvs"], "application/vnd.yamaha.hv-voice": ["hvp"], "application/vnd.yamaha.openscoreformat": ["osf"], "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"], "application/vnd.yamaha.smaf-audio": ["saf"], "application/vnd.yamaha.smaf-phrase": ["spf"], "application/vnd.yellowriver-custom-menu": ["cmp"], "application/vnd.zul": ["zir", "zirz"], "application/vnd.zzazz.deck+xml": ["zaz"], "application/x-7z-compressed": ["7z"], "application/x-abiword": ["abw"], "application/x-ace-compressed": ["ace"], "application/x-apple-diskimage": ["*dmg"], "application/x-arj": ["arj"], "application/x-authorware-bin": ["aab", "x32", "u32", "vox"], "application/x-authorware-map": ["aam"], "application/x-authorware-seg": ["aas"], "application/x-bcpio": ["bcpio"], "application/x-bdoc": ["*bdoc"], "application/x-bittorrent": ["torrent"], "application/x-blorb": ["blb", "blorb"], "application/x-bzip": ["bz"], "application/x-bzip2": ["bz2", "boz"], "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"], "application/x-cdlink": ["vcd"], "application/x-cfs-compressed": ["cfs"], "application/x-chat": ["chat"], "application/x-chess-pgn": ["pgn"], "application/x-chrome-extension": ["crx"], "application/x-cocoa": ["cco"], "application/x-conference": ["nsc"], "application/x-cpio": ["cpio"], "application/x-csh": ["csh"], "application/x-debian-package": ["*deb", "udeb"], "application/x-dgc-compressed": ["dgc"], "application/x-director": ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"], "application/x-doom": ["wad"], "application/x-dtbncx+xml": ["ncx"], "application/x-dtbook+xml": ["dtb"], "application/x-dtbresource+xml": ["res"], "application/x-dvi": ["dvi"], "application/x-envoy": ["evy"], "application/x-eva": ["eva"], "application/x-font-bdf": ["bdf"], "application/x-font-ghostscript": ["gsf"], "application/x-font-linux-psf": ["psf"], "application/x-font-pcf": ["pcf"], "application/x-font-snf": ["snf"], "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"], "application/x-freearc": ["arc"], "application/x-futuresplash": ["spl"], "application/x-gca-compressed": ["gca"], "application/x-glulx": ["ulx"], "application/x-gnumeric": ["gnumeric"], "application/x-gramps-xml": ["gramps"], "application/x-gtar": ["gtar"], "application/x-hdf": ["hdf"], "application/x-httpd-php": ["php"], "application/x-install-instructions": ["install"], "application/x-iso9660-image": ["*iso"], "application/x-iwork-keynote-sffkey": ["*key"], "application/x-iwork-numbers-sffnumbers": ["*numbers"], "application/x-iwork-pages-sffpages": ["*pages"], "application/x-java-archive-diff": ["jardiff"], "application/x-java-jnlp-file": ["jnlp"], "application/x-keepass2": ["kdbx"], "application/x-latex": ["latex"], "application/x-lua-bytecode": ["luac"], "application/x-lzh-compressed": ["lzh", "lha"], "application/x-makeself": ["run"], "application/x-mie": ["mie"], "application/x-mobipocket-ebook": ["*prc", "mobi"], "application/x-ms-application": ["application"], "application/x-ms-shortcut": ["lnk"], "application/x-ms-wmd": ["wmd"], "application/x-ms-wmz": ["wmz"], "application/x-ms-xbap": ["xbap"], "application/x-msaccess": ["mdb"], "application/x-msbinder": ["obd"], "application/x-mscardfile": ["crd"], "application/x-msclip": ["clp"], "application/x-msdos-program": ["*exe"], "application/x-msdownload": ["*exe", "*dll", "com", "bat", "*msi"], "application/x-msmediaview": ["mvb", "m13", "m14"], "application/x-msmetafile": ["*wmf", "*wmz", "*emf", "emz"], "application/x-msmoney": ["mny"], "application/x-mspublisher": ["pub"], "application/x-msschedule": ["scd"], "application/x-msterminal": ["trm"], "application/x-mswrite": ["wri"], "application/x-netcdf": ["nc", "cdf"], "application/x-ns-proxy-autoconfig": ["pac"], "application/x-nzb": ["nzb"], "application/x-perl": ["pl", "pm"], "application/x-pilot": ["*prc", "*pdb"], "application/x-pkcs12": ["p12", "pfx"], "application/x-pkcs7-certificates": ["p7b", "spc"], "application/x-pkcs7-certreqresp": ["p7r"], "application/x-rar-compressed": ["*rar"], "application/x-redhat-package-manager": ["rpm"], "application/x-research-info-systems": ["ris"], "application/x-sea": ["sea"], "application/x-sh": ["sh"], "application/x-shar": ["shar"], "application/x-shockwave-flash": ["swf"], "application/x-silverlight-app": ["xap"], "application/x-sql": ["*sql"], "application/x-stuffit": ["sit"], "application/x-stuffitx": ["sitx"], "application/x-subrip": ["srt"], "application/x-sv4cpio": ["sv4cpio"], "application/x-sv4crc": ["sv4crc"], "application/x-t3vm-image": ["t3"], "application/x-tads": ["gam"], "application/x-tar": ["tar"], "application/x-tcl": ["tcl", "tk"], "application/x-tex": ["tex"], "application/x-tex-tfm": ["tfm"], "application/x-texinfo": ["texinfo", "texi"], "application/x-tgif": ["*obj"], "application/x-ustar": ["ustar"], "application/x-virtualbox-hdd": ["hdd"], "application/x-virtualbox-ova": ["ova"], "application/x-virtualbox-ovf": ["ovf"], "application/x-virtualbox-vbox": ["vbox"], "application/x-virtualbox-vbox-extpack": ["vbox-extpack"], "application/x-virtualbox-vdi": ["vdi"], "application/x-virtualbox-vhd": ["vhd"], "application/x-virtualbox-vmdk": ["vmdk"], "application/x-wais-source": ["src"], "application/x-web-app-manifest+json": ["webapp"], "application/x-x509-ca-cert": ["der", "crt", "pem"], "application/x-xfig": ["fig"], "application/x-xliff+xml": ["*xlf"], "application/x-xpinstall": ["xpi"], "application/x-xz": ["xz"], "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"], "audio/vnd.dece.audio": ["uva", "uvva"], "audio/vnd.digital-winds": ["eol"], "audio/vnd.dra": ["dra"], "audio/vnd.dts": ["dts"], "audio/vnd.dts.hd": ["dtshd"], "audio/vnd.lucent.voice": ["lvp"], "audio/vnd.ms-playready.media.pya": ["pya"], "audio/vnd.nuera.ecelp4800": ["ecelp4800"], "audio/vnd.nuera.ecelp7470": ["ecelp7470"], "audio/vnd.nuera.ecelp9600": ["ecelp9600"], "audio/vnd.rip": ["rip"], "audio/x-aac": ["*aac"], "audio/x-aiff": ["aif", "aiff", "aifc"], "audio/x-caf": ["caf"], "audio/x-flac": ["flac"], "audio/x-m4a": ["*m4a"], "audio/x-matroska": ["mka"], "audio/x-mpegurl": ["m3u"], "audio/x-ms-wax": ["wax"], "audio/x-ms-wma": ["wma"], "audio/x-pn-realaudio": ["ram", "ra"], "audio/x-pn-realaudio-plugin": ["rmp"], "audio/x-realaudio": ["*ra"], "audio/x-wav": ["*wav"], "chemical/x-cdx": ["cdx"], "chemical/x-cif": ["cif"], "chemical/x-cmdf": ["cmdf"], "chemical/x-cml": ["cml"], "chemical/x-csml": ["csml"], "chemical/x-xyz": ["xyz"], "image/prs.btif": ["btif", "btf"], "image/prs.pti": ["pti"], "image/vnd.adobe.photoshop": ["psd"], "image/vnd.airzip.accelerator.azv": ["azv"], "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"], "image/vnd.djvu": ["djvu", "djv"], "image/vnd.dvb.subtitle": ["*sub"], "image/vnd.dwg": ["dwg"], "image/vnd.dxf": ["dxf"], "image/vnd.fastbidsheet": ["fbs"], "image/vnd.fpx": ["fpx"], "image/vnd.fst": ["fst"], "image/vnd.fujixerox.edmics-mmr": ["mmr"], "image/vnd.fujixerox.edmics-rlc": ["rlc"], "image/vnd.microsoft.icon": ["ico"], "image/vnd.ms-dds": ["dds"], "image/vnd.ms-modi": ["mdi"], "image/vnd.ms-photo": ["wdp"], "image/vnd.net-fpx": ["npx"], "image/vnd.pco.b16": ["b16"], "image/vnd.tencent.tap": ["tap"], "image/vnd.valve.source.texture": ["vtf"], "image/vnd.wap.wbmp": ["wbmp"], "image/vnd.xiff": ["xif"], "image/vnd.zbrush.pcx": ["pcx"], "image/x-3ds": ["3ds"], "image/x-cmu-raster": ["ras"], "image/x-cmx": ["cmx"], "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"], "image/x-icon": ["*ico"], "image/x-jng": ["jng"], "image/x-mrsid-image": ["sid"], "image/x-ms-bmp": ["*bmp"], "image/x-pcx": ["*pcx"], "image/x-pict": ["pic", "pct"], "image/x-portable-anymap": ["pnm"], "image/x-portable-bitmap": ["pbm"], "image/x-portable-graymap": ["pgm"], "image/x-portable-pixmap": ["ppm"], "image/x-rgb": ["rgb"], "image/x-tga": ["tga"], "image/x-xbitmap": ["xbm"], "image/x-xpixmap": ["xpm"], "image/x-xwindowdump": ["xwd"], "message/vnd.wfa.wsc": ["wsc"], "model/vnd.bary": ["bary"], "model/vnd.cld": ["cld"], "model/vnd.collada+xml": ["dae"], "model/vnd.dwf": ["dwf"], "model/vnd.gdl": ["gdl"], "model/vnd.gtw": ["gtw"], "model/vnd.mts": ["*mts"], "model/vnd.opengex": ["ogex"], "model/vnd.parasolid.transmit.binary": ["x_b"], "model/vnd.parasolid.transmit.text": ["x_t"], "model/vnd.pytha.pyox": ["pyo", "pyox"], "model/vnd.sap.vds": ["vds"], "model/vnd.usda": ["usda"], "model/vnd.usdz+zip": ["usdz"], "model/vnd.valve.source.compiled-map": ["bsp"], "model/vnd.vtu": ["vtu"], "text/prs.lines.tag": ["dsc"], "text/vnd.curl": ["curl"], "text/vnd.curl.dcurl": ["dcurl"], "text/vnd.curl.mcurl": ["mcurl"], "text/vnd.curl.scurl": ["scurl"], "text/vnd.dvb.subtitle": ["sub"], "text/vnd.familysearch.gedcom": ["ged"], "text/vnd.fly": ["fly"], "text/vnd.fmi.flexstor": ["flx"], "text/vnd.graphviz": ["gv"], "text/vnd.in3d.3dml": ["3dml"], "text/vnd.in3d.spot": ["spot"], "text/vnd.sun.j2me.app-descriptor": ["jad"], "text/vnd.wap.wml": ["wml"], "text/vnd.wap.wmlscript": ["wmls"], "text/x-asm": ["s", "asm"], "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"], "text/x-component": ["htc"], "text/x-fortran": ["f", "for", "f77", "f90"], "text/x-handlebars-template": ["hbs"], "text/x-java-source": ["java"], "text/x-lua": ["lua"], "text/x-markdown": ["mkd"], "text/x-nfo": ["nfo"], "text/x-opml": ["opml"], "text/x-org": ["*org"], "text/x-pascal": ["p", "pas"], "text/x-processing": ["pde"], "text/x-sass": ["sass"], "text/x-scss": ["scss"], "text/x-setext": ["etx"], "text/x-sfv": ["sfv"], "text/x-suse-ymp": ["ymp"], "text/x-uuencode": ["uu"], "text/x-vcalendar": ["vcs"], "text/x-vcard": ["vcf"], "video/vnd.dece.hd": ["uvh", "uvvh"], "video/vnd.dece.mobile": ["uvm", "uvvm"], "video/vnd.dece.pd": ["uvp", "uvvp"], "video/vnd.dece.sd": ["uvs", "uvvs"], "video/vnd.dece.video": ["uvv", "uvvv"], "video/vnd.dvb.file": ["dvb"], "video/vnd.fvt": ["fvt"], "video/vnd.mpegurl": ["mxu", "m4u"], "video/vnd.ms-playready.media.pyv": ["pyv"], "video/vnd.uvvu.mp4": ["uvu", "uvvu"], "video/vnd.vivo": ["viv"], "video/x-f4v": ["f4v"], "video/x-fli": ["fli"], "video/x-flv": ["flv"], "video/x-m4v": ["m4v"], "video/x-matroska": ["mkv", "mk3d", "mks"], "video/x-mng": ["mng"], "video/x-ms-asf": ["asf", "asx"], "video/x-ms-vob": ["vob"], "video/x-ms-wm": ["wm"], "video/x-ms-wmv": ["wmv"], "video/x-ms-wmx": ["wmx"], "video/x-ms-wvx": ["wvx"], "video/x-msvideo": ["avi"], "video/x-sgi-movie": ["movie"], "video/x-smv": ["smv"], "x-conference/x-cooltalk": ["ice"] };
|
|
3472
|
+
Object.freeze(zi);
|
|
3473
|
+
const Ii = { "application/andrew-inset": ["ez"], "application/appinstaller": ["appinstaller"], "application/applixware": ["aw"], "application/appx": ["appx"], "application/appxbundle": ["appxbundle"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomdeleted+xml": ["atomdeleted"], "application/atomsvc+xml": ["atomsvc"], "application/atsc-dwd+xml": ["dwd"], "application/atsc-held+xml": ["held"], "application/atsc-rsat+xml": ["rsat"], "application/automationml-aml+xml": ["aml"], "application/automationml-amlx+zip": ["amlx"], "application/bdoc": ["bdoc"], "application/calendar+xml": ["xcs"], "application/ccxml+xml": ["ccxml"], "application/cdfx+xml": ["cdfx"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cpl+xml": ["cpl"], "application/cu-seeme": ["cu"], "application/cwl": ["cwl"], "application/dash+xml": ["mpd"], "application/dash-patch+xml": ["mpp"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma"], "application/emma+xml": ["emma"], "application/emotionml+xml": ["emotionml"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/express": ["exp"], "application/fdf": ["fdf"], "application/fdt+xml": ["fdt"], "application/font-tdpfr": ["pfr"], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hjson": ["hjson"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/its+xml": ["its"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["*js"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lgr+xml": ["lgr"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/media-policy-dataset+xml": ["mpf"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mmt-aei+xml": ["maei"], "application/mmt-usd+xml": ["musd"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["*mp4", "*mpg4", "mp4s", "m4p"], "application/msix": ["msix"], "application/msixbundle": ["msixbundle"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/n-quads": ["nq"], "application/n-triples": ["nt"], "application/node": ["cjs"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/p2p-overlay+xml": ["relo"], "application/patch-ops-error+xml": ["xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-keys": ["asc"], "application/pgp-signature": ["sig", "*asc"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/provenance+xml": ["provx"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf", "owl"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/route-apd+xml": ["rapd"], "application/route-s-tsid+xml": ["sls"], "application/route-usd+xml": ["rusd"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/senml+xml": ["senmlx"], "application/sensml+xml": ["sensmlx"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/sieve": ["siv", "sieve"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/sql": ["sql"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/swid+xml": ["swidtag"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/toml": ["toml"], "application/trig": ["trig"], "application/ttml+xml": ["ttml"], "application/ubjson": ["ubj"], "application/urc-ressheet+xml": ["rsheet"], "application/urc-targetdesc+xml": ["td"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/watcherinfo+xml": ["wif"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/xaml+xml": ["xaml"], "application/xcap-att+xml": ["xav"], "application/xcap-caps+xml": ["xca"], "application/xcap-diff+xml": ["xdf"], "application/xcap-el+xml": ["xel"], "application/xcap-ns+xml": ["xns"], "application/xenc+xml": ["xenc"], "application/xfdf": ["xfdf"], "application/xhtml+xml": ["xhtml", "xht"], "application/xliff+xml": ["xlf"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["*xsl", "xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": ["*3gpp"], "audio/aac": ["adts", "aac"], "audio/adpcm": ["adp"], "audio/amr": ["amr"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mobile-xmf": ["mxmf"], "audio/mp3": ["*mp3"], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx", "opus"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/wav": ["wav"], "audio/wave": ["*wav"], "audio/webm": ["weba"], "audio/xm": ["xm"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/aces": ["exr"], "image/apng": ["apng"], "image/avci": ["avci"], "image/avcs": ["avcs"], "image/avif": ["avif"], "image/bmp": ["bmp", "dib"], "image/cgm": ["cgm"], "image/dicom-rle": ["drle"], "image/dpx": ["dpx"], "image/emf": ["emf"], "image/fits": ["fits"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/heic": ["heic"], "image/heic-sequence": ["heics"], "image/heif": ["heif"], "image/heif-sequence": ["heifs"], "image/hej2k": ["hej2"], "image/hsj2": ["hsj2"], "image/ief": ["ief"], "image/jls": ["jls"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jph": ["jph"], "image/jphc": ["jhc"], "image/jpm": ["jpm", "jpgm"], "image/jpx": ["jpx", "jpf"], "image/jxl": ["jxl"], "image/jxr": ["jxr"], "image/jxra": ["jxra"], "image/jxrs": ["jxrs"], "image/jxs": ["jxs"], "image/jxsc": ["jxsc"], "image/jxsi": ["jxsi"], "image/jxss": ["jxss"], "image/ktx": ["ktx"], "image/ktx2": ["ktx2"], "image/png": ["png"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/t38": ["t38"], "image/tiff": ["tif", "tiff"], "image/tiff-fx": ["tfx"], "image/webp": ["webp"], "image/wmf": ["wmf"], "message/disposition-notification": ["disposition-notification"], "message/global": ["u8msg"], "message/global-delivery-status": ["u8dsn"], "message/global-disposition-notification": ["u8mdn"], "message/global-headers": ["u8hdr"], "message/rfc822": ["eml", "mime"], "model/3mf": ["3mf"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/jt": ["jt"], "model/mesh": ["msh", "mesh", "silo"], "model/mtl": ["mtl"], "model/obj": ["obj"], "model/prc": ["prc"], "model/step+xml": ["stpx"], "model/step+zip": ["stpz"], "model/step-xml+zip": ["stpxz"], "model/stl": ["stl"], "model/u3d": ["u3d"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["*x3db", "x3dbz"], "model/x3d+fastinfoset": ["x3db"], "model/x3d+vrml": ["*x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "model/x3d-vrml": ["x3dv"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/javascript": ["js", "mjs"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["md", "markdown"], "text/mathml": ["mml"], "text/mdx": ["mdx"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/richtext": ["rtx"], "text/rtf": ["*rtf"], "text/sgml": ["sgml", "sgm"], "text/shex": ["shex"], "text/slim": ["slim", "slm"], "text/spdx": ["spdx"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vtt": ["vtt"], "text/wgsl": ["wgsl"], "text/xml": ["*xml"], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/iso.segment": ["m4s"], "video/jpeg": ["jpgv"], "video/jpm": ["*jpm", "*jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts", "m2t", "m2ts", "mts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/webm": ["webm"] };
|
|
3474
|
+
Object.freeze(Ii);
|
|
3475
|
+
var Mt, an, xt, Ae = function(e, t, n, o) {
|
|
3476
3476
|
if (n === "a" && !o) throw new TypeError("Private accessor was defined without a getter");
|
|
3477
3477
|
if (typeof t == "function" ? e !== t || !o : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
3478
3478
|
return n === "m" ? o : n === "a" ? o.call(e) : o ? o.value : t.get(e);
|
|
3479
3479
|
};
|
|
3480
|
-
|
|
3480
|
+
Mt = /* @__PURE__ */ new WeakMap(), an = /* @__PURE__ */ new WeakMap(), xt = /* @__PURE__ */ new WeakMap();
|
|
3481
3481
|
const Qs = new class {
|
|
3482
3482
|
constructor(...e) {
|
|
3483
|
-
|
|
3483
|
+
Mt.set(this, /* @__PURE__ */ new Map()), an.set(this, /* @__PURE__ */ new Map()), xt.set(this, /* @__PURE__ */ new Map());
|
|
3484
3484
|
for (const t of e) this.define(t);
|
|
3485
3485
|
}
|
|
3486
3486
|
define(e, t = !1) {
|
|
3487
3487
|
for (let [n, o] of Object.entries(e)) {
|
|
3488
|
-
n = n.toLowerCase(), o = o.map((i) => i.toLowerCase()),
|
|
3489
|
-
const a =
|
|
3488
|
+
n = n.toLowerCase(), o = o.map((i) => i.toLowerCase()), Ae(this, xt, "f").has(n) || Ae(this, xt, "f").set(n, /* @__PURE__ */ new Set());
|
|
3489
|
+
const a = Ae(this, xt, "f").get(n);
|
|
3490
3490
|
let r = !0;
|
|
3491
3491
|
for (let i of o) {
|
|
3492
3492
|
const l = i.startsWith("*");
|
|
3493
|
-
if (i = l ? i.slice(1) : i, a == null || a.add(i), r &&
|
|
3494
|
-
const c =
|
|
3493
|
+
if (i = l ? i.slice(1) : i, a == null || a.add(i), r && Ae(this, an, "f").set(n, i), r = !1, l) continue;
|
|
3494
|
+
const c = Ae(this, Mt, "f").get(i);
|
|
3495
3495
|
if (c && c != n && !t) throw new Error(`"${n} -> ${i}" conflicts with "${c} -> ${i}". Pass \`force=true\` to override this definition.`);
|
|
3496
|
-
|
|
3496
|
+
Ae(this, Mt, "f").set(i, n);
|
|
3497
3497
|
}
|
|
3498
3498
|
}
|
|
3499
3499
|
return this;
|
|
@@ -3501,155 +3501,155 @@ const Qs = new class {
|
|
|
3501
3501
|
getType(e) {
|
|
3502
3502
|
if (typeof e != "string") return null;
|
|
3503
3503
|
const t = e.replace(/^.*[/\\]/, "").toLowerCase(), n = t.replace(/^.*\./, "").toLowerCase(), o = t.length < e.length;
|
|
3504
|
-
return !(n.length < t.length - 1) && o ? null :
|
|
3504
|
+
return !(n.length < t.length - 1) && o ? null : Ae(this, Mt, "f").get(n) ?? null;
|
|
3505
3505
|
}
|
|
3506
3506
|
getExtension(e) {
|
|
3507
3507
|
var t;
|
|
3508
|
-
return typeof e != "string" ? null : (e = (t = e == null ? void 0 : e.split) == null ? void 0 : t.call(e, ";")[0], (e &&
|
|
3508
|
+
return typeof e != "string" ? null : (e = (t = e == null ? void 0 : e.split) == null ? void 0 : t.call(e, ";")[0], (e && Ae(this, an, "f").get(e.trim().toLowerCase())) ?? null);
|
|
3509
3509
|
}
|
|
3510
3510
|
getAllExtensions(e) {
|
|
3511
|
-
return typeof e != "string" ? null :
|
|
3511
|
+
return typeof e != "string" ? null : Ae(this, xt, "f").get(e.toLowerCase()) ?? null;
|
|
3512
3512
|
}
|
|
3513
3513
|
_freeze() {
|
|
3514
3514
|
this.define = () => {
|
|
3515
3515
|
throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
|
|
3516
3516
|
}, Object.freeze(this);
|
|
3517
|
-
for (const e of
|
|
3517
|
+
for (const e of Ae(this, xt, "f").values()) Object.freeze(e);
|
|
3518
3518
|
return this;
|
|
3519
3519
|
}
|
|
3520
3520
|
_getTestState() {
|
|
3521
|
-
return { types:
|
|
3521
|
+
return { types: Ae(this, Mt, "f"), extensions: Ae(this, an, "f") };
|
|
3522
3522
|
}
|
|
3523
|
-
}(
|
|
3523
|
+
}(Ii, zi)._freeze(), Ks = (e) => {
|
|
3524
3524
|
var a;
|
|
3525
|
-
const t = v(e, "scroll"), n =
|
|
3525
|
+
const t = v(e, "scroll"), n = ae(null), o = ae((a = t.value) == null ? void 0 : a.x);
|
|
3526
3526
|
return wl(() => {
|
|
3527
3527
|
var r, i;
|
|
3528
3528
|
((r = t.value) == null ? void 0 : r.y) === "auto" || (n.value = (i = t.value) == null ? void 0 : i.y);
|
|
3529
3529
|
}), { x: o, y: n };
|
|
3530
|
-
}, Js = { key: 0, class:
|
|
3531
|
-
const o = function(
|
|
3532
|
-
const
|
|
3533
|
-
for (const
|
|
3534
|
-
return
|
|
3535
|
-
}(e, ["apis", "full", "params", "requestParamsFormatter", "fieldsNames", "onSourceSuccess", "onSourceError", "onBeforeRowEditBackFill", "onGetRowDetail", "onBeforeCuFormSubmit", "onCuFormSubmitSuccess", "onCuFormSubmitError", "onCuFormCancel", "onBeforeRowDelete", "onRowDeleteSuccess", "onRowDeleteError", "ownPagin", "ownPaginProps", "queryForm", "queryFormItems", "queryFormProps", "queryFormSubmitWithReset", "queryFormRowProps", "queryFormColProps", "queryFormFlexProps", "queryFormSubmitBtn", "queryFormResetBtn", "queryFormSubmitBtnProps", "queryFormResetBtnProps", "columns", "indexColumn", "indexColumnWidth", "indexColumnProps", "controlColumn", "controlColumnWidth", "controlColumnWidthProps", "columnsAlign", "columnsTitleNoWrap", "columnsTimeFormat", "columnsEmptyText", "controlColumnBtns", "cuFormProps", "cuFormRules", "cuFormDefaultValues", "cuFormModalProps", "cuFormRowProps", "cuFormColProps", "cuFormBackFillByGetDetail", "tableTextConfig", "detailBackFillByGetDetail", "detailDescItemEmptyText", "detailDescItemProps", "detailDescItemTimeFormat", "detailModalProps", "detailDescProps", "ciesBtns", "ciesBtnsInQueryForm", "createBtn", "importBtn", "exportBtn", "scroll", "tableLayout", "dataSource", "exportFileByParams", "exportFileParamsFormat", "exportFileName", "onExportRequestSuccess", "onExportSuccess", "onExportError", "importUploadProps", "importFileParamsFormat", "onImportSuccess", "onImportError", "showHeader"]), a = v(e, "ownPaginProps"), r = v(e, "controlColumnWidthProps"), i = v(e, "controlColumnWidth"), l = v(e, "indexColumnWidth"), c = v(e, "indexColumnProps"), m = v(e, "detailBackFillByGetDetail"), s = v(e, "onRowDeleteError"), h = v(e, "onRowDeleteSuccess"), g = v(e, "onBeforeRowDelete"), y = v(e, "onGetRowDetail"), d = v(e, "cuFormBackFillByGetDetail"), u = v(e, "onBeforeRowEditBackFill"), b = v(e, "controlColumn"), p = v(e, "indexColumn"), x = v(e, "controlColumnBtns"), w = v(e, "columnsEmptyText"), S = v(e, "columnsTimeFormat"), F = v(e, "columnsTitleNoWrap"), k = v(e, "columnsAlign"), f = v(e, "detailDescProps"), O = v(e, "detailModalProps"), B = v(e, "detailDescItemTimeFormat"), T = v(e, "detailDescItemProps"), A = v(e, "detailDescItemEmptyText"), W = v(e, "cuFormDefaultValues"),
|
|
3536
|
-
var
|
|
3537
|
-
return (
|
|
3538
|
-
}), Gi = (
|
|
3539
|
-
|
|
3540
|
-
}, { x:
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
return
|
|
3559
|
-
} };
|
|
3560
|
-
})({ apis: _t, tableTextConfig: Lt, importBtn: qi, importUploadProps: Ni, importFileParamsFormat: ao, onImportSuccess: bn, onImportError: oo }), { QueryForm: ga, QueryFormInstance: Xi, queryFormParams: Ui } = ((te) => {
|
|
3561
|
-
var dt, Ut;
|
|
3562
|
-
const N = te, pe = v(N, "queryFormItems"), de = v(N, "queryFormProps"), Je = v(N, "queryFormRowProps"), ge = v(N, "queryFormColProps"), Fe = v(N, "queryFormFlexProps"), ue = v(N, "queryFormSubmitBtn"), je = v(N, "queryFormResetBtn"), Se = v(N, "queryFormSubmitWithReset"), ve = v(N, "queryFormSubmitBtnProps"), ye = v(N, "queryFormResetBtnProps"), Oe = v(N, "ciesBtnsInQueryForm"), he = v(N, "ciesBtnsVNode"), Me = Mt({ values: {} }), Be = oe(), ke = Fo(), ie = v(ke, "customQueryFormBtns"), ce = v(ke, "customCiesBtns"), Ie = Mt({ values: {} }), Le = (ne) => {
|
|
3563
|
-
Ie.values = ne;
|
|
3564
|
-
}, ot = () => {
|
|
3565
|
-
var ne;
|
|
3566
|
-
Se.value && Le(null), (ne = Be == null ? void 0 : Be.value) == null || ne.resetFields();
|
|
3567
|
-
}, _e = q(() => ({ ...Be.value || {}, onQueryFormFinish: Le, onQueryFormReset: ot })), Yt = ue.value ? fe(ue.value) ? (dt = ue.value) == null ? void 0 : dt.call(ue, _e.value) : P(it, ee({ type: "primary", htmlType: "submit" }, Ea(ve.value, ["children"])), { default: () => {
|
|
3568
|
-
var ne;
|
|
3569
|
-
return [(ne = ve.value) == null ? void 0 : ne.children];
|
|
3570
|
-
} }) : null, Wt = je.value ? fe(je.value) ? (Ut = je.value) == null ? void 0 : Ut.call(je, _e.value) : P(it, ee({ onClick: ot }, Ea(ye.value, ["children"])), { default: () => {
|
|
3571
|
-
var ne;
|
|
3572
|
-
return [(ne = ye.value) == null ? void 0 : ne.children];
|
|
3573
|
-
} }) : null, Gt = q(() => {
|
|
3574
|
-
var ne;
|
|
3575
|
-
return pt((ne = he.value) == null ? void 0 : ne.CreateBtn);
|
|
3530
|
+
}, Js = { key: 0, class: hn(["db-table-query-form"]) }, Zs = { key: 1, class: hn(["db-table-cies-btns-wrap"]) }, ep = { class: hn(["db-table-wrap"]) }, tp = { key: 2, class: hn(["db-table-pagination-wrap"]) }, Bt = Qe({ name: "DbTable", __name: "table", props: { scroll: { default: () => R.table.scroll }, full: { type: Boolean, default: () => R.table.full }, tableTextConfig: { default: () => R.table.tableTextConfig }, params: {}, columns: {}, columnsTitleNoWrap: { type: Boolean, default: () => R.table.columnsTitleNoWrap }, indexColumn: { type: Boolean, default: () => R.table.indexColumn }, indexColumnWidth: { default: () => R.table.indexColumnWidth }, indexColumnProps: { default: () => R.table.indexColumnProps }, controlColumn: { type: Boolean, default: () => R.table.controlColumn }, controlColumnWidth: { default: () => R.table.controlColumnWidth }, controlColumnWidthProps: { default: () => R.table.controlColumnWidthProps }, columnsAlign: { default: () => R.table.columnsAlign }, columnsTimeFormat: { default: () => R.table.columnsTimeFormat }, columnsEmptyText: { default: () => R.table.columnsEmptyText }, controlColumnBtns: { default: () => R.table.controlColumnBtns }, apis: {}, requestParamsFormatter: { type: [null, Function], default: () => R.table.requestParamsFormatter }, onSourceSuccess: { type: [null, Function], default: () => R.table.onSourceSuccess }, onSourceError: { type: [null, Function], default: () => R.table.onSourceError }, onGetRowDetail: { type: [null, Function], default: () => R.table.onGetRowDetail }, onBeforeCuFormSubmit: { type: [null, Function], default: () => R.table.onBeforeCuFormSubmit }, onBeforeRowEditBackFill: { type: [null, Function], default: () => R.table.onBeforeRowEditBackFill }, onCuFormSubmitSuccess: { type: [null, Function], default: () => R.table.onCuFormSubmitSuccess }, onCuFormSubmitError: { type: [null, Function], default: () => R.table.onCuFormSubmitError }, onCuFormCancel: {}, onBeforeRowDelete: { type: [null, Function], default: () => R.table.onBeforeRowDelete }, onRowDeleteSuccess: { type: [null, Function], default: () => R.table.onRowDeleteSuccess }, onRowDeleteError: { type: [null, Function], default: () => R.table.onRowDeleteError }, fieldsNames: { default: () => R.table.fieldsNames }, ownPagin: { type: Boolean, default: () => R.table.ownPagin }, ownPaginProps: { default: () => R.table.ownPaginProps }, queryForm: { type: Boolean, default: () => R.table.queryForm }, queryFormProps: { default: () => R.table.queryFormProps }, queryFormItems: {}, queryFormRowProps: { default: () => R.table.queryFormRowProps }, queryFormColProps: { default: () => R.table.queryFormColProps }, queryFormFlexProps: { default: () => R.table.queryFormFlexProps }, queryFormSubmitBtn: { type: [Boolean, Function], default: () => R.table.queryFormSubmitBtn }, queryFormSubmitBtnProps: { default: () => R.table.queryFormSubmitBtnProps }, queryFormResetBtn: { type: [Boolean, Function], default: () => R.table.queryFormResetBtn }, queryFormResetBtnProps: { default: () => R.table.queryFormResetBtnProps }, queryFormSubmitWithReset: { type: Boolean, default: () => R.table.queryFormSubmitWithReset }, cuFormProps: { default: () => R.table.cuFormProps }, cuFormRules: {}, cuFormDefaultValues: {}, cuFormModalProps: { default: () => R.table.cuFormModalProps }, cuFormRowProps: { default: () => R.table.cuFormRowProps }, cuFormColProps: { default: () => R.table.cuFormColProps }, cuFormBackFillByGetDetail: { type: Boolean, default: () => R.table.cuFormBackFillByGetDetail }, detailBackFillByGetDetail: { type: Boolean, default: () => R.table.detailBackFillByGetDetail }, detailDescItemEmptyText: { default: () => R.table.detailDescItemEmptyText }, detailDescItemProps: { default: () => R.table.detailDescItemProps }, detailDescItemTimeFormat: { default: () => R.table.detailDescItemTimeFormat }, detailModalProps: { default: () => R.table.detailModalProps }, detailDescProps: { default: () => R.table.detailDescProps }, ciesBtns: { type: Boolean, default: () => R.table.ciesBtns }, ciesBtnsInQueryForm: { type: Boolean, default: () => R.table.ciesBtnsInQueryForm }, createBtn: { type: [Object, Boolean], default: () => R.table.createBtn }, importBtn: { type: [Boolean, Object], default: () => R.table.importBtn }, exportBtn: { type: [Object, Boolean], default: () => R.table.exportBtn }, exportFileByParams: { type: Boolean, default: () => R.table.exportFileByParams }, exportFileParamsFormat: {}, exportFileName: {}, onExportRequestSuccess: { type: [null, Function], default: () => R.table.onExportRequestSuccess }, onExportSuccess: { default: () => R.table.onExportSuccess }, onExportError: { default: () => R.table.onExportError }, importUploadProps: { default: () => R.table.importUploadProps }, importFileParamsFormat: { type: [null, Function], default: () => R.table.importFileParamsFormat }, onImportSuccess: { type: [null, Function], default: () => R.table.onImportSuccess }, onImportError: { type: [null, Function], default: () => R.table.onImportError }, dropdownPrefixCls: {}, dataSource: {}, pagination: { type: [Boolean, Object] }, size: {}, bordered: { type: Boolean }, locale: {}, onChange: {}, onResizeColumn: {}, rowSelection: {}, getPopupContainer: {}, sortDirections: {}, showSorterTooltip: { type: [Boolean, Object] }, prefixCls: {}, rowKey: {}, tableLayout: { default: () => R.table.tableLayout }, rowClassName: {}, title: {}, footer: {}, id: {}, showHeader: { type: Boolean }, components: {}, customRow: {}, customHeaderRow: {}, direction: {}, expandFixed: { type: [String, Boolean] }, expandColumnWidth: {}, expandedRowKeys: {}, defaultExpandedRowKeys: {}, expandedRowRender: {}, expandRowByClick: { type: Boolean }, expandIcon: {}, onExpand: {}, onExpandedRowsChange: {}, defaultExpandAllRows: { type: Boolean }, indentSize: {}, expandIconColumnIndex: {}, showExpandColumn: { type: Boolean }, expandedRowClassName: {}, childrenColumnName: {}, rowExpandable: {}, sticky: { type: [Boolean, Object] }, transformCellText: {} }, emits: ["cuFormModelChange", "cuFormEditStatusChange"], setup(e, { expose: t, emit: n }) {
|
|
3531
|
+
const o = function(ne, L) {
|
|
3532
|
+
const ue = /* @__PURE__ */ Object.create(null);
|
|
3533
|
+
for (const me in ne) L.includes(me) || Object.defineProperty(ue, me, { enumerable: !0, get: () => ne[me] });
|
|
3534
|
+
return ue;
|
|
3535
|
+
}(e, ["apis", "full", "params", "requestParamsFormatter", "fieldsNames", "onSourceSuccess", "onSourceError", "onBeforeRowEditBackFill", "onGetRowDetail", "onBeforeCuFormSubmit", "onCuFormSubmitSuccess", "onCuFormSubmitError", "onCuFormCancel", "onBeforeRowDelete", "onRowDeleteSuccess", "onRowDeleteError", "ownPagin", "ownPaginProps", "queryForm", "queryFormItems", "queryFormProps", "queryFormSubmitWithReset", "queryFormRowProps", "queryFormColProps", "queryFormFlexProps", "queryFormSubmitBtn", "queryFormResetBtn", "queryFormSubmitBtnProps", "queryFormResetBtnProps", "columns", "indexColumn", "indexColumnWidth", "indexColumnProps", "controlColumn", "controlColumnWidth", "controlColumnWidthProps", "columnsAlign", "columnsTitleNoWrap", "columnsTimeFormat", "columnsEmptyText", "controlColumnBtns", "cuFormProps", "cuFormRules", "cuFormDefaultValues", "cuFormModalProps", "cuFormRowProps", "cuFormColProps", "cuFormBackFillByGetDetail", "tableTextConfig", "detailBackFillByGetDetail", "detailDescItemEmptyText", "detailDescItemProps", "detailDescItemTimeFormat", "detailModalProps", "detailDescProps", "ciesBtns", "ciesBtnsInQueryForm", "createBtn", "importBtn", "exportBtn", "scroll", "tableLayout", "dataSource", "exportFileByParams", "exportFileParamsFormat", "exportFileName", "onExportRequestSuccess", "onExportSuccess", "onExportError", "importUploadProps", "importFileParamsFormat", "onImportSuccess", "onImportError", "showHeader"]), a = v(e, "ownPaginProps"), r = v(e, "controlColumnWidthProps"), i = v(e, "controlColumnWidth"), l = v(e, "indexColumnWidth"), c = v(e, "indexColumnProps"), m = v(e, "detailBackFillByGetDetail"), s = v(e, "onRowDeleteError"), h = v(e, "onRowDeleteSuccess"), g = v(e, "onBeforeRowDelete"), y = v(e, "onGetRowDetail"), d = v(e, "cuFormBackFillByGetDetail"), u = v(e, "onBeforeRowEditBackFill"), b = v(e, "controlColumn"), p = v(e, "indexColumn"), x = v(e, "controlColumnBtns"), w = v(e, "columnsEmptyText"), S = v(e, "columnsTimeFormat"), F = v(e, "columnsTitleNoWrap"), k = v(e, "columnsAlign"), f = v(e, "detailDescProps"), O = v(e, "detailModalProps"), B = v(e, "detailDescItemTimeFormat"), T = v(e, "detailDescItemProps"), A = v(e, "detailDescItemEmptyText"), W = v(e, "cuFormDefaultValues"), _ = v(e, "onCuFormSubmitError"), N = v(e, "onCuFormSubmitSuccess"), U = v(e, "onBeforeCuFormSubmit"), X = v(e, "cuFormColProps"), V = v(e, "cuFormRowProps"), J = v(e, "cuFormModalProps"), Y = v(e, "cuFormRules"), Q = v(e, "onCuFormCancel"), K = v(e, "cuFormProps"), Z = v(e, "columns"), be = v(e, "createBtn"), C = v(e, "onImportError"), E = v(e, "onImportSuccess"), M = v(e, "importFileParamsFormat"), $ = v(e, "importUploadProps"), j = v(e, "importBtn"), z = v(e, "dataSource"), I = v(e, "onSourceError"), G = v(e, "onSourceSuccess"), H = v(e, "onExportRequestSuccess"), re = v(e, "onExportError"), ce = v(e, "onExportSuccess"), te = v(e, "tableTextConfig"), ke = v(e, "exportFileParamsFormat"), Ee = v(e, "exportFileName"), at = v(e, "exportFileByParams"), qe = v(e, "exportBtn"), Ke = v(e, "apis"), vt = v(e, "fieldsNames"), eo = v(e, "requestParamsFormatter"), ca = v(e, "ownPagin"), sa = v(e, "params"), pa = v(e, "ciesBtnsInQueryForm"), ua = v(e, "queryFormResetBtnProps"), da = v(e, "queryFormSubmitBtnProps"), to = v(e, "queryFormResetBtn"), no = v(e, "queryFormSubmitBtn"), xn = v(e, "queryFormFlexProps"), oo = v(e, "queryFormColProps"), Li = v(e, "queryFormRowProps"), _i = v(e, "queryFormSubmitWithReset"), Ni = v(e, "queryFormProps"), qi = v(e, "queryFormItems"), Hi = v(e, "scroll"), ma = ae(), yn = ko(), Yi = n, Wi = q(() => {
|
|
3536
|
+
var ne, L, ue;
|
|
3537
|
+
return (ue = (L = (ne = Object == null ? void 0 : Object.keys) == null ? void 0 : ne.call(Object, yn)) == null ? void 0 : L.filter) == null ? void 0 : ue.call(L, (me) => (An == null ? void 0 : An.indexOf(me)) !== -1);
|
|
3538
|
+
}), Gi = (ne, L) => {
|
|
3539
|
+
L.width = ne;
|
|
3540
|
+
}, { x: ao, y: ro } = Ks({ scroll: Hi }), Vi = q(() => ({ x: pe(ao == null ? void 0 : ao.value), y: pe(ro == null ? void 0 : ro.value) })), fa = ae({}), { QueryForm: va, QueryFormInstance: Xi, queryFormParams: Ui } = ((ne) => {
|
|
3541
|
+
var ht, Xt;
|
|
3542
|
+
const L = ne, ue = v(L, "queryFormItems"), me = v(L, "queryFormProps"), Je = v(L, "queryFormRowProps"), ge = v(L, "queryFormColProps"), Ce = v(L, "queryFormFlexProps"), de = v(L, "queryFormSubmitBtn"), Pe = v(L, "queryFormResetBtn"), Ze = v(L, "queryFormSubmitWithReset"), ie = v(L, "queryFormSubmitBtnProps"), Te = v(L, "queryFormResetBtnProps"), we = v(L, "ciesBtnsInQueryForm"), fe = v(L, "ciesBtnsVNode"), je = At({ values: {} }), De = ae(), Se = ko(), le = v(Se, "customQueryFormBtns"), se = v(Se, "customCiesBtns"), ze = At({ values: {} }), Ie = (oe) => {
|
|
3543
|
+
ze.values = oe;
|
|
3544
|
+
}, rt = () => {
|
|
3545
|
+
var oe;
|
|
3546
|
+
Ze.value && Ie(null), (oe = De == null ? void 0 : De.value) == null || oe.resetFields();
|
|
3547
|
+
}, He = q(() => ({ ...De.value || {}, onQueryFormFinish: Ie, onQueryFormReset: rt })), it = de.value ? he(de.value) ? (ht = de.value) == null ? void 0 : ht.call(de, He.value) : P(st, ee({ type: "primary", htmlType: "submit" }, Ca(ie.value, ["children"])), { default: () => {
|
|
3548
|
+
var oe;
|
|
3549
|
+
return [(oe = ie.value) == null ? void 0 : oe.children];
|
|
3550
|
+
} }) : null, et = Pe.value ? he(Pe.value) ? (Xt = Pe.value) == null ? void 0 : Xt.call(Pe, He.value) : P(st, ee({ onClick: rt }, Ca(Te.value, ["children"])), { default: () => {
|
|
3551
|
+
var oe;
|
|
3552
|
+
return [(oe = Te.value) == null ? void 0 : oe.children];
|
|
3553
|
+
} }) : null, Wt = q(() => {
|
|
3554
|
+
var oe;
|
|
3555
|
+
return mt((oe = fe.value) == null ? void 0 : oe.CreateBtn);
|
|
3556
|
+
}), Gt = q(() => {
|
|
3557
|
+
var oe;
|
|
3558
|
+
return mt((oe = fe.value) == null ? void 0 : oe.ImportBtn);
|
|
3576
3559
|
}), Vt = q(() => {
|
|
3577
|
-
var
|
|
3578
|
-
return
|
|
3579
|
-
}), Xt = q(() => {
|
|
3580
|
-
var ne;
|
|
3581
|
-
return pt((ne = he.value) == null ? void 0 : ne.ExportBtn);
|
|
3560
|
+
var oe;
|
|
3561
|
+
return mt((oe = fe.value) == null ? void 0 : oe.ExportBtn);
|
|
3582
3562
|
});
|
|
3583
|
-
return { QueryForm: () => P(
|
|
3584
|
-
var
|
|
3585
|
-
return [(
|
|
3586
|
-
const { label:
|
|
3587
|
-
return P(
|
|
3563
|
+
return { QueryForm: () => P(rn, ee({ ref: De, model: je.values, onFinish: Ie }, me.value), { default: () => [P(Ll, ee({ justify: "space-between" }, Ce.value), { default: () => [P(Mr, ee({ gutter: [10, 10], class: ["flex-1"] }, Je.value), { default: () => {
|
|
3564
|
+
var oe;
|
|
3565
|
+
return [(oe = ue.value) == null ? void 0 : oe.map((Pt, io) => {
|
|
3566
|
+
const { label: lo, name: wn, rules: ll, control: cl, controlProps: sl, customControl: Sn, colProps: pl, formItemProps: ul } = Pt;
|
|
3567
|
+
return P(Br, ee({ key: JSON.stringify(wn) || io }, ge.value, pl), { default: () => [P(rn.Item, ee({ label: lo, name: wn, rules: ll }, ul), { default: () => [he(Sn) ? Sn == null ? void 0 : Sn(je, wn) : P(Ko, ee({ type: cl, model: je.values, name: wn }, sl), null)] })] });
|
|
3588
3568
|
})];
|
|
3589
|
-
} }), P(
|
|
3590
|
-
var
|
|
3591
|
-
return [
|
|
3592
|
-
} })] })] })] }), QueryFormInstance:
|
|
3593
|
-
})({ queryFormItems:
|
|
3594
|
-
const
|
|
3569
|
+
} }), P(rn.Item, { class: ["ml-2"] }, { default: () => [P(Fo, null, { default: () => {
|
|
3570
|
+
var oe, Pt;
|
|
3571
|
+
return [le.value && he(le.value) ? (oe = le.value) == null ? void 0 : oe.call(le, { SubmitBtn: it, ResetBtn: et, QueryFormInstance: He.value }) : P(Ue, null, [it, et, we.value ? se.value && he(se.value) ? (Pt = se.value) == null ? void 0 : Pt.call(se, { CreateBtn: Wt.value, ImportBtn: Gt.value, ExportBtn: Vt.value }) : P(Ue, null, [Wt.value, Gt.value, Vt.value]) : null])];
|
|
3572
|
+
} })] })] })] }), QueryFormInstance: He.value, queryFormParams: ze };
|
|
3573
|
+
})({ queryFormItems: qi, queryFormProps: Ni, queryFormSubmitWithReset: _i, queryFormRowProps: Li, queryFormColProps: oo, queryFormFlexProps: xn, queryFormSubmitBtn: no, queryFormResetBtn: to, queryFormSubmitBtnProps: da, queryFormResetBtnProps: ua, ciesBtnsInQueryForm: pa, ciesBtnsVNode: fa }), { resultParams: ha, pagination: ga } = ((ne) => {
|
|
3574
|
+
const L = ne, ue = v(L, "params"), me = v(L, "queryFormParams"), Je = v(L, "ownPagin"), ge = v(L, "fieldsNames"), Ce = v(L, "requestParamsFormatter"), de = At({ page: 1, pageSize: 10 });
|
|
3595
3575
|
return { resultParams: q(() => {
|
|
3596
|
-
var
|
|
3597
|
-
const
|
|
3598
|
-
for (let
|
|
3599
|
-
var
|
|
3600
|
-
return (
|
|
3576
|
+
var we, fe, je, De, Se;
|
|
3577
|
+
const Ze = Je.value ? { [ge.value.page]: de == null ? void 0 : de.page, [ge.value.pageSize]: de == null ? void 0 : de.pageSize } : {}, ie = pe({ ...me.value.values });
|
|
3578
|
+
for (let le in ie) Xe.isDayjs(ie[le]) && (ie[le] = ie[le].format("YYYY-MM-DD HH:mm:ss")), (fe = (we = ie[le]) == null ? void 0 : we.every) != null && fe.call(we, (se) => Xe.isDayjs(se)) && (ie[le] = (De = (je = ie[le]) == null ? void 0 : je.map) == null ? void 0 : De.call(je, (se) => {
|
|
3579
|
+
var ze;
|
|
3580
|
+
return (ze = se == null ? void 0 : se.format) == null ? void 0 : ze.call(se, "YYYY-MM-DD HH:mm:ss");
|
|
3601
3581
|
}));
|
|
3602
|
-
const
|
|
3603
|
-
return
|
|
3604
|
-
}), pagination:
|
|
3605
|
-
})({ params:
|
|
3606
|
-
const
|
|
3607
|
-
var
|
|
3608
|
-
|
|
3609
|
-
const
|
|
3582
|
+
const Te = pe({ ...ie, ...ue.value, ...Ze });
|
|
3583
|
+
return Tt(Ce.value) ? (Se = Ce.value) == null ? void 0 : Se.call(Ce, JSON.parse(JSON.stringify(Te))) : Nl.parse(Te);
|
|
3584
|
+
}), pagination: de };
|
|
3585
|
+
})({ params: sa, ownPagin: ca, requestParamsFormatter: eo, fieldsNames: vt, queryFormParams: Ui }), { ExportBtn: qt } = ((ne) => {
|
|
3586
|
+
const L = ne, ue = v(L, "apis"), me = v(L, "resultParams"), Je = v(L, "fieldsNames"), ge = v(L, "exportFileByParams"), Ce = v(L, "exportFileName"), de = v(L, "exportFileParamsFormat"), Pe = v(L, "onExportRequestSuccess"), Ze = v(L, "exportBtn"), ie = v(L, "onExportSuccess"), Te = v(L, "onExportError"), we = v(L, "tableTextConfig"), fe = ae(!1), je = async () => {
|
|
3587
|
+
var le, se, ze, Ie, rt, He, it, et, Wt, Gt, Vt;
|
|
3588
|
+
fe.value = !0;
|
|
3589
|
+
const Se = ge.value ? de.value && he(de.value) ? (le = de.value) == null ? void 0 : le.call(de, me.value) : me.value : {};
|
|
3610
3590
|
try {
|
|
3611
|
-
const
|
|
3612
|
-
if (
|
|
3613
|
-
const { thumbUrl:
|
|
3614
|
-
if ((
|
|
3615
|
-
|
|
3616
|
-
} catch (
|
|
3617
|
-
if (
|
|
3618
|
-
|
|
3591
|
+
const ht = await ((ze = (se = ue.value) == null ? void 0 : se.export) == null ? void 0 : ze.call(se, Se)), Xt = he(Pe.value) ? await Pe.value(ht) : De(ht);
|
|
3592
|
+
if (Xt === !1) return;
|
|
3593
|
+
const { thumbUrl: oe, filename: Pt, config: io } = Xt, lo = await new Us({ url: oe, timeout: null, filename: Pt || Ce.value || `${Xe().valueOf()}`, autoStart: !0, ...io || {} });
|
|
3594
|
+
if ((rt = (Ie = window == null ? void 0 : window.URL) == null ? void 0 : Ie.revokeObjectURL) == null || rt.call(Ie, oe), fe.value = !1, he(ie.value) && await ((He = ie.value) == null ? void 0 : He.call(ie, lo)) === !1) return;
|
|
3595
|
+
ct.success((et = (it = we.value) == null ? void 0 : it.message) == null ? void 0 : et.exportSuccess);
|
|
3596
|
+
} catch (ht) {
|
|
3597
|
+
if (fe.value = !1, he(Te.value) && await ((Wt = Te.value) == null ? void 0 : Wt.call(Te, ht)) === !1) return;
|
|
3598
|
+
ct.error((Vt = (Gt = we.value) == null ? void 0 : Gt.message) == null ? void 0 : Vt.exportError);
|
|
3619
3599
|
}
|
|
3620
|
-
|
|
3621
|
-
},
|
|
3622
|
-
var
|
|
3623
|
-
const
|
|
3624
|
-
return { thumbUrl: URL.createObjectURL(
|
|
3600
|
+
fe.value = !1;
|
|
3601
|
+
}, De = (Se) => {
|
|
3602
|
+
var se;
|
|
3603
|
+
const le = Re(Se, (se = Je.value) == null ? void 0 : se.export);
|
|
3604
|
+
return { thumbUrl: URL.createObjectURL(le), filename: Ce.value || `${Xe().valueOf()}.${Qs.getExtension(le == null ? void 0 : le.type)}`, config: null };
|
|
3625
3605
|
};
|
|
3626
3606
|
return { ExportBtn: () => {
|
|
3627
|
-
const { children:
|
|
3628
|
-
return P(
|
|
3629
|
-
}, exportFile:
|
|
3630
|
-
})({ apis:
|
|
3631
|
-
const
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3607
|
+
const { children: Se, ...le } = Ze.value || {};
|
|
3608
|
+
return P(st, ee({ disabled: fe.value, loading: fe.value, class: "flex items-center", onClick: () => je() }, le), { default: () => [fe != null && fe.value ? `正在${Se}` : Se] });
|
|
3609
|
+
}, exportFile: je };
|
|
3610
|
+
})({ apis: Ke, fieldsNames: vt, exportBtn: qe, resultParams: ha, exportFileByParams: at, exportFileName: Ee, exportFileParamsFormat: ke, tableTextConfig: te, onExportSuccess: ce, onExportError: re, onExportRequestSuccess: H }), { source: xa, loading: Qi, total: Ki, updateSource: bn } = qc({ api: Ke, fieldsNames: vt, params: ha, onSourceSuccess: G, onSourceError: I, dataSource: z }), { ImportBtn: Ht } = ((ne) => {
|
|
3611
|
+
const L = ne, ue = v(L, "apis"), me = v(L, "tableTextConfig"), Je = v(L, "importBtn"), ge = v(L, "onImportSuccess"), Ce = v(L, "onImportError"), de = v(L, "importUploadProps"), Pe = v(L, "importFileParamsFormat"), Ze = v(L, "updateSource"), ie = ae(!1), Te = async (we) => {
|
|
3612
|
+
var Se, le, se, ze, Ie, rt, He, it;
|
|
3613
|
+
const { file: fe } = we;
|
|
3614
|
+
ie.value = !0;
|
|
3615
|
+
const je = { file: fe }, De = Pe.value && he(Pe.value) ? await Pe.value(we) : je;
|
|
3616
|
+
try {
|
|
3617
|
+
const et = await ((Se = ue.value) == null ? void 0 : Se.import(De));
|
|
3618
|
+
if (ie.value = !1, (le = Ze.value) == null || le.call(Ze), he(ge.value) && await ((se = ge.value) == null ? void 0 : se.call(ge, et)) === !1) return;
|
|
3619
|
+
ct.success((Ie = (ze = me.value) == null ? void 0 : ze.message) == null ? void 0 : Ie.importSuccess);
|
|
3620
|
+
} catch (et) {
|
|
3621
|
+
if (ie.value = !1, he(Ce.value) && await ((rt = Ce.value) == null ? void 0 : rt.call(Ce, et)) === !1) return;
|
|
3622
|
+
ct.error((it = (He = me.value) == null ? void 0 : He.message) == null ? void 0 : it.importError);
|
|
3623
|
+
}
|
|
3624
|
+
ie.value = !1;
|
|
3625
|
+
};
|
|
3626
|
+
return { ImportBtn: () => {
|
|
3627
|
+
const { children: we, ...fe } = Je.value || {};
|
|
3628
|
+
return P(zl, ee({ showUploadList: !1, customRequest: Te }, de.value), { default: () => [P(st, ee({ disabled: ie.value, loading: ie.value, class: "flex items-center" }, fe), { default: () => [ie != null && ie.value ? `正在${we}...` : we] })] });
|
|
3629
|
+
} };
|
|
3630
|
+
})({ apis: Ke, tableTextConfig: te, importBtn: j, importUploadProps: $, importFileParamsFormat: M, onImportSuccess: E, onImportError: C, updateSource: bn }), { CreateBtn: Yt, CUModalForm: Ji, openCUModalForm: Zi, cuFormModel: ya, cuModalLoading: el, cuModalFormIsEdit: tl } = Nc({ apis: Ke, createBtn: be, columns: Z, cuFormProps: K, onCuFormCancel: Q, cuFormRules: Y, cuFormModalProps: J, cuFormRowProps: V, cuFormColProps: X, tableRef: ma, onBeforeCuFormSubmit: U, onCuFormSubmitSuccess: N, onCuFormSubmitError: _, updateSource: bn, tableTextConfig: te, defaultValues: W, emits: Yi }), { openDetailModal: nl, detailModalLoading: ol, detailsDataSource: al, DetailModal: rl } = Gs({ columns: Z, detailDescItemEmptyText: A, detailDescItemProps: T, detailDescItemTimeFormat: B, tableTextConfig: te, detailModalProps: O, detailDescProps: f }), { resColumns: il } = Ac({ columns: Z, columnsAlign: k, columnsTitleNoWrap: F, pagination: ga, columnsTimeFormat: S, columnsEmptyText: w, controlColumnBtns: x, apis: Ke, indexColumn: p, controlColumn: b, openCUModalForm: Zi, updateSource: bn, cuFormModel: ya, onBeforeRowEditBackFill: u, cuModalLoading: el, cuFormBackFillByGetDetail: d, fieldsNames: vt, onGetRowDetail: y, onBeforeRowDelete: g, onRowDeleteSuccess: h, onRowDeleteError: s, openDetailModal: nl, detailModalLoading: ol, detailsDataSource: al, detailBackFillByGetDetail: m, tableTextConfig: te, indexColumnProps: c, indexColumnWidth: l, controlColumnWidth: i, controlColumnWidthProps: r }), ba = ((ne) => {
|
|
3631
|
+
const L = ne, ue = v(L, "pagination"), me = v(L, "total"), Je = v(L, "ownPaginProps", {});
|
|
3632
|
+
return () => P(Il, ee({ current: ue.value.page, "onUpdate:current": (ge) => ue.value.page = ge, pageSize: ue.value.pageSize, "onUpdate:pageSize": (ge) => ue.value.pageSize = ge, total: me.value, "onUpdate:total": (ge) => me.value = ge, "show-quick-jumper": !0 }, Je.value), null);
|
|
3633
|
+
})({ pagination: ga, total: Ki, ownPaginProps: a });
|
|
3634
|
+
return ft([Yt, Ht, qt], () => {
|
|
3635
|
+
fa.value = { CreateBtn: Yt, ImportBtn: Ht, ExportBtn: qt };
|
|
3636
|
+
}, { immediate: !0 }), t({ source: xa, updateSource: bn, QueryForm: va, QueryFormInstance: Xi, Pagination: ba, cuModalFormIsEdit: Co(tl), cuFormModel: Co(ya), CreateBtn: Yt, ImportBtn: Ht, ExportBtn: qt }), (ne, L) => (Ye(), Ut("div", { class: hn(["db-table", ne.full ? "db-table-full" : null]), ref_key: "tableRef", ref: ma }, [ne.queryForm ? (Ye(), Ut("div", Js, [P(pe(va))])) : jt("", !0), ne.ciesBtns ? (Ye(), Ut("div", Zs, [P(pe(Fo), null, { default: wa(() => [yn != null && yn.customCiesBtns ? Sa(ne.$slots, "customCiesBtns", { key: 0, CreateBtn: pe(Yt), ImportBtn: pe(Ht), ExportBtn: pe(qt) }) : (Ye(), Ut(Ue, { key: 1 }, [ne.createBtn ? (Ye(), Qt(pe(Yt), { key: 0 })) : jt("", !0), ne.importBtn ? (Ye(), Qt(pe(Ht), { key: 1 })) : jt("", !0), ne.exportBtn ? (Ye(), Qt(pe(qt), { key: 2 })) : jt("", !0)], 64))]), _: 3 })])) : jt("", !0), Sl("div", ep, [P(pe(_l), ee({ pagination: !1, columns: pe(il), "data-source": pe(xa), loading: pe(Qi), onResizeColumn: Gi, scroll: Vi.value, "table-layout": ne.tableLayout }, pe(o)), kl({ _: 2 }, [Cl(Wi.value, (ue) => ({ name: ue, fn: wa((me) => [Sa(ne.$slots, ue, Fl(El(me)))]) }))]), 1040, ["columns", "data-source", "loading", "scroll", "table-layout"])]), ne.ownPagin ? (Ye(), Ut("div", tp, [P(pe(ba))])) : jt("", !0), (Ye(), Qt(ka(pe(Ji)))), (Ye(), Qt(ka(pe(rl))))], 2));
|
|
3637
3637
|
} });
|
|
3638
|
-
|
|
3638
|
+
Bt.install = (e) => {
|
|
3639
3639
|
var t;
|
|
3640
|
-
return (t = e == null ? void 0 : e.component) == null || t.call(e,
|
|
3640
|
+
return (t = e == null ? void 0 : e.component) == null || t.call(e, Bt == null ? void 0 : Bt.name, Bt), e;
|
|
3641
3641
|
};
|
|
3642
|
-
const
|
|
3643
|
-
const n =
|
|
3642
|
+
const br = Object.freeze(Object.defineProperty({ __proto__: null, ATableSlotsWhiteList: An, ControlMapType: Lc, FormItemControl: Ko, FormItemControlModelFields: Ur, Table: Bt, mergeConfigProps: sc }, Symbol.toStringTag, { value: "Module" })), sp = (e) => (Object.keys(br).forEach((t) => {
|
|
3643
|
+
const n = br[t];
|
|
3644
3644
|
n.install && e.use(n);
|
|
3645
3645
|
}), e);
|
|
3646
3646
|
export {
|
|
3647
|
-
|
|
3647
|
+
An as ATableSlotsWhiteList,
|
|
3648
3648
|
Lc as ControlMapType,
|
|
3649
|
-
|
|
3650
|
-
|
|
3649
|
+
Ko as FormItemControl,
|
|
3650
|
+
Ur as FormItemControlModelFields,
|
|
3651
3651
|
R as GlobalComponentDefalutPropsConfig,
|
|
3652
|
-
|
|
3652
|
+
Bt as Table,
|
|
3653
3653
|
cc as TableConfig,
|
|
3654
3654
|
sp as default,
|
|
3655
3655
|
sp as install,
|