santech-galaxy-component 1.0.6-22 → 1.0.6-24
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/lib/index.common.js +651 -30
- package/lib/index.css +1 -1
- package/lib/index.umd.js +651 -30
- package/lib/index.umd.min.js +13 -6
- package/package.json +2 -1
package/lib/index.common.js
CHANGED
|
@@ -5468,6 +5468,13 @@ module.exports = function (iterator) {
|
|
|
5468
5468
|
};
|
|
5469
5469
|
|
|
5470
5470
|
|
|
5471
|
+
/***/ }),
|
|
5472
|
+
|
|
5473
|
+
/***/ "2a7f":
|
|
5474
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5475
|
+
|
|
5476
|
+
// extracted by mini-css-extract-plugin
|
|
5477
|
+
|
|
5471
5478
|
/***/ }),
|
|
5472
5479
|
|
|
5473
5480
|
/***/ "2ae6":
|
|
@@ -15936,6 +15943,530 @@ function helperGetYMDTime (date) {
|
|
|
15936
15943
|
module.exports = helperGetYMDTime
|
|
15937
15944
|
|
|
15938
15945
|
|
|
15946
|
+
/***/ }),
|
|
15947
|
+
|
|
15948
|
+
/***/ "6676":
|
|
15949
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
15950
|
+
|
|
15951
|
+
"use strict";
|
|
15952
|
+
/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return copyText; });
|
|
15953
|
+
function _typeof(obj) {
|
|
15954
|
+
"@babel/helpers - typeof";
|
|
15955
|
+
|
|
15956
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
15957
|
+
_typeof = function (obj) {
|
|
15958
|
+
return typeof obj;
|
|
15959
|
+
};
|
|
15960
|
+
} else {
|
|
15961
|
+
_typeof = function (obj) {
|
|
15962
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
15963
|
+
};
|
|
15964
|
+
}
|
|
15965
|
+
|
|
15966
|
+
return _typeof(obj);
|
|
15967
|
+
}
|
|
15968
|
+
|
|
15969
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
15970
|
+
|
|
15971
|
+
function unwrapExports (x) {
|
|
15972
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
15973
|
+
}
|
|
15974
|
+
|
|
15975
|
+
function createCommonjsModule(fn, module) {
|
|
15976
|
+
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
15977
|
+
}
|
|
15978
|
+
|
|
15979
|
+
var clipboard_min = createCommonjsModule(function (module, exports) {
|
|
15980
|
+
/*!
|
|
15981
|
+
* clipboard.js v2.0.6
|
|
15982
|
+
* https://clipboardjs.com/
|
|
15983
|
+
*
|
|
15984
|
+
* Licensed MIT © Zeno Rocha
|
|
15985
|
+
*/
|
|
15986
|
+
!function (t, e) {
|
|
15987
|
+
module.exports = e() ;
|
|
15988
|
+
}(commonjsGlobal, function () {
|
|
15989
|
+
return o = {}, r.m = n = [function (t, e) {
|
|
15990
|
+
t.exports = function (t) {
|
|
15991
|
+
var e;
|
|
15992
|
+
if ("SELECT" === t.nodeName) t.focus(), e = t.value;else if ("INPUT" === t.nodeName || "TEXTAREA" === t.nodeName) {
|
|
15993
|
+
var n = t.hasAttribute("readonly");
|
|
15994
|
+
n || t.setAttribute("readonly", ""), t.select(), t.setSelectionRange(0, t.value.length), n || t.removeAttribute("readonly"), e = t.value;
|
|
15995
|
+
} else {
|
|
15996
|
+
t.hasAttribute("contenteditable") && t.focus();
|
|
15997
|
+
var o = window.getSelection(),
|
|
15998
|
+
r = document.createRange();
|
|
15999
|
+
r.selectNodeContents(t), o.removeAllRanges(), o.addRange(r), e = o.toString();
|
|
16000
|
+
}
|
|
16001
|
+
return e;
|
|
16002
|
+
};
|
|
16003
|
+
}, function (t, e) {
|
|
16004
|
+
function n() {}
|
|
16005
|
+
|
|
16006
|
+
n.prototype = {
|
|
16007
|
+
on: function (t, e, n) {
|
|
16008
|
+
var o = this.e || (this.e = {});
|
|
16009
|
+
return (o[t] || (o[t] = [])).push({
|
|
16010
|
+
fn: e,
|
|
16011
|
+
ctx: n
|
|
16012
|
+
}), this;
|
|
16013
|
+
},
|
|
16014
|
+
once: function (t, e, n) {
|
|
16015
|
+
var o = this;
|
|
16016
|
+
|
|
16017
|
+
function r() {
|
|
16018
|
+
o.off(t, r), e.apply(n, arguments);
|
|
16019
|
+
}
|
|
16020
|
+
|
|
16021
|
+
return r._ = e, this.on(t, r, n);
|
|
16022
|
+
},
|
|
16023
|
+
emit: function (t) {
|
|
16024
|
+
for (var e = [].slice.call(arguments, 1), n = ((this.e || (this.e = {}))[t] || []).slice(), o = 0, r = n.length; o < r; o++) n[o].fn.apply(n[o].ctx, e);
|
|
16025
|
+
|
|
16026
|
+
return this;
|
|
16027
|
+
},
|
|
16028
|
+
off: function (t, e) {
|
|
16029
|
+
var n = this.e || (this.e = {}),
|
|
16030
|
+
o = n[t],
|
|
16031
|
+
r = [];
|
|
16032
|
+
if (o && e) for (var i = 0, a = o.length; i < a; i++) o[i].fn !== e && o[i].fn._ !== e && r.push(o[i]);
|
|
16033
|
+
return r.length ? n[t] = r : delete n[t], this;
|
|
16034
|
+
}
|
|
16035
|
+
}, t.exports = n, t.exports.TinyEmitter = n;
|
|
16036
|
+
}, function (t, e, n) {
|
|
16037
|
+
var d = n(3),
|
|
16038
|
+
h = n(4);
|
|
16039
|
+
|
|
16040
|
+
t.exports = function (t, e, n) {
|
|
16041
|
+
if (!t && !e && !n) throw new Error("Missing required arguments");
|
|
16042
|
+
if (!d.string(e)) throw new TypeError("Second argument must be a String");
|
|
16043
|
+
if (!d.fn(n)) throw new TypeError("Third argument must be a Function");
|
|
16044
|
+
if (d.node(t)) return s = e, f = n, (u = t).addEventListener(s, f), {
|
|
16045
|
+
destroy: function () {
|
|
16046
|
+
u.removeEventListener(s, f);
|
|
16047
|
+
}
|
|
16048
|
+
};
|
|
16049
|
+
if (d.nodeList(t)) return a = t, c = e, l = n, Array.prototype.forEach.call(a, function (t) {
|
|
16050
|
+
t.addEventListener(c, l);
|
|
16051
|
+
}), {
|
|
16052
|
+
destroy: function () {
|
|
16053
|
+
Array.prototype.forEach.call(a, function (t) {
|
|
16054
|
+
t.removeEventListener(c, l);
|
|
16055
|
+
});
|
|
16056
|
+
}
|
|
16057
|
+
};
|
|
16058
|
+
if (d.string(t)) return o = t, r = e, i = n, h(document.body, o, r, i);
|
|
16059
|
+
throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
|
|
16060
|
+
var o, r, i, a, c, l, u, s, f;
|
|
16061
|
+
};
|
|
16062
|
+
}, function (t, n) {
|
|
16063
|
+
n.node = function (t) {
|
|
16064
|
+
return void 0 !== t && t instanceof HTMLElement && 1 === t.nodeType;
|
|
16065
|
+
}, n.nodeList = function (t) {
|
|
16066
|
+
var e = Object.prototype.toString.call(t);
|
|
16067
|
+
return void 0 !== t && ("[object NodeList]" === e || "[object HTMLCollection]" === e) && "length" in t && (0 === t.length || n.node(t[0]));
|
|
16068
|
+
}, n.string = function (t) {
|
|
16069
|
+
return "string" == typeof t || t instanceof String;
|
|
16070
|
+
}, n.fn = function (t) {
|
|
16071
|
+
return "[object Function]" === Object.prototype.toString.call(t);
|
|
16072
|
+
};
|
|
16073
|
+
}, function (t, e, n) {
|
|
16074
|
+
var a = n(5);
|
|
16075
|
+
|
|
16076
|
+
function i(t, e, n, o, r) {
|
|
16077
|
+
var i = function (e, n, t, o) {
|
|
16078
|
+
return function (t) {
|
|
16079
|
+
t.delegateTarget = a(t.target, n), t.delegateTarget && o.call(e, t);
|
|
16080
|
+
};
|
|
16081
|
+
}.apply(this, arguments);
|
|
16082
|
+
|
|
16083
|
+
return t.addEventListener(n, i, r), {
|
|
16084
|
+
destroy: function () {
|
|
16085
|
+
t.removeEventListener(n, i, r);
|
|
16086
|
+
}
|
|
16087
|
+
};
|
|
16088
|
+
}
|
|
16089
|
+
|
|
16090
|
+
t.exports = function (t, e, n, o, r) {
|
|
16091
|
+
return "function" == typeof t.addEventListener ? i.apply(null, arguments) : "function" == typeof n ? i.bind(null, document).apply(null, arguments) : ("string" == typeof t && (t = document.querySelectorAll(t)), Array.prototype.map.call(t, function (t) {
|
|
16092
|
+
return i(t, e, n, o, r);
|
|
16093
|
+
}));
|
|
16094
|
+
};
|
|
16095
|
+
}, function (t, e) {
|
|
16096
|
+
if ("undefined" != typeof Element && !Element.prototype.matches) {
|
|
16097
|
+
var n = Element.prototype;
|
|
16098
|
+
n.matches = n.matchesSelector || n.mozMatchesSelector || n.msMatchesSelector || n.oMatchesSelector || n.webkitMatchesSelector;
|
|
16099
|
+
}
|
|
16100
|
+
|
|
16101
|
+
t.exports = function (t, e) {
|
|
16102
|
+
for (; t && 9 !== t.nodeType;) {
|
|
16103
|
+
if ("function" == typeof t.matches && t.matches(e)) return t;
|
|
16104
|
+
t = t.parentNode;
|
|
16105
|
+
}
|
|
16106
|
+
};
|
|
16107
|
+
}, function (t, e, n) {
|
|
16108
|
+
|
|
16109
|
+
n.r(e);
|
|
16110
|
+
var o = n(0),
|
|
16111
|
+
r = n.n(o),
|
|
16112
|
+
i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) {
|
|
16113
|
+
return typeof t;
|
|
16114
|
+
} : function (t) {
|
|
16115
|
+
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
16116
|
+
};
|
|
16117
|
+
|
|
16118
|
+
function a(t, e) {
|
|
16119
|
+
for (var n = 0; n < e.length; n++) {
|
|
16120
|
+
var o = e[n];
|
|
16121
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(t, o.key, o);
|
|
16122
|
+
}
|
|
16123
|
+
}
|
|
16124
|
+
|
|
16125
|
+
function c(t) {
|
|
16126
|
+
!function (t, e) {
|
|
16127
|
+
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
16128
|
+
}(this, c), this.resolveOptions(t), this.initSelection();
|
|
16129
|
+
}
|
|
16130
|
+
|
|
16131
|
+
var l = (function (t, e, n) {
|
|
16132
|
+
return e && a(t.prototype, e), n && a(t, n), t;
|
|
16133
|
+
}(c, [{
|
|
16134
|
+
key: "resolveOptions",
|
|
16135
|
+
value: function (t) {
|
|
16136
|
+
var e = 0 < arguments.length && void 0 !== t ? t : {};
|
|
16137
|
+
this.action = e.action, this.container = e.container, this.emitter = e.emitter, this.target = e.target, this.text = e.text, this.trigger = e.trigger, this.selectedText = "";
|
|
16138
|
+
}
|
|
16139
|
+
}, {
|
|
16140
|
+
key: "initSelection",
|
|
16141
|
+
value: function () {
|
|
16142
|
+
this.text ? this.selectFake() : this.target && this.selectTarget();
|
|
16143
|
+
}
|
|
16144
|
+
}, {
|
|
16145
|
+
key: "selectFake",
|
|
16146
|
+
value: function () {
|
|
16147
|
+
var t = this,
|
|
16148
|
+
e = "rtl" == document.documentElement.getAttribute("dir");
|
|
16149
|
+
this.removeFake(), this.fakeHandlerCallback = function () {
|
|
16150
|
+
return t.removeFake();
|
|
16151
|
+
}, this.fakeHandler = this.container.addEventListener("click", this.fakeHandlerCallback) || !0, this.fakeElem = document.createElement("textarea"), this.fakeElem.style.fontSize = "12pt", this.fakeElem.style.border = "0", this.fakeElem.style.padding = "0", this.fakeElem.style.margin = "0", this.fakeElem.style.position = "absolute", this.fakeElem.style[e ? "right" : "left"] = "-9999px";
|
|
16152
|
+
var n = window.pageYOffset || document.documentElement.scrollTop;
|
|
16153
|
+
this.fakeElem.style.top = n + "px", this.fakeElem.setAttribute("readonly", ""), this.fakeElem.value = this.text, this.container.appendChild(this.fakeElem), this.selectedText = r()(this.fakeElem), this.copyText();
|
|
16154
|
+
}
|
|
16155
|
+
}, {
|
|
16156
|
+
key: "removeFake",
|
|
16157
|
+
value: function () {
|
|
16158
|
+
this.fakeHandler && (this.container.removeEventListener("click", this.fakeHandlerCallback), this.fakeHandler = null, this.fakeHandlerCallback = null), this.fakeElem && (this.container.removeChild(this.fakeElem), this.fakeElem = null);
|
|
16159
|
+
}
|
|
16160
|
+
}, {
|
|
16161
|
+
key: "selectTarget",
|
|
16162
|
+
value: function () {
|
|
16163
|
+
this.selectedText = r()(this.target), this.copyText();
|
|
16164
|
+
}
|
|
16165
|
+
}, {
|
|
16166
|
+
key: "copyText",
|
|
16167
|
+
value: function () {
|
|
16168
|
+
var e = void 0;
|
|
16169
|
+
|
|
16170
|
+
try {
|
|
16171
|
+
e = document.execCommand(this.action);
|
|
16172
|
+
} catch (t) {
|
|
16173
|
+
e = !1;
|
|
16174
|
+
}
|
|
16175
|
+
|
|
16176
|
+
this.handleResult(e);
|
|
16177
|
+
}
|
|
16178
|
+
}, {
|
|
16179
|
+
key: "handleResult",
|
|
16180
|
+
value: function (t) {
|
|
16181
|
+
this.emitter.emit(t ? "success" : "error", {
|
|
16182
|
+
action: this.action,
|
|
16183
|
+
text: this.selectedText,
|
|
16184
|
+
trigger: this.trigger,
|
|
16185
|
+
clearSelection: this.clearSelection.bind(this)
|
|
16186
|
+
});
|
|
16187
|
+
}
|
|
16188
|
+
}, {
|
|
16189
|
+
key: "clearSelection",
|
|
16190
|
+
value: function () {
|
|
16191
|
+
this.trigger && this.trigger.focus(), document.activeElement.blur(), window.getSelection().removeAllRanges();
|
|
16192
|
+
}
|
|
16193
|
+
}, {
|
|
16194
|
+
key: "destroy",
|
|
16195
|
+
value: function () {
|
|
16196
|
+
this.removeFake();
|
|
16197
|
+
}
|
|
16198
|
+
}, {
|
|
16199
|
+
key: "action",
|
|
16200
|
+
set: function (t) {
|
|
16201
|
+
var e = 0 < arguments.length && void 0 !== t ? t : "copy";
|
|
16202
|
+
if (this._action = e, "copy" !== this._action && "cut" !== this._action) throw new Error('Invalid "action" value, use either "copy" or "cut"');
|
|
16203
|
+
},
|
|
16204
|
+
get: function () {
|
|
16205
|
+
return this._action;
|
|
16206
|
+
}
|
|
16207
|
+
}, {
|
|
16208
|
+
key: "target",
|
|
16209
|
+
set: function (t) {
|
|
16210
|
+
if (void 0 !== t) {
|
|
16211
|
+
if (!t || "object" !== (void 0 === t ? "undefined" : i(t)) || 1 !== t.nodeType) throw new Error('Invalid "target" value, use a valid Element');
|
|
16212
|
+
if ("copy" === this.action && t.hasAttribute("disabled")) throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
|
|
16213
|
+
if ("cut" === this.action && (t.hasAttribute("readonly") || t.hasAttribute("disabled"))) throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');
|
|
16214
|
+
this._target = t;
|
|
16215
|
+
}
|
|
16216
|
+
},
|
|
16217
|
+
get: function () {
|
|
16218
|
+
return this._target;
|
|
16219
|
+
}
|
|
16220
|
+
}]), c),
|
|
16221
|
+
u = n(1),
|
|
16222
|
+
s = n.n(u),
|
|
16223
|
+
f = n(2),
|
|
16224
|
+
d = n.n(f),
|
|
16225
|
+
h = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) {
|
|
16226
|
+
return typeof t;
|
|
16227
|
+
} : function (t) {
|
|
16228
|
+
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
16229
|
+
},
|
|
16230
|
+
p = function (t, e, n) {
|
|
16231
|
+
return e && y(t.prototype, e), n && y(t, n), t;
|
|
16232
|
+
};
|
|
16233
|
+
|
|
16234
|
+
function y(t, e) {
|
|
16235
|
+
for (var n = 0; n < e.length; n++) {
|
|
16236
|
+
var o = e[n];
|
|
16237
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(t, o.key, o);
|
|
16238
|
+
}
|
|
16239
|
+
}
|
|
16240
|
+
|
|
16241
|
+
var m = (function (t, e) {
|
|
16242
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
16243
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
16244
|
+
constructor: {
|
|
16245
|
+
value: t,
|
|
16246
|
+
enumerable: !1,
|
|
16247
|
+
writable: !0,
|
|
16248
|
+
configurable: !0
|
|
16249
|
+
}
|
|
16250
|
+
}), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
16251
|
+
}(v, s.a), p(v, [{
|
|
16252
|
+
key: "resolveOptions",
|
|
16253
|
+
value: function (t) {
|
|
16254
|
+
var e = 0 < arguments.length && void 0 !== t ? t : {};
|
|
16255
|
+
this.action = "function" == typeof e.action ? e.action : this.defaultAction, this.target = "function" == typeof e.target ? e.target : this.defaultTarget, this.text = "function" == typeof e.text ? e.text : this.defaultText, this.container = "object" === h(e.container) ? e.container : document.body;
|
|
16256
|
+
}
|
|
16257
|
+
}, {
|
|
16258
|
+
key: "listenClick",
|
|
16259
|
+
value: function (t) {
|
|
16260
|
+
var e = this;
|
|
16261
|
+
this.listener = d()(t, "click", function (t) {
|
|
16262
|
+
return e.onClick(t);
|
|
16263
|
+
});
|
|
16264
|
+
}
|
|
16265
|
+
}, {
|
|
16266
|
+
key: "onClick",
|
|
16267
|
+
value: function (t) {
|
|
16268
|
+
var e = t.delegateTarget || t.currentTarget;
|
|
16269
|
+
this.clipboardAction && (this.clipboardAction = null), this.clipboardAction = new l({
|
|
16270
|
+
action: this.action(e),
|
|
16271
|
+
target: this.target(e),
|
|
16272
|
+
text: this.text(e),
|
|
16273
|
+
container: this.container,
|
|
16274
|
+
trigger: e,
|
|
16275
|
+
emitter: this
|
|
16276
|
+
});
|
|
16277
|
+
}
|
|
16278
|
+
}, {
|
|
16279
|
+
key: "defaultAction",
|
|
16280
|
+
value: function (t) {
|
|
16281
|
+
return b("action", t);
|
|
16282
|
+
}
|
|
16283
|
+
}, {
|
|
16284
|
+
key: "defaultTarget",
|
|
16285
|
+
value: function (t) {
|
|
16286
|
+
var e = b("target", t);
|
|
16287
|
+
if (e) return document.querySelector(e);
|
|
16288
|
+
}
|
|
16289
|
+
}, {
|
|
16290
|
+
key: "defaultText",
|
|
16291
|
+
value: function (t) {
|
|
16292
|
+
return b("text", t);
|
|
16293
|
+
}
|
|
16294
|
+
}, {
|
|
16295
|
+
key: "destroy",
|
|
16296
|
+
value: function () {
|
|
16297
|
+
this.listener.destroy(), this.clipboardAction && (this.clipboardAction.destroy(), this.clipboardAction = null);
|
|
16298
|
+
}
|
|
16299
|
+
}], [{
|
|
16300
|
+
key: "isSupported",
|
|
16301
|
+
value: function (t) {
|
|
16302
|
+
var e = 0 < arguments.length && void 0 !== t ? t : ["copy", "cut"],
|
|
16303
|
+
n = "string" == typeof e ? [e] : e,
|
|
16304
|
+
o = !!document.queryCommandSupported;
|
|
16305
|
+
return n.forEach(function (t) {
|
|
16306
|
+
o = o && !!document.queryCommandSupported(t);
|
|
16307
|
+
}), o;
|
|
16308
|
+
}
|
|
16309
|
+
}]), v);
|
|
16310
|
+
|
|
16311
|
+
function v(t, e) {
|
|
16312
|
+
!function (t, e) {
|
|
16313
|
+
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
16314
|
+
}(this, v);
|
|
16315
|
+
|
|
16316
|
+
var n = function (t, e) {
|
|
16317
|
+
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
16318
|
+
return !e || "object" != typeof e && "function" != typeof e ? t : e;
|
|
16319
|
+
}(this, (v.__proto__ || Object.getPrototypeOf(v)).call(this));
|
|
16320
|
+
|
|
16321
|
+
return n.resolveOptions(e), n.listenClick(t), n;
|
|
16322
|
+
}
|
|
16323
|
+
|
|
16324
|
+
function b(t, e) {
|
|
16325
|
+
var n = "data-clipboard-" + t;
|
|
16326
|
+
if (e.hasAttribute(n)) return e.getAttribute(n);
|
|
16327
|
+
}
|
|
16328
|
+
|
|
16329
|
+
e.default = m;
|
|
16330
|
+
}], r.c = o, r.d = function (t, e, n) {
|
|
16331
|
+
r.o(t, e) || Object.defineProperty(t, e, {
|
|
16332
|
+
enumerable: !0,
|
|
16333
|
+
get: n
|
|
16334
|
+
});
|
|
16335
|
+
}, r.r = function (t) {
|
|
16336
|
+
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
|
|
16337
|
+
value: "Module"
|
|
16338
|
+
}), Object.defineProperty(t, "__esModule", {
|
|
16339
|
+
value: !0
|
|
16340
|
+
});
|
|
16341
|
+
}, r.t = function (e, t) {
|
|
16342
|
+
if (1 & t && (e = r(e)), 8 & t) return e;
|
|
16343
|
+
if (4 & t && "object" == typeof e && e && e.__esModule) return e;
|
|
16344
|
+
var n = Object.create(null);
|
|
16345
|
+
if (r.r(n), Object.defineProperty(n, "default", {
|
|
16346
|
+
enumerable: !0,
|
|
16347
|
+
value: e
|
|
16348
|
+
}), 2 & t && "string" != typeof e) for (var o in e) r.d(n, o, function (t) {
|
|
16349
|
+
return e[t];
|
|
16350
|
+
}.bind(null, o));
|
|
16351
|
+
return n;
|
|
16352
|
+
}, r.n = function (t) {
|
|
16353
|
+
var e = t && t.__esModule ? function () {
|
|
16354
|
+
return t.default;
|
|
16355
|
+
} : function () {
|
|
16356
|
+
return t;
|
|
16357
|
+
};
|
|
16358
|
+
return r.d(e, "a", e), e;
|
|
16359
|
+
}, r.o = function (t, e) {
|
|
16360
|
+
return Object.prototype.hasOwnProperty.call(t, e);
|
|
16361
|
+
}, r.p = "", r(r.s = 6).default;
|
|
16362
|
+
|
|
16363
|
+
function r(t) {
|
|
16364
|
+
if (o[t]) return o[t].exports;
|
|
16365
|
+
var e = o[t] = {
|
|
16366
|
+
i: t,
|
|
16367
|
+
l: !1,
|
|
16368
|
+
exports: {}
|
|
16369
|
+
};
|
|
16370
|
+
return n[t].call(e.exports, e, e.exports, r), e.l = !0, e.exports;
|
|
16371
|
+
}
|
|
16372
|
+
|
|
16373
|
+
var n, o;
|
|
16374
|
+
});
|
|
16375
|
+
});
|
|
16376
|
+
var Clipboard = unwrapExports(clipboard_min);
|
|
16377
|
+
var clipboard_min_1 = clipboard_min.ClipboardJS;
|
|
16378
|
+
|
|
16379
|
+
var VueClipboardConfig = {
|
|
16380
|
+
autoSetContainer: false,
|
|
16381
|
+
appendToBody: true
|
|
16382
|
+
};
|
|
16383
|
+
function copyText(_text, container, callback) {
|
|
16384
|
+
var fakeElement = document.createElement('button');
|
|
16385
|
+
var clipboard = new Clipboard(fakeElement, {
|
|
16386
|
+
text: function text() {
|
|
16387
|
+
return _text;
|
|
16388
|
+
},
|
|
16389
|
+
action: function action() {
|
|
16390
|
+
return 'copy';
|
|
16391
|
+
},
|
|
16392
|
+
container: _typeof(container) === 'object' ? container : document.body
|
|
16393
|
+
});
|
|
16394
|
+
clipboard.on('success', function (e) {
|
|
16395
|
+
clipboard.destroy();
|
|
16396
|
+
callback(undefined, e);
|
|
16397
|
+
});
|
|
16398
|
+
clipboard.on('error', function (e) {
|
|
16399
|
+
clipboard.destroy();
|
|
16400
|
+
callback(e, undefined);
|
|
16401
|
+
});
|
|
16402
|
+
if (VueClipboardConfig.appendToBody) document.body.appendChild(fakeElement);
|
|
16403
|
+
fakeElement.click();
|
|
16404
|
+
if (VueClipboardConfig.appendToBody) document.body.removeChild(fakeElement);
|
|
16405
|
+
}
|
|
16406
|
+
function index (app, vueClipboardConfig) {
|
|
16407
|
+
VueClipboardConfig = vueClipboardConfig;
|
|
16408
|
+
app.config.globalProperties.$copyText = copyText;
|
|
16409
|
+
app.directive('clipboard', {
|
|
16410
|
+
mounted: function mounted(el, binding) {
|
|
16411
|
+
if (binding.arg === 'success') {
|
|
16412
|
+
el._vClipboard_success = binding.value;
|
|
16413
|
+
} else if (binding.arg === 'error') {
|
|
16414
|
+
el._vClipboard_error = binding.value;
|
|
16415
|
+
} else {
|
|
16416
|
+
var clipboard = new Clipboard(el, {
|
|
16417
|
+
text: function text() {
|
|
16418
|
+
return binding.value;
|
|
16419
|
+
},
|
|
16420
|
+
action: function action() {
|
|
16421
|
+
return binding.arg === 'cut' ? 'cut' : 'copy';
|
|
16422
|
+
},
|
|
16423
|
+
container: vueClipboardConfig.autoSetContainer ? el : undefined
|
|
16424
|
+
});
|
|
16425
|
+
clipboard.on('success', function (e) {
|
|
16426
|
+
var callback = el._vClipboard_success;
|
|
16427
|
+
callback && callback(e);
|
|
16428
|
+
});
|
|
16429
|
+
clipboard.on('error', function (e) {
|
|
16430
|
+
var callback = el._vClipboard_error;
|
|
16431
|
+
callback && callback(e);
|
|
16432
|
+
});
|
|
16433
|
+
el._vClipboard = clipboard;
|
|
16434
|
+
}
|
|
16435
|
+
},
|
|
16436
|
+
updated: function updated(el, binding) {
|
|
16437
|
+
if (binding.arg === 'success') {
|
|
16438
|
+
el._vClipboard_success = binding.value;
|
|
16439
|
+
} else if (binding.arg === 'error') {
|
|
16440
|
+
el._vClipboard_error = binding.value;
|
|
16441
|
+
} else {
|
|
16442
|
+
el._vClipboard.text = function () {
|
|
16443
|
+
return binding.value;
|
|
16444
|
+
};
|
|
16445
|
+
|
|
16446
|
+
el._vClipboard.action = function () {
|
|
16447
|
+
return binding.arg === 'cut' ? 'cut' : 'copy';
|
|
16448
|
+
};
|
|
16449
|
+
}
|
|
16450
|
+
},
|
|
16451
|
+
unmounted: function unmounted(el, binding) {
|
|
16452
|
+
if (binding.arg === 'success') {
|
|
16453
|
+
delete el._vClipboard_success;
|
|
16454
|
+
} else if (binding.arg === 'error') {
|
|
16455
|
+
delete el._vClipboard_error;
|
|
16456
|
+
} else {
|
|
16457
|
+
el._vClipboard.destroy();
|
|
16458
|
+
|
|
16459
|
+
delete el._vClipboard;
|
|
16460
|
+
}
|
|
16461
|
+
}
|
|
16462
|
+
});
|
|
16463
|
+
}
|
|
16464
|
+
|
|
16465
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (index);
|
|
16466
|
+
|
|
16467
|
+
|
|
16468
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
|
|
16469
|
+
|
|
15939
16470
|
/***/ }),
|
|
15940
16471
|
|
|
15941
16472
|
/***/ "6724":
|
|
@@ -44472,13 +45003,6 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
44472
45003
|
}));
|
|
44473
45004
|
|
|
44474
45005
|
|
|
44475
|
-
/***/ }),
|
|
44476
|
-
|
|
44477
|
-
/***/ "88df":
|
|
44478
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
44479
|
-
|
|
44480
|
-
// extracted by mini-css-extract-plugin
|
|
44481
|
-
|
|
44482
45006
|
/***/ }),
|
|
44483
45007
|
|
|
44484
45008
|
/***/ "88e3":
|
|
@@ -44680,17 +45204,6 @@ module.exports = forOf
|
|
|
44680
45204
|
})));
|
|
44681
45205
|
|
|
44682
45206
|
|
|
44683
|
-
/***/ }),
|
|
44684
|
-
|
|
44685
|
-
/***/ "8a24":
|
|
44686
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
44687
|
-
|
|
44688
|
-
"use strict";
|
|
44689
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_overseasAgencyEmail_vue_vue_type_style_index_0_id_2e3e9c36_scoped_true_lang_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("88df");
|
|
44690
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_overseasAgencyEmail_vue_vue_type_style_index_0_id_2e3e9c36_scoped_true_lang_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_overseasAgencyEmail_vue_vue_type_style_index_0_id_2e3e9c36_scoped_true_lang_less__WEBPACK_IMPORTED_MODULE_0__);
|
|
44691
|
-
/* unused harmony reexport * */
|
|
44692
|
-
|
|
44693
|
-
|
|
44694
45207
|
/***/ }),
|
|
44695
45208
|
|
|
44696
45209
|
/***/ "8aa5":
|
|
@@ -60172,6 +60685,17 @@ exports.default = (sfc, props) => {
|
|
|
60172
60685
|
};
|
|
60173
60686
|
|
|
60174
60687
|
|
|
60688
|
+
/***/ }),
|
|
60689
|
+
|
|
60690
|
+
/***/ "d994":
|
|
60691
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
60692
|
+
|
|
60693
|
+
"use strict";
|
|
60694
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_overseasAgencyEmail_vue_vue_type_style_index_0_id_b147fffe_scoped_true_lang_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2a7f");
|
|
60695
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_overseasAgencyEmail_vue_vue_type_style_index_0_id_b147fffe_scoped_true_lang_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_overseasAgencyEmail_vue_vue_type_style_index_0_id_b147fffe_scoped_true_lang_less__WEBPACK_IMPORTED_MODULE_0__);
|
|
60696
|
+
/* unused harmony reexport * */
|
|
60697
|
+
|
|
60698
|
+
|
|
60175
60699
|
/***/ }),
|
|
60176
60700
|
|
|
60177
60701
|
/***/ "d9f8":
|
|
@@ -64161,13 +64685,13 @@ var es_array_find_index = __webpack_require__("c740");
|
|
|
64161
64685
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
64162
64686
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
64163
64687
|
|
|
64164
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-3!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./packages/emailManage/overseasAgencyEmail/src/overseasAgencyEmail.vue?vue&type=template&id=
|
|
64688
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-3!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./packages/emailManage/overseasAgencyEmail/src/overseasAgencyEmail.vue?vue&type=template&id=b147fffe&scoped=true&ts=true
|
|
64165
64689
|
|
|
64166
64690
|
|
|
64167
64691
|
|
|
64168
64692
|
|
|
64169
|
-
var
|
|
64170
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
64693
|
+
var overseasAgencyEmailvue_type_template_id_b147fffe_scoped_true_ts_true_withScopeId = function _withScopeId(n) {
|
|
64694
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-b147fffe"), n = n(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])(), n;
|
|
64171
64695
|
};
|
|
64172
64696
|
|
|
64173
64697
|
var _hoisted_1 = {
|
|
@@ -64178,7 +64702,7 @@ var _hoisted_2 = {
|
|
|
64178
64702
|
class: "search-item"
|
|
64179
64703
|
};
|
|
64180
64704
|
|
|
64181
|
-
var _hoisted_3 = /*#__PURE__*/
|
|
64705
|
+
var _hoisted_3 = /*#__PURE__*/overseasAgencyEmailvue_type_template_id_b147fffe_scoped_true_ts_true_withScopeId(function () {
|
|
64182
64706
|
return /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", {
|
|
64183
64707
|
class: "label"
|
|
64184
64708
|
}, "航线", -1);
|
|
@@ -64193,7 +64717,7 @@ var _hoisted_6 = {
|
|
|
64193
64717
|
class: "search-item"
|
|
64194
64718
|
};
|
|
64195
64719
|
|
|
64196
|
-
var _hoisted_7 = /*#__PURE__*/
|
|
64720
|
+
var _hoisted_7 = /*#__PURE__*/overseasAgencyEmailvue_type_template_id_b147fffe_scoped_true_ts_true_withScopeId(function () {
|
|
64197
64721
|
return /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", {
|
|
64198
64722
|
class: "label"
|
|
64199
64723
|
}, "国家", -1);
|
|
@@ -64207,7 +64731,7 @@ var _hoisted_10 = {
|
|
|
64207
64731
|
class: "search-item"
|
|
64208
64732
|
};
|
|
64209
64733
|
|
|
64210
|
-
var _hoisted_11 = /*#__PURE__*/
|
|
64734
|
+
var _hoisted_11 = /*#__PURE__*/overseasAgencyEmailvue_type_template_id_b147fffe_scoped_true_ts_true_withScopeId(function () {
|
|
64211
64735
|
return /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", {
|
|
64212
64736
|
class: "label"
|
|
64213
64737
|
}, "来源", -1);
|
|
@@ -64246,7 +64770,7 @@ var _hoisted_21 = {
|
|
|
64246
64770
|
var _hoisted_22 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])("项 ");
|
|
64247
64771
|
|
|
64248
64772
|
var _hoisted_23 = ["onClick"];
|
|
64249
|
-
function
|
|
64773
|
+
function overseasAgencyEmailvue_type_template_id_b147fffe_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
64250
64774
|
var _component_up_outlined = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("up-outlined");
|
|
64251
64775
|
|
|
64252
64776
|
var _component_down_outlined = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("down-outlined");
|
|
@@ -64265,6 +64789,14 @@ function overseasAgencyEmailvue_type_template_id_2e3e9c36_scoped_true_ts_true_re
|
|
|
64265
64789
|
|
|
64266
64790
|
var _component_a_switch = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-switch");
|
|
64267
64791
|
|
|
64792
|
+
var _component_CopyOutlined = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("CopyOutlined");
|
|
64793
|
+
|
|
64794
|
+
var _component_a_menu_item = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-menu-item");
|
|
64795
|
+
|
|
64796
|
+
var _component_a_menu = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-menu");
|
|
64797
|
+
|
|
64798
|
+
var _component_a_dropdown = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-dropdown");
|
|
64799
|
+
|
|
64268
64800
|
var _component_custom_table = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("custom-table");
|
|
64269
64801
|
|
|
64270
64802
|
var _component_custom_wrap = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("custom-wrap");
|
|
@@ -64430,13 +64962,49 @@ function overseasAgencyEmailvue_type_template_id_2e3e9c36_scoped_true_ts_true_re
|
|
|
64430
64962
|
}
|
|
64431
64963
|
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(row.companyname), 9, _hoisted_23)];
|
|
64432
64964
|
}),
|
|
64965
|
+
email: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function (_ref3) {
|
|
64966
|
+
var row = _ref3.row;
|
|
64967
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_dropdown, null, {
|
|
64968
|
+
overlay: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
64969
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_menu, null, {
|
|
64970
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
64971
|
+
return [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.formatOfficeContacts(row), function (item, index) {
|
|
64972
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_menu_item, {
|
|
64973
|
+
key: index,
|
|
64974
|
+
onClick: function onClick($event) {
|
|
64975
|
+
return _ctx.copy(item);
|
|
64976
|
+
}
|
|
64977
|
+
}, {
|
|
64978
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
64979
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_CopyOutlined, {
|
|
64980
|
+
style: {
|
|
64981
|
+
"color": "#096dd9"
|
|
64982
|
+
}
|
|
64983
|
+
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.name) + "/ " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.title) + "/ " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.mobile) + "/ " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.email), 1)];
|
|
64984
|
+
}),
|
|
64985
|
+
_: 2
|
|
64986
|
+
}, 1032, ["onClick"]);
|
|
64987
|
+
}), 128))];
|
|
64988
|
+
}),
|
|
64989
|
+
_: 2
|
|
64990
|
+
}, 1024)];
|
|
64991
|
+
}),
|
|
64992
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
64993
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
64994
|
+
class: "link",
|
|
64995
|
+
onClick: _cache[5] || (_cache[5] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function () {}, ["prevent"]))
|
|
64996
|
+
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(row.email), 1)];
|
|
64997
|
+
}),
|
|
64998
|
+
_: 2
|
|
64999
|
+
}, 1024)];
|
|
65000
|
+
}),
|
|
64433
65001
|
_: 1
|
|
64434
65002
|
}, 8, ["maxHeight", "queryParams", "baseURL", "onOnCheckBoxEvent"])])])];
|
|
64435
65003
|
}),
|
|
64436
65004
|
_: 1
|
|
64437
65005
|
});
|
|
64438
65006
|
}
|
|
64439
|
-
// CONCATENATED MODULE: ./packages/emailManage/overseasAgencyEmail/src/overseasAgencyEmail.vue?vue&type=template&id=
|
|
65007
|
+
// CONCATENATED MODULE: ./packages/emailManage/overseasAgencyEmail/src/overseasAgencyEmail.vue?vue&type=template&id=b147fffe&scoped=true&ts=true
|
|
64440
65008
|
|
|
64441
65009
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
64442
65010
|
var es_object_assign = __webpack_require__("cca6");
|
|
@@ -67986,6 +68554,37 @@ var icons_SearchOutlined_SearchOutlined = function SearchOutlined(props, context
|
|
|
67986
68554
|
icons_SearchOutlined_SearchOutlined.displayName = 'SearchOutlined';
|
|
67987
68555
|
icons_SearchOutlined_SearchOutlined.inheritAttrs = false;
|
|
67988
68556
|
/* harmony default export */ var icons_SearchOutlined = (icons_SearchOutlined_SearchOutlined);
|
|
68557
|
+
// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.js
|
|
68558
|
+
// This icon file is generated automatically.
|
|
68559
|
+
var CopyOutlined_CopyOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, "name": "copy", "theme": "outlined" };
|
|
68560
|
+
/* harmony default export */ var asn_CopyOutlined = (CopyOutlined_CopyOutlined);
|
|
68561
|
+
|
|
68562
|
+
// CONCATENATED MODULE: ./node_modules/@ant-design/icons-vue/es/icons/CopyOutlined.js
|
|
68563
|
+
|
|
68564
|
+
|
|
68565
|
+
function CopyOutlined_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { CopyOutlined_defineProperty(target, key, source[key]); }); } return target; }
|
|
68566
|
+
|
|
68567
|
+
function CopyOutlined_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
68568
|
+
|
|
68569
|
+
// GENERATE BY ./scripts/generate.ts
|
|
68570
|
+
// DON NOT EDIT IT MANUALLY
|
|
68571
|
+
|
|
68572
|
+
|
|
68573
|
+
|
|
68574
|
+
var icons_CopyOutlined_CopyOutlined = function CopyOutlined(props, context) {
|
|
68575
|
+
var p = CopyOutlined_objectSpread({}, props, context.attrs);
|
|
68576
|
+
|
|
68577
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(AntdIcon, CopyOutlined_objectSpread({}, p, {
|
|
68578
|
+
"icon": asn_CopyOutlined
|
|
68579
|
+
}), null);
|
|
68580
|
+
};
|
|
68581
|
+
|
|
68582
|
+
icons_CopyOutlined_CopyOutlined.displayName = 'CopyOutlined';
|
|
68583
|
+
icons_CopyOutlined_CopyOutlined.inheritAttrs = false;
|
|
68584
|
+
/* harmony default export */ var icons_CopyOutlined = (icons_CopyOutlined_CopyOutlined);
|
|
68585
|
+
// EXTERNAL MODULE: ./node_modules/vue3-clipboard/dist/vue3-clipboard-es.js
|
|
68586
|
+
var vue3_clipboard_es = __webpack_require__("6676");
|
|
68587
|
+
|
|
67989
68588
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./packages/emailManage/overseasAgencyEmail/src/overseasAgencyEmail.vue?vue&type=script&lang=ts
|
|
67990
68589
|
|
|
67991
68590
|
|
|
@@ -68003,12 +68602,14 @@ icons_SearchOutlined_SearchOutlined.inheritAttrs = false;
|
|
|
68003
68602
|
|
|
68004
68603
|
|
|
68005
68604
|
|
|
68605
|
+
|
|
68006
68606
|
/* harmony default export */ var overseasAgencyEmailvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
68007
68607
|
components: {
|
|
68008
68608
|
UpOutlined: icons_UpOutlined,
|
|
68009
68609
|
DownOutlined: icons_DownOutlined,
|
|
68010
68610
|
SearchOutlined: icons_SearchOutlined,
|
|
68011
68611
|
InfoCircleFilled: icons_InfoCircleFilled,
|
|
68612
|
+
CopyOutlined: icons_CopyOutlined,
|
|
68012
68613
|
customWrap: customWrap
|
|
68013
68614
|
},
|
|
68014
68615
|
name: "overseasAgencyEmail",
|
|
@@ -68343,6 +68944,14 @@ icons_SearchOutlined_SearchOutlined.inheritAttrs = false;
|
|
|
68343
68944
|
var clearCheckBox = function clearCheckBox() {
|
|
68344
68945
|
tableRef.value.setCheckboxRow();
|
|
68345
68946
|
selectRows.value = [];
|
|
68947
|
+
};
|
|
68948
|
+
|
|
68949
|
+
var formatOfficeContacts = function formatOfficeContacts(row) {
|
|
68950
|
+
if (row.officeContacts) {
|
|
68951
|
+
return JSON.parse(row.officeContacts);
|
|
68952
|
+
} else {
|
|
68953
|
+
return [];
|
|
68954
|
+
}
|
|
68346
68955
|
}; // 发送邮件
|
|
68347
68956
|
|
|
68348
68957
|
|
|
@@ -68443,6 +69052,16 @@ icons_SearchOutlined_SearchOutlined.inheritAttrs = false;
|
|
|
68443
69052
|
// }
|
|
68444
69053
|
};
|
|
68445
69054
|
|
|
69055
|
+
var copy = function copy(item) {
|
|
69056
|
+
Object(vue3_clipboard_es["a" /* copyText */])("".concat(item.name, " / ").concat(item.title, " / ").concat(item.mobile, " / ").concat(item.email), undefined, function (error) {
|
|
69057
|
+
if (error) {
|
|
69058
|
+
message.success("复制失败");
|
|
69059
|
+
} else {
|
|
69060
|
+
message.success("复制成功");
|
|
69061
|
+
}
|
|
69062
|
+
});
|
|
69063
|
+
};
|
|
69064
|
+
|
|
68446
69065
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () {
|
|
68447
69066
|
return props.baseURL;
|
|
68448
69067
|
}, function () {
|
|
@@ -68476,20 +69095,22 @@ icons_SearchOutlined_SearchOutlined.inheritAttrs = false;
|
|
|
68476
69095
|
selectedStatus: selectedStatus,
|
|
68477
69096
|
sendEmail: sendEmail,
|
|
68478
69097
|
getOptions: getOptions,
|
|
69098
|
+
copy: copy,
|
|
68479
69099
|
queryParams: queryParams,
|
|
68480
69100
|
selectRows: selectRows,
|
|
68481
69101
|
onCheckBoxEvent: onCheckBoxEvent,
|
|
68482
69102
|
tableRef: tableRef,
|
|
68483
69103
|
clearCheckBox: clearCheckBox,
|
|
68484
69104
|
activeRow: activeRow,
|
|
68485
|
-
openLink: openLink
|
|
69105
|
+
openLink: openLink,
|
|
69106
|
+
formatOfficeContacts: formatOfficeContacts
|
|
68486
69107
|
};
|
|
68487
69108
|
}
|
|
68488
69109
|
}));
|
|
68489
69110
|
// CONCATENATED MODULE: ./packages/emailManage/overseasAgencyEmail/src/overseasAgencyEmail.vue?vue&type=script&lang=ts
|
|
68490
69111
|
|
|
68491
|
-
// EXTERNAL MODULE: ./packages/emailManage/overseasAgencyEmail/src/overseasAgencyEmail.vue?vue&type=style&index=0&id=
|
|
68492
|
-
var
|
|
69112
|
+
// EXTERNAL MODULE: ./packages/emailManage/overseasAgencyEmail/src/overseasAgencyEmail.vue?vue&type=style&index=0&id=b147fffe&scoped=true&lang=less
|
|
69113
|
+
var overseasAgencyEmailvue_type_style_index_0_id_b147fffe_scoped_true_lang_less = __webpack_require__("d994");
|
|
68493
69114
|
|
|
68494
69115
|
// CONCATENATED MODULE: ./packages/emailManage/overseasAgencyEmail/src/overseasAgencyEmail.vue
|
|
68495
69116
|
|
|
@@ -68499,7 +69120,7 @@ var overseasAgencyEmailvue_type_style_index_0_id_2e3e9c36_scoped_true_lang_less
|
|
|
68499
69120
|
|
|
68500
69121
|
|
|
68501
69122
|
|
|
68502
|
-
const overseasAgencyEmail_exports_ = /*#__PURE__*/exportHelper_default()(overseasAgencyEmailvue_type_script_lang_ts, [['render',
|
|
69123
|
+
const overseasAgencyEmail_exports_ = /*#__PURE__*/exportHelper_default()(overseasAgencyEmailvue_type_script_lang_ts, [['render',overseasAgencyEmailvue_type_template_id_b147fffe_scoped_true_ts_true_render],['__scopeId',"data-v-b147fffe"]])
|
|
68503
69124
|
|
|
68504
69125
|
/* harmony default export */ var overseasAgencyEmail = (overseasAgencyEmail_exports_);
|
|
68505
69126
|
// CONCATENATED MODULE: ./packages/emailManage/overseasAgencyEmail/index.ts
|