halo-pc 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-7pMF1N-k.js → Article-BbJTCOkX.js} +66 -62
- package/dist/{Autocomplete-CEjjKXwo.js → Autocomplete-A0m1RW7z.js} +1 -1
- package/dist/Autocomplete-C3d_yunJ.js +52 -0
- package/dist/Autocomplete-H0_xgWsN.js +53 -0
- package/dist/{CSharp-DatSqpip.js → CSharp-Bwl97exE.js} +1 -1
- package/dist/{Calender-B1HoFiQg.js → Calender-C3vbVYIN.js} +1 -1
- package/dist/Callback-oU2ap8v9.js +24 -0
- package/dist/Cascader-ClSabtOx.js +45 -0
- package/dist/Cascader-DRErYyH6.js +84 -0
- package/dist/{Checkbox-B6IkMrWB.js → Checkbox-BJS0a1NT.js} +1 -1
- package/dist/{Code-SZuIImtp.js → Code-9I77CMRV.js} +1 -1
- package/dist/Code-B2DrYXDa.js +58 -0
- package/dist/Code-BgqGTky1.js +40 -0
- package/dist/Code-Cv1pm18C.js +4 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-IHZepbsi.js +63 -0
- package/dist/Column-Dgs0SdWX.js +71 -0
- package/dist/Comment-Cy6lpmqk.js +102 -0
- package/dist/Compare-5cTiHEdo.js +30 -0
- package/dist/Compare-CWeuLw9n.js +60 -0
- package/dist/Copy-C6WEtRhC.js +47 -0
- package/dist/Custom-QDHQJoxC.js +53 -0
- package/dist/{DataExport-I9iG4oEo.js → DataExport-BHh7NvbT.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js → DataExport.vue_vue_type_script_setup_true_lang-C9t5j7Gi.js} +37 -33
- package/dist/{DataImport-2KtOy-of.js → DataImport-CtBsCyNb.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DgzKdC2g.js → DataImport.vue_vue_type_script_setup_true_lang-bI0HP38b.js} +59 -55
- package/dist/{Date-PERpDDy_.js → Date-IV1FwqTW.js} +1 -1
- package/dist/{DateRange-BaxHMjcx.js → DateRange-IWmDLSuy.js} +11 -7
- package/dist/{DateTime-B7gHENiu.js → DateTime-Di6sr-tq.js} +1 -1
- package/dist/{DateTimeRange-yI9Y2qgC.js → DateTimeRange-BNUGYgWf.js} +14 -10
- package/dist/{Daterange-DqvBvK-B.js → Daterange-rrlMT4tD.js} +17 -13
- package/dist/{Decimal-AXwMeqBW.js → Decimal-D9TVQqyS.js} +1 -1
- package/dist/Delete-B-k4PTWk.js +59 -0
- package/dist/{Detail-aWACqVnM.js → Detail-HAblGKTY.js} +20 -16
- package/dist/Dictionary-BUmany6B.js +59 -0
- package/dist/{File--NsXL6XX.js → File-MF1QgEQX.js} +45 -41
- package/dist/{Image-CuwfJLKW.js → Image-Dps_vfcZ.js} +1 -1
- package/dist/{Index-BNOFdDjW.js → Index-7cTFT9Xb.js} +19 -15
- package/dist/{Index-CQ9S2R9b.js → Index-C_mfWEwr.js} +1 -1
- package/dist/Index-Cgets8DK.js +4 -0
- package/dist/Index-DGnHsBz4.js +4 -0
- package/dist/{Index-Cewv4-Ik.js → Index-DupYRMRj.js} +45 -41
- package/dist/{Index-DA2wAurY.js → Index-XBFHPLbK.js} +1 -1
- package/dist/{Index-Cj79dCuO.js → Index-hgpg_5ma.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js → Index.vue_vue_type_script_setup_true_lang-C1Bw7evJ.js} +15 -11
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js → Index.vue_vue_type_script_setup_true_lang-yOf2ubuo.js} +16 -12
- package/dist/{Index.vue_vue_type_style_index_0_lang-DApNHvNX.js → Index.vue_vue_type_style_index_0_lang-DBERwM_v.js} +31 -27
- package/dist/{Install-BWdNbtVx.js → Install-A9qs4Vg-.js} +20 -16
- package/dist/{Int-nmVkFRqG.js → Int-B3L54Gcc.js} +16 -12
- package/dist/List-Om6OdbbR.js +76 -0
- package/dist/Maintaince-CrfEX-5B.js +19 -0
- package/dist/{Markdown-DD6ufwhM.js → Markdown-wcGRlabe.js} +1 -1
- package/dist/{Month-BqbTFGgo.js → Month-C1tCQKvO.js} +1 -1
- package/dist/{Normal-f4HN1ciI.js → Normal-HoU_elKy.js} +51 -47
- package/dist/Paging-C_StoYuZ.js +94 -0
- package/dist/QueryApi-BrYyIwqV.js +18 -0
- package/dist/{Racebar-Bou-XNCm.js → Racebar-BXuP1N9F.js} +27 -23
- package/dist/{Radio-BmikzeCv.js → Radio-D6W9guyM.js} +1 -1
- package/dist/{Register-CgbRZH9W.js → Register-DGhIjRDD.js} +79 -75
- package/dist/{RichText-BeK3zZam.js → RichText-B3Br1uzj.js} +22 -18
- package/dist/{SearchFooter-C4PeAkaR.js → SearchFooter-D3-9GTr1.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-BaO7vJ-n.js → SearchFooter.vue_vue_type_style_index_0_lang-DP32ZjvQ.js} +1 -1
- package/dist/{SearchForm-C7fZiQaW.js → SearchForm-rWozLa4B.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js → SearchForm.vue_vue_type_style_index_0_lang-F2we6KP-.js} +30 -26
- package/dist/{Select-C1-NVZdG.js → Select-64nQiHNA.js} +21 -17
- package/dist/{Select-DR5fQH0d.js → Select-CAmBUDp3.js} +40 -36
- package/dist/{Select-DlbQvxQu.js → Select-qCdhL7vC.js} +1 -1
- package/dist/{Single-BLRyJKB-.js → Single-Bnrt5Hxb.js} +81 -77
- package/dist/{Statistic-BOtmYiRA.js → Statistic-BTbwlH9l.js} +35 -31
- package/dist/{Stock-Dnwof0R1.js → Stock-Br_02hsI.js} +1 -1
- package/dist/{Stock-BqQ6lM5B.js → Stock-DbExd680.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js → Stock.vue_vue_type_style_index_0_lang-MTvhmHlz.js} +26 -22
- package/dist/{Switch-DuMBV0AX.js → Switch-J2GIv4Wa.js} +1 -1
- package/dist/{Table-Be-rPXr_.js → Table-DjBx2UGm.js} +68 -64
- package/dist/{Table-RMVT0hlE.js → Table-X4vTHlpm.js} +52 -48
- package/dist/{Text-DSXRKFPa.js → Text-BFZc81F2.js} +1 -1
- package/dist/Text.vue_vue_type_style_index_0_lang-Cw7QQbFk.js +56 -0
- package/dist/TextLink-C_lFWaZv.js +66 -0
- package/dist/{Textarea-3ypOGE1S.js → Textarea-Dw_qLc3Y.js} +1 -1
- package/dist/{Timeline-CLezCcgQ.js → Timeline-DaaRGmGd.js} +21 -17
- package/dist/Tree-CDD2Nd6q.js +121 -0
- package/dist/{Tree-B6RBRT1y.js → Tree-Cmp10DWw.js} +85 -81
- package/dist/TreeNode-BM8-GyIc.js +38 -0
- package/dist/{Update-Dc3Tdkn0.js → Update-PffbXMXH.js} +17 -13
- package/dist/Upload-F6HXe76H.js +71 -0
- package/dist/Upload-kwwpaDe6.js +147 -0
- package/dist/{UploadApi-Bs507D0w.js → UploadApi-D2W_aGKA.js} +8 -3
- package/dist/{Year-DKxOQNyS.js → Year-Dr5ST0Pk.js} +1 -1
- package/dist/main-B8RC13GR.js +6528 -0
- package/dist/main.js +113 -113
- package/dist/style.css +1 -1
- package/dist/vendor-@monaco-editor-DKC4UNw_.js +258 -0
- package/dist/{vendor-clipboard-DjQPoCBJ.js → vendor-clipboard-BqjesuiY.js} +130 -110
- package/dist/vendor-clone-BPtCWdXG.js +134 -0
- package/dist/vendor-crypto-js-ftX_aBC-.js +4995 -0
- package/dist/vendor-file-saver-CytTIJ-3.js +74 -0
- package/dist/{vendor-intro.js-DwWqhM1v.js → vendor-intro.js-CZkClzQO.js} +1 -1
- package/dist/vendor-moment-h96o7c8I.js +2578 -0
- package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
- package/dist/vendor-state-local-CEworIRt.js +131 -0
- package/dist/vendor-underscore-DVTek3G4.js +1070 -0
- package/dist/vendor-underscore.string-BEHfJwHl.js +425 -0
- package/dist/vendor-util-deprecate-DzpNkCzj.js +28 -0
- package/esm/coms/controls/Text.vue.d.ts +1 -1
- package/esm/coms/globals/HaMenu.vue.d.ts +1 -1
- package/esm/coms/globals/HaWindow.vue.d.ts +1 -1
- package/esm/coms/pages/Delete.vue.d.ts +2 -2
- package/esm/coms/pages/Single.vue.d.ts +2 -2
- package/esm/coms/pagings/Article.vue.d.ts +2 -2
- package/esm/coms/pagings/DataExport.vue.d.ts +2 -2
- package/esm/coms/pagings/DataImport.vue.d.ts +2 -2
- package/esm/coms/pagings/Index.vue.d.ts +2 -2
- package/esm/coms/pagings/SearchFooter.vue.d.ts +1 -1
- package/esm/coms/pagings/Table.vue.d.ts +2 -2
- package/esm/main.d.ts +4 -3
- package/esm/services/ServiceFactory.d.ts +3 -0
- package/esm/types/PcOptions.d.ts +18 -0
- package/esm/types/index.d.ts +2 -0
- package/package.json +2 -2
- package/dist/Autocomplete-DqKo5NiJ.js +0 -49
- package/dist/Autocomplete-K5ipzchR.js +0 -48
- package/dist/Callback-PyCjejiv.js +0 -20
- package/dist/Cascader-B9lLRKjA.js +0 -80
- package/dist/Cascader-BNvlqc5t.js +0 -41
- package/dist/Code-BdK547kD.js +0 -4
- package/dist/Code-DfFF-84i.js +0 -36
- package/dist/Code-LFQVJotC.js +0 -54
- package/dist/Code.vue_vue_type_style_index_0_lang-nX113anq.js +0 -59
- package/dist/Column-DVjYrrr7.js +0 -67
- package/dist/Comment-Do7Mjpjr.js +0 -98
- package/dist/Compare-C_iDn27Q.js +0 -56
- package/dist/Compare-CrX3yfD4.js +0 -26
- package/dist/Copy-_sbdQvHJ.js +0 -43
- package/dist/Custom-DarpQFG8.js +0 -49
- package/dist/Delete-BY3vAVWa.js +0 -55
- package/dist/Dictionary-DpQuFYQ5.js +0 -55
- package/dist/Index-B_a_HzsB.js +0 -4
- package/dist/Index-Cx2J_P37.js +0 -4
- package/dist/List-BjdY1rMk.js +0 -72
- package/dist/Maintaince-DzYzyrAc.js +0 -15
- package/dist/Paging-BMPtLi8P.js +0 -90
- package/dist/QueryApi-CbP5cCyH.js +0 -13
- package/dist/Text.vue_vue_type_style_index_0_lang-CeDusQl6.js +0 -52
- package/dist/TextLink-BZW-y_FS.js +0 -62
- package/dist/Tree-CLpCeirT.js +0 -117
- package/dist/TreeNode-C16N8jqm.js +0 -34
- package/dist/Upload-DvWyjK3a.js +0 -143
- package/dist/Upload-SEu1V1yX.js +0 -67
- package/dist/main-QtNG6p7a.js +0 -16673
- package/dist/vendor-pinia-yrN6kSxh.js +0 -861
- package/dist/vendor-vue-demi-CIhrFbpB.js +0 -17
@@ -1,22 +1,41 @@
|
|
1
|
-
var
|
2
|
-
function
|
3
|
-
return
|
1
|
+
var B = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
2
|
+
function J(g) {
|
3
|
+
return g && g.__esModule && Object.prototype.hasOwnProperty.call(g, "default") ? g.default : g;
|
4
4
|
}
|
5
|
-
|
5
|
+
function W(g) {
|
6
|
+
if (g.__esModule) return g;
|
7
|
+
var T = g.default;
|
8
|
+
if (typeof T == "function") {
|
9
|
+
var S = function E() {
|
10
|
+
return this instanceof E ? Reflect.construct(T, arguments, this.constructor) : T.apply(this, arguments);
|
11
|
+
};
|
12
|
+
S.prototype = T.prototype;
|
13
|
+
} else S = {};
|
14
|
+
return Object.defineProperty(S, "__esModule", { value: !0 }), Object.keys(g).forEach(function(E) {
|
15
|
+
var b = Object.getOwnPropertyDescriptor(g, E);
|
16
|
+
Object.defineProperty(S, E, b.get ? b : {
|
17
|
+
enumerable: !0,
|
18
|
+
get: function() {
|
19
|
+
return g[E];
|
20
|
+
}
|
21
|
+
});
|
22
|
+
}), S;
|
23
|
+
}
|
24
|
+
var N = { exports: {} };
|
6
25
|
/*!
|
7
26
|
* clipboard.js v2.0.11
|
8
27
|
* https://clipboardjs.com/
|
9
28
|
*
|
10
29
|
* Licensed MIT © Zeno Rocha
|
11
30
|
*/
|
12
|
-
(function(
|
13
|
-
(function(
|
14
|
-
|
15
|
-
})(
|
31
|
+
(function(g, T) {
|
32
|
+
(function(E, b) {
|
33
|
+
g.exports = b();
|
34
|
+
})(B, function() {
|
16
35
|
return (
|
17
36
|
/******/
|
18
37
|
function() {
|
19
|
-
var
|
38
|
+
var S = {
|
20
39
|
/***/
|
21
40
|
686: (
|
22
41
|
/***/
|
@@ -25,11 +44,11 @@ var M = { exports: {} };
|
|
25
44
|
default: function() {
|
26
45
|
return (
|
27
46
|
/* binding */
|
28
|
-
|
47
|
+
$
|
29
48
|
);
|
30
49
|
}
|
31
50
|
});
|
32
|
-
var a = t(279), f = /* @__PURE__ */ t.n(a), s = t(370), h = /* @__PURE__ */ t.n(s), y = t(817),
|
51
|
+
var a = t(279), f = /* @__PURE__ */ t.n(a), s = t(370), h = /* @__PURE__ */ t.n(s), y = t(817), m = /* @__PURE__ */ t.n(y);
|
33
52
|
function d(i) {
|
34
53
|
try {
|
35
54
|
return document.execCommand(i);
|
@@ -38,64 +57,64 @@ var M = { exports: {} };
|
|
38
57
|
}
|
39
58
|
}
|
40
59
|
var v = function(n) {
|
41
|
-
var e =
|
60
|
+
var e = m()(n);
|
42
61
|
return d("cut"), e;
|
43
62
|
}, p = v;
|
44
|
-
function
|
63
|
+
function w(i) {
|
45
64
|
var n = document.documentElement.getAttribute("dir") === "rtl", e = document.createElement("textarea");
|
46
65
|
e.style.fontSize = "12pt", e.style.border = "0", e.style.padding = "0", e.style.margin = "0", e.style.position = "absolute", e.style[n ? "right" : "left"] = "-9999px";
|
47
66
|
var r = window.pageYOffset || document.documentElement.scrollTop;
|
48
67
|
return e.style.top = "".concat(r, "px"), e.setAttribute("readonly", ""), e.value = i, e;
|
49
68
|
}
|
50
|
-
var
|
51
|
-
var r =
|
69
|
+
var M = function(n, e) {
|
70
|
+
var r = w(n);
|
52
71
|
e.container.appendChild(r);
|
53
|
-
var o =
|
72
|
+
var o = m()(r);
|
54
73
|
return d("copy"), r.remove(), o;
|
55
|
-
},
|
74
|
+
}, k = function(n) {
|
56
75
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
57
76
|
container: document.body
|
58
77
|
}, r = "";
|
59
|
-
return typeof n == "string" ? r =
|
60
|
-
},
|
61
|
-
function
|
78
|
+
return typeof n == "string" ? r = M(n, e) : n instanceof HTMLInputElement && !["text", "search", "url", "tel", "password"].includes(n == null ? void 0 : n.type) ? r = M(n.value, e) : (r = m()(n), d("copy")), r;
|
79
|
+
}, P = k;
|
80
|
+
function A(i) {
|
62
81
|
"@babel/helpers - typeof";
|
63
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
82
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? A = function(e) {
|
64
83
|
return typeof e;
|
65
|
-
} :
|
84
|
+
} : A = function(e) {
|
66
85
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
67
|
-
},
|
86
|
+
}, A(i);
|
68
87
|
}
|
69
|
-
var
|
70
|
-
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = n.action, r = e === void 0 ? "copy" : e, o = n.container, u = n.target,
|
88
|
+
var D = function() {
|
89
|
+
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = n.action, r = e === void 0 ? "copy" : e, o = n.container, u = n.target, _ = n.text;
|
71
90
|
if (r !== "copy" && r !== "cut")
|
72
91
|
throw new Error('Invalid "action" value, use either "copy" or "cut"');
|
73
92
|
if (u !== void 0)
|
74
|
-
if (u &&
|
93
|
+
if (u && A(u) === "object" && u.nodeType === 1) {
|
75
94
|
if (r === "copy" && u.hasAttribute("disabled"))
|
76
95
|
throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
|
77
96
|
if (r === "cut" && (u.hasAttribute("readonly") || u.hasAttribute("disabled")))
|
78
97
|
throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);
|
79
98
|
} else
|
80
99
|
throw new Error('Invalid "target" value, use a valid Element');
|
81
|
-
if (
|
82
|
-
return
|
100
|
+
if (_)
|
101
|
+
return P(_, {
|
83
102
|
container: o
|
84
103
|
});
|
85
104
|
if (u)
|
86
|
-
return r === "cut" ? p(u) :
|
105
|
+
return r === "cut" ? p(u) : P(u, {
|
87
106
|
container: o
|
88
107
|
});
|
89
|
-
},
|
90
|
-
function
|
108
|
+
}, F = D;
|
109
|
+
function x(i) {
|
91
110
|
"@babel/helpers - typeof";
|
92
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
111
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? x = function(e) {
|
93
112
|
return typeof e;
|
94
|
-
} :
|
113
|
+
} : x = function(e) {
|
95
114
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
96
|
-
},
|
115
|
+
}, x(i);
|
97
116
|
}
|
98
|
-
function
|
117
|
+
function H(i, n) {
|
99
118
|
if (!(i instanceof n))
|
100
119
|
throw new TypeError("Cannot call a class as a function");
|
101
120
|
}
|
@@ -105,40 +124,40 @@ var M = { exports: {} };
|
|
105
124
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(i, r.key, r);
|
106
125
|
}
|
107
126
|
}
|
108
|
-
function
|
127
|
+
function I(i, n, e) {
|
109
128
|
return n && R(i.prototype, n), e && R(i, e), i;
|
110
129
|
}
|
111
|
-
function
|
130
|
+
function z(i, n) {
|
112
131
|
if (typeof n != "function" && n !== null)
|
113
132
|
throw new TypeError("Super expression must either be null or a function");
|
114
|
-
i.prototype = Object.create(n && n.prototype, { constructor: { value: i, writable: !0, configurable: !0 } }), n &&
|
133
|
+
i.prototype = Object.create(n && n.prototype, { constructor: { value: i, writable: !0, configurable: !0 } }), n && L(i, n);
|
115
134
|
}
|
116
|
-
function
|
117
|
-
return
|
135
|
+
function L(i, n) {
|
136
|
+
return L = Object.setPrototypeOf || function(r, o) {
|
118
137
|
return r.__proto__ = o, r;
|
119
|
-
},
|
138
|
+
}, L(i, n);
|
120
139
|
}
|
121
|
-
function
|
122
|
-
var n =
|
140
|
+
function U(i) {
|
141
|
+
var n = V();
|
123
142
|
return function() {
|
124
|
-
var r =
|
143
|
+
var r = O(i), o;
|
125
144
|
if (n) {
|
126
|
-
var u =
|
145
|
+
var u = O(this).constructor;
|
127
146
|
o = Reflect.construct(r, arguments, u);
|
128
147
|
} else
|
129
148
|
o = r.apply(this, arguments);
|
130
|
-
return
|
149
|
+
return Y(this, o);
|
131
150
|
};
|
132
151
|
}
|
133
|
-
function
|
134
|
-
return n && (
|
152
|
+
function Y(i, n) {
|
153
|
+
return n && (x(n) === "object" || typeof n == "function") ? n : G(i);
|
135
154
|
}
|
136
|
-
function
|
155
|
+
function G(i) {
|
137
156
|
if (i === void 0)
|
138
157
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
139
158
|
return i;
|
140
159
|
}
|
141
|
-
function
|
160
|
+
function V() {
|
142
161
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
143
162
|
if (typeof Proxy == "function") return !0;
|
144
163
|
try {
|
@@ -148,28 +167,28 @@ var M = { exports: {} };
|
|
148
167
|
return !1;
|
149
168
|
}
|
150
169
|
}
|
151
|
-
function
|
152
|
-
return
|
170
|
+
function O(i) {
|
171
|
+
return O = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
|
153
172
|
return e.__proto__ || Object.getPrototypeOf(e);
|
154
|
-
},
|
173
|
+
}, O(i);
|
155
174
|
}
|
156
|
-
function
|
175
|
+
function j(i, n) {
|
157
176
|
var e = "data-clipboard-".concat(i);
|
158
177
|
if (n.hasAttribute(e))
|
159
178
|
return n.getAttribute(e);
|
160
179
|
}
|
161
|
-
var
|
162
|
-
|
163
|
-
var n =
|
180
|
+
var X = /* @__PURE__ */ function(i) {
|
181
|
+
z(e, i);
|
182
|
+
var n = U(e);
|
164
183
|
function e(r, o) {
|
165
184
|
var u;
|
166
|
-
return
|
185
|
+
return H(this, e), u = n.call(this), u.resolveOptions(o), u.listenClick(r), u;
|
167
186
|
}
|
168
|
-
return
|
187
|
+
return I(e, [{
|
169
188
|
key: "resolveOptions",
|
170
189
|
value: function() {
|
171
190
|
var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
172
|
-
this.action = typeof o.action == "function" ? o.action : this.defaultAction, this.target = typeof o.target == "function" ? o.target : this.defaultTarget, this.text = typeof o.text == "function" ? o.text : this.defaultText, this.container =
|
191
|
+
this.action = typeof o.action == "function" ? o.action : this.defaultAction, this.target = typeof o.target == "function" ? o.target : this.defaultTarget, this.text = typeof o.text == "function" ? o.text : this.defaultText, this.container = x(o.container) === "object" ? o.container : document.body;
|
173
192
|
}
|
174
193
|
/**
|
175
194
|
* Adds a click event listener to the passed trigger.
|
@@ -179,8 +198,8 @@ var M = { exports: {} };
|
|
179
198
|
key: "listenClick",
|
180
199
|
value: function(o) {
|
181
200
|
var u = this;
|
182
|
-
this.listener = h()(o, "click", function(
|
183
|
-
return u.onClick(
|
201
|
+
this.listener = h()(o, "click", function(_) {
|
202
|
+
return u.onClick(_);
|
184
203
|
});
|
185
204
|
}
|
186
205
|
/**
|
@@ -190,15 +209,15 @@ var M = { exports: {} };
|
|
190
209
|
}, {
|
191
210
|
key: "onClick",
|
192
211
|
value: function(o) {
|
193
|
-
var u = o.delegateTarget || o.currentTarget,
|
194
|
-
action:
|
212
|
+
var u = o.delegateTarget || o.currentTarget, _ = this.action(u) || "copy", C = F({
|
213
|
+
action: _,
|
195
214
|
container: this.container,
|
196
215
|
target: this.target(u),
|
197
216
|
text: this.text(u)
|
198
217
|
});
|
199
|
-
this.emit(
|
200
|
-
action:
|
201
|
-
text:
|
218
|
+
this.emit(C ? "success" : "error", {
|
219
|
+
action: _,
|
220
|
+
text: C,
|
202
221
|
trigger: u,
|
203
222
|
clearSelection: function() {
|
204
223
|
u && u.focus(), window.getSelection().removeAllRanges();
|
@@ -212,7 +231,7 @@ var M = { exports: {} };
|
|
212
231
|
}, {
|
213
232
|
key: "defaultAction",
|
214
233
|
value: function(o) {
|
215
|
-
return
|
234
|
+
return j("action", o);
|
216
235
|
}
|
217
236
|
/**
|
218
237
|
* Default `target` lookup function.
|
@@ -221,7 +240,7 @@ var M = { exports: {} };
|
|
221
240
|
}, {
|
222
241
|
key: "defaultTarget",
|
223
242
|
value: function(o) {
|
224
|
-
var u =
|
243
|
+
var u = j("target", o);
|
225
244
|
if (u)
|
226
245
|
return document.querySelector(u);
|
227
246
|
}
|
@@ -238,7 +257,7 @@ var M = { exports: {} };
|
|
238
257
|
* @param {Element} trigger
|
239
258
|
*/
|
240
259
|
value: function(o) {
|
241
|
-
return
|
260
|
+
return j("text", o);
|
242
261
|
}
|
243
262
|
/**
|
244
263
|
* Destroy lifecycle.
|
@@ -254,7 +273,7 @@ var M = { exports: {} };
|
|
254
273
|
var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
255
274
|
container: document.body
|
256
275
|
};
|
257
|
-
return
|
276
|
+
return P(o, u);
|
258
277
|
}
|
259
278
|
/**
|
260
279
|
* Allow fire programmatically a cut action
|
@@ -274,13 +293,13 @@ var M = { exports: {} };
|
|
274
293
|
}, {
|
275
294
|
key: "isSupported",
|
276
295
|
value: function() {
|
277
|
-
var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["copy", "cut"], u = typeof o == "string" ? [o] : o,
|
278
|
-
return u.forEach(function(
|
279
|
-
|
280
|
-
}),
|
296
|
+
var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["copy", "cut"], u = typeof o == "string" ? [o] : o, _ = !!document.queryCommandSupported;
|
297
|
+
return u.forEach(function(C) {
|
298
|
+
_ = _ && !!document.queryCommandSupported(C);
|
299
|
+
}), _;
|
281
300
|
}
|
282
301
|
}]), e;
|
283
|
-
}(f()),
|
302
|
+
}(f()), $ = X;
|
284
303
|
}
|
285
304
|
),
|
286
305
|
/***/
|
@@ -307,22 +326,22 @@ var M = { exports: {} };
|
|
307
326
|
/***/
|
308
327
|
function(l, c, t) {
|
309
328
|
var a = t(828);
|
310
|
-
function f(y,
|
311
|
-
var
|
312
|
-
return y.addEventListener(d,
|
329
|
+
function f(y, m, d, v, p) {
|
330
|
+
var w = h.apply(this, arguments);
|
331
|
+
return y.addEventListener(d, w, p), {
|
313
332
|
destroy: function() {
|
314
|
-
y.removeEventListener(d,
|
333
|
+
y.removeEventListener(d, w, p);
|
315
334
|
}
|
316
335
|
};
|
317
336
|
}
|
318
|
-
function s(y,
|
319
|
-
return typeof y.addEventListener == "function" ? f.apply(null, arguments) : typeof d == "function" ? f.bind(null, document).apply(null, arguments) : (typeof y == "string" && (y = document.querySelectorAll(y)), Array.prototype.map.call(y, function(
|
320
|
-
return f(
|
337
|
+
function s(y, m, d, v, p) {
|
338
|
+
return typeof y.addEventListener == "function" ? f.apply(null, arguments) : typeof d == "function" ? f.bind(null, document).apply(null, arguments) : (typeof y == "string" && (y = document.querySelectorAll(y)), Array.prototype.map.call(y, function(w) {
|
339
|
+
return f(w, m, d, v, p);
|
321
340
|
}));
|
322
341
|
}
|
323
|
-
function h(y,
|
342
|
+
function h(y, m, d, v) {
|
324
343
|
return function(p) {
|
325
|
-
p.delegateTarget = a(p.target,
|
344
|
+
p.delegateTarget = a(p.target, m), p.delegateTarget && v.call(y, p);
|
326
345
|
};
|
327
346
|
}
|
328
347
|
l.exports = s;
|
@@ -362,7 +381,7 @@ var M = { exports: {} };
|
|
362
381
|
if (a.nodeList(d))
|
363
382
|
return y(d, v, p);
|
364
383
|
if (a.string(d))
|
365
|
-
return
|
384
|
+
return m(d, v, p);
|
366
385
|
throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
|
367
386
|
}
|
368
387
|
function h(d, v, p) {
|
@@ -373,17 +392,17 @@ var M = { exports: {} };
|
|
373
392
|
};
|
374
393
|
}
|
375
394
|
function y(d, v, p) {
|
376
|
-
return Array.prototype.forEach.call(d, function(
|
377
|
-
|
395
|
+
return Array.prototype.forEach.call(d, function(w) {
|
396
|
+
w.addEventListener(v, p);
|
378
397
|
}), {
|
379
398
|
destroy: function() {
|
380
|
-
Array.prototype.forEach.call(d, function(
|
381
|
-
|
399
|
+
Array.prototype.forEach.call(d, function(w) {
|
400
|
+
w.removeEventListener(v, p);
|
382
401
|
});
|
383
402
|
}
|
384
403
|
};
|
385
404
|
}
|
386
|
-
function
|
405
|
+
function m(d, v, p) {
|
387
406
|
return f(document.body, d, v, p);
|
388
407
|
}
|
389
408
|
l.exports = s;
|
@@ -440,7 +459,7 @@ var M = { exports: {} };
|
|
440
459
|
off: function(t, a) {
|
441
460
|
var f = this.e || (this.e = {}), s = f[t], h = [];
|
442
461
|
if (s && a)
|
443
|
-
for (var y = 0,
|
462
|
+
for (var y = 0, m = s.length; y < m; y++)
|
444
463
|
s[y].fn !== a && s[y].fn._ !== a && h.push(s[y]);
|
445
464
|
return h.length ? f[t] = h : delete f[t], this;
|
446
465
|
}
|
@@ -448,11 +467,11 @@ var M = { exports: {} };
|
|
448
467
|
}
|
449
468
|
)
|
450
469
|
/******/
|
451
|
-
},
|
452
|
-
function
|
453
|
-
if (
|
454
|
-
return
|
455
|
-
var c =
|
470
|
+
}, E = {};
|
471
|
+
function b(l) {
|
472
|
+
if (E[l])
|
473
|
+
return E[l].exports;
|
474
|
+
var c = E[l] = {
|
456
475
|
/******/
|
457
476
|
// no module.id needed
|
458
477
|
/******/
|
@@ -461,10 +480,10 @@ var M = { exports: {} };
|
|
461
480
|
exports: {}
|
462
481
|
/******/
|
463
482
|
};
|
464
|
-
return
|
483
|
+
return S[l](c, c.exports, b), c.exports;
|
465
484
|
}
|
466
485
|
return function() {
|
467
|
-
|
486
|
+
b.n = function(l) {
|
468
487
|
var c = l && l.__esModule ? (
|
469
488
|
/******/
|
470
489
|
function() {
|
@@ -476,26 +495,27 @@ var M = { exports: {} };
|
|
476
495
|
return l;
|
477
496
|
}
|
478
497
|
);
|
479
|
-
return
|
498
|
+
return b.d(c, { a: c }), c;
|
480
499
|
};
|
481
500
|
}(), function() {
|
482
|
-
|
501
|
+
b.d = function(l, c) {
|
483
502
|
for (var t in c)
|
484
|
-
|
503
|
+
b.o(c, t) && !b.o(l, t) && Object.defineProperty(l, t, { enumerable: !0, get: c[t] });
|
485
504
|
};
|
486
505
|
}(), function() {
|
487
|
-
|
506
|
+
b.o = function(l, c) {
|
488
507
|
return Object.prototype.hasOwnProperty.call(l, c);
|
489
508
|
};
|
490
|
-
}(),
|
509
|
+
}(), b(686);
|
491
510
|
}().default
|
492
511
|
);
|
493
512
|
});
|
494
|
-
})(
|
495
|
-
var
|
496
|
-
const
|
513
|
+
})(N);
|
514
|
+
var K = N.exports;
|
515
|
+
const Z = /* @__PURE__ */ J(K);
|
497
516
|
export {
|
498
|
-
|
499
|
-
|
500
|
-
B as
|
517
|
+
Z as C,
|
518
|
+
W as a,
|
519
|
+
B as c,
|
520
|
+
J as g
|
501
521
|
};
|
@@ -0,0 +1,134 @@
|
|
1
|
+
import { g as $ } from "./vendor-clipboard-BqjesuiY.js";
|
2
|
+
var A = { exports: {} };
|
3
|
+
(function(d) {
|
4
|
+
var I = function() {
|
5
|
+
function l(n, t) {
|
6
|
+
return t != null && n instanceof t;
|
7
|
+
}
|
8
|
+
var v;
|
9
|
+
try {
|
10
|
+
v = Map;
|
11
|
+
} catch {
|
12
|
+
v = function() {
|
13
|
+
};
|
14
|
+
}
|
15
|
+
var _;
|
16
|
+
try {
|
17
|
+
_ = Set;
|
18
|
+
} catch {
|
19
|
+
_ = function() {
|
20
|
+
};
|
21
|
+
}
|
22
|
+
var y;
|
23
|
+
try {
|
24
|
+
y = Promise;
|
25
|
+
} catch {
|
26
|
+
y = function() {
|
27
|
+
};
|
28
|
+
}
|
29
|
+
function o(n, t, u, x, E) {
|
30
|
+
typeof t == "object" && (u = t.depth, x = t.prototype, E = t.includeNonEnumerable, t = t.circular);
|
31
|
+
var B = [], R = [], U = typeof Buffer < "u";
|
32
|
+
typeof t > "u" && (t = !0), typeof u > "u" && (u = 1 / 0);
|
33
|
+
function r(e, c) {
|
34
|
+
if (e === null)
|
35
|
+
return null;
|
36
|
+
if (c === 0)
|
37
|
+
return e;
|
38
|
+
var f, g;
|
39
|
+
if (typeof e != "object")
|
40
|
+
return e;
|
41
|
+
if (l(e, v))
|
42
|
+
f = new v();
|
43
|
+
else if (l(e, _))
|
44
|
+
f = new _();
|
45
|
+
else if (l(e, y))
|
46
|
+
f = new y(function(a, b) {
|
47
|
+
e.then(function(j) {
|
48
|
+
a(r(j, c - 1));
|
49
|
+
}, function(j) {
|
50
|
+
b(r(j, c - 1));
|
51
|
+
});
|
52
|
+
});
|
53
|
+
else if (o.__isArray(e))
|
54
|
+
f = [];
|
55
|
+
else if (o.__isRegExp(e))
|
56
|
+
f = new RegExp(e.source, h(e)), e.lastIndex && (f.lastIndex = e.lastIndex);
|
57
|
+
else if (o.__isDate(e))
|
58
|
+
f = new Date(e.getTime());
|
59
|
+
else {
|
60
|
+
if (U && Buffer.isBuffer(e))
|
61
|
+
return Buffer.allocUnsafe ? f = Buffer.allocUnsafe(e.length) : f = new Buffer(e.length), e.copy(f), f;
|
62
|
+
l(e, Error) ? f = Object.create(e) : typeof x > "u" ? (g = Object.getPrototypeOf(e), f = Object.create(g)) : (f = Object.create(x), g = x);
|
63
|
+
}
|
64
|
+
if (t) {
|
65
|
+
var S = B.indexOf(e);
|
66
|
+
if (S != -1)
|
67
|
+
return R[S];
|
68
|
+
B.push(e), R.push(f);
|
69
|
+
}
|
70
|
+
l(e, v) && e.forEach(function(a, b) {
|
71
|
+
var j = r(b, c - 1), k = r(a, c - 1);
|
72
|
+
f.set(j, k);
|
73
|
+
}), l(e, _) && e.forEach(function(a) {
|
74
|
+
var b = r(a, c - 1);
|
75
|
+
f.add(b);
|
76
|
+
});
|
77
|
+
for (var i in e) {
|
78
|
+
var D;
|
79
|
+
g && (D = Object.getOwnPropertyDescriptor(g, i)), !(D && D.set == null) && (f[i] = r(e[i], c - 1));
|
80
|
+
}
|
81
|
+
if (Object.getOwnPropertySymbols)
|
82
|
+
for (var m = Object.getOwnPropertySymbols(e), i = 0; i < m.length; i++) {
|
83
|
+
var w = m[i], s = Object.getOwnPropertyDescriptor(e, w);
|
84
|
+
s && !s.enumerable && !E || (f[w] = r(e[w], c - 1), s.enumerable || Object.defineProperty(f, w, {
|
85
|
+
enumerable: !1
|
86
|
+
}));
|
87
|
+
}
|
88
|
+
if (E)
|
89
|
+
for (var C = Object.getOwnPropertyNames(e), i = 0; i < C.length; i++) {
|
90
|
+
var P = C[i], s = Object.getOwnPropertyDescriptor(e, P);
|
91
|
+
s && s.enumerable || (f[P] = r(e[P], c - 1), Object.defineProperty(f, P, {
|
92
|
+
enumerable: !1
|
93
|
+
}));
|
94
|
+
}
|
95
|
+
return f;
|
96
|
+
}
|
97
|
+
return r(n, u);
|
98
|
+
}
|
99
|
+
o.clonePrototype = function(t) {
|
100
|
+
if (t === null)
|
101
|
+
return null;
|
102
|
+
var u = function() {
|
103
|
+
};
|
104
|
+
return u.prototype = t, new u();
|
105
|
+
};
|
106
|
+
function O(n) {
|
107
|
+
return Object.prototype.toString.call(n);
|
108
|
+
}
|
109
|
+
o.__objToStr = O;
|
110
|
+
function F(n) {
|
111
|
+
return typeof n == "object" && O(n) === "[object Date]";
|
112
|
+
}
|
113
|
+
o.__isDate = F;
|
114
|
+
function T(n) {
|
115
|
+
return typeof n == "object" && O(n) === "[object Array]";
|
116
|
+
}
|
117
|
+
o.__isArray = T;
|
118
|
+
function M(n) {
|
119
|
+
return typeof n == "object" && O(n) === "[object RegExp]";
|
120
|
+
}
|
121
|
+
o.__isRegExp = M;
|
122
|
+
function h(n) {
|
123
|
+
var t = "";
|
124
|
+
return n.global && (t += "g"), n.ignoreCase && (t += "i"), n.multiline && (t += "m"), t;
|
125
|
+
}
|
126
|
+
return o.__getRegExpFlags = h, o;
|
127
|
+
}();
|
128
|
+
d.exports && (d.exports = I);
|
129
|
+
})(A);
|
130
|
+
var q = A.exports;
|
131
|
+
const G = /* @__PURE__ */ $(q);
|
132
|
+
export {
|
133
|
+
G as c
|
134
|
+
};
|