command-center-v3-common 0.0.10 → 0.0.11
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/{box-border-demo-CuCcUe9t.js → box-border-demo-Ey36v51_.js} +1 -1
- package/dist/{button-demo-CLDCZ22L.js → button-demo-gxlxZBqo.js} +1 -1
- package/dist/command-center-v3-common-S8XoRtJh.js +49431 -0
- package/dist/command-center-v3-common.js +12 -11
- package/dist/command-center-v3-common.umd.cjs +59 -37
- package/dist/data-time-shortcuts-demo-WNnQuxdq.js +411 -0
- package/dist/{hy-table-demo-DaFsXaof.js → hy-table-demo-B9UmUZ0d.js} +1 -1
- package/dist/{hy-test-DWlAa7Wz.js → hy-test-CIdjboWi.js} +1 -1
- package/dist/{image-viewer-demo-DNOmvm1Q.js → image-viewer-demo-Dzp0gY_q.js} +1 -1
- package/dist/index.d.ts +32 -2
- package/dist/style.css +1 -1
- package/dist/{svg-icon-demo-DCdUL5yU.js → svg-icon-demo-DwFnzUbr.js} +1 -1
- package/dist/{test-demo-EbPLVFUl.js → test-demo-DeeK8sFo.js} +1 -1
- package/dist/{tips-modal-demo-BIPlYqiD.js → tips-modal-demo-BtYKa52F.js} +1 -1
- package/dist/{user-head-demo-Br52vV2C.js → user-head-demo-CsrXUSoK.js} +1 -1
- package/dist/{vue-cropper-demo-BXA_9V8L.js → vue-cropper-demo-DzQDTbND.js} +1 -1
- package/package.json +2 -1
- package/dist/command-center-v3-common-swcMJIB7.js +0 -45254
@@ -0,0 +1,411 @@
|
|
1
|
+
import { defineComponent as S, ref as k, onMounted as O, openBlock as w, createElementBlock as D, Fragment as T, renderList as N, normalizeClass as Y, unref as j, toDisplayString as z, createBlock as B } from "vue";
|
2
|
+
import { g as P, h as R, b as J } from "./command-center-v3-common-S8XoRtJh.js";
|
3
|
+
var $ = { exports: {} }, x, A;
|
4
|
+
function U() {
|
5
|
+
if (A)
|
6
|
+
return x;
|
7
|
+
A = 1;
|
8
|
+
var a = 1e3, r = a * 60, e = r * 60, o = e * 24, f = o * 7, l = o * 365.25;
|
9
|
+
x = function(t, n) {
|
10
|
+
n = n || {};
|
11
|
+
var s = typeof t;
|
12
|
+
if (s === "string" && t.length > 0)
|
13
|
+
return d(t);
|
14
|
+
if (s === "number" && isFinite(t))
|
15
|
+
return n.long ? c(t) : u(t);
|
16
|
+
throw new Error(
|
17
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(t)
|
18
|
+
);
|
19
|
+
};
|
20
|
+
function d(t) {
|
21
|
+
if (t = String(t), !(t.length > 100)) {
|
22
|
+
var n = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
23
|
+
t
|
24
|
+
);
|
25
|
+
if (n) {
|
26
|
+
var s = parseFloat(n[1]), p = (n[2] || "ms").toLowerCase();
|
27
|
+
switch (p) {
|
28
|
+
case "years":
|
29
|
+
case "year":
|
30
|
+
case "yrs":
|
31
|
+
case "yr":
|
32
|
+
case "y":
|
33
|
+
return s * l;
|
34
|
+
case "weeks":
|
35
|
+
case "week":
|
36
|
+
case "w":
|
37
|
+
return s * f;
|
38
|
+
case "days":
|
39
|
+
case "day":
|
40
|
+
case "d":
|
41
|
+
return s * o;
|
42
|
+
case "hours":
|
43
|
+
case "hour":
|
44
|
+
case "hrs":
|
45
|
+
case "hr":
|
46
|
+
case "h":
|
47
|
+
return s * e;
|
48
|
+
case "minutes":
|
49
|
+
case "minute":
|
50
|
+
case "mins":
|
51
|
+
case "min":
|
52
|
+
case "m":
|
53
|
+
return s * r;
|
54
|
+
case "seconds":
|
55
|
+
case "second":
|
56
|
+
case "secs":
|
57
|
+
case "sec":
|
58
|
+
case "s":
|
59
|
+
return s * a;
|
60
|
+
case "milliseconds":
|
61
|
+
case "millisecond":
|
62
|
+
case "msecs":
|
63
|
+
case "msec":
|
64
|
+
case "ms":
|
65
|
+
return s;
|
66
|
+
default:
|
67
|
+
return;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
function u(t) {
|
73
|
+
var n = Math.abs(t);
|
74
|
+
return n >= o ? Math.round(t / o) + "d" : n >= e ? Math.round(t / e) + "h" : n >= r ? Math.round(t / r) + "m" : n >= a ? Math.round(t / a) + "s" : t + "ms";
|
75
|
+
}
|
76
|
+
function c(t) {
|
77
|
+
var n = Math.abs(t);
|
78
|
+
return n >= o ? i(t, n, o, "day") : n >= e ? i(t, n, e, "hour") : n >= r ? i(t, n, r, "minute") : n >= a ? i(t, n, a, "second") : t + " ms";
|
79
|
+
}
|
80
|
+
function i(t, n, s, p) {
|
81
|
+
var F = n >= s * 1.5;
|
82
|
+
return Math.round(t / s) + " " + p + (F ? "s" : "");
|
83
|
+
}
|
84
|
+
return x;
|
85
|
+
}
|
86
|
+
function W(a) {
|
87
|
+
e.debug = e, e.default = e, e.coerce = c, e.disable = l, e.enable = f, e.enabled = d, e.humanize = U(), e.destroy = i, Object.keys(a).forEach((t) => {
|
88
|
+
e[t] = a[t];
|
89
|
+
}), e.names = [], e.skips = [], e.formatters = {};
|
90
|
+
function r(t) {
|
91
|
+
let n = 0;
|
92
|
+
for (let s = 0; s < t.length; s++)
|
93
|
+
n = (n << 5) - n + t.charCodeAt(s), n |= 0;
|
94
|
+
return e.colors[Math.abs(n) % e.colors.length];
|
95
|
+
}
|
96
|
+
e.selectColor = r;
|
97
|
+
function e(t) {
|
98
|
+
let n, s = null, p, F;
|
99
|
+
function g(...C) {
|
100
|
+
if (!g.enabled)
|
101
|
+
return;
|
102
|
+
const h = g, y = Number(/* @__PURE__ */ new Date()), L = y - (n || y);
|
103
|
+
h.diff = L, h.prev = n, h.curr = y, n = y, C[0] = e.coerce(C[0]), typeof C[0] != "string" && C.unshift("%O");
|
104
|
+
let b = 0;
|
105
|
+
C[0] = C[0].replace(/%([a-zA-Z%])/g, (v, I) => {
|
106
|
+
if (v === "%%")
|
107
|
+
return "%";
|
108
|
+
b++;
|
109
|
+
const E = e.formatters[I];
|
110
|
+
if (typeof E == "function") {
|
111
|
+
const q = C[b];
|
112
|
+
v = E.call(h, q), C.splice(b, 1), b--;
|
113
|
+
}
|
114
|
+
return v;
|
115
|
+
}), e.formatArgs.call(h, C), (h.log || e.log).apply(h, C);
|
116
|
+
}
|
117
|
+
return g.namespace = t, g.useColors = e.useColors(), g.color = e.selectColor(t), g.extend = o, g.destroy = e.destroy, Object.defineProperty(g, "enabled", {
|
118
|
+
enumerable: !0,
|
119
|
+
configurable: !1,
|
120
|
+
get: () => s !== null ? s : (p !== e.namespaces && (p = e.namespaces, F = e.enabled(t)), F),
|
121
|
+
set: (C) => {
|
122
|
+
s = C;
|
123
|
+
}
|
124
|
+
}), typeof e.init == "function" && e.init(g), g;
|
125
|
+
}
|
126
|
+
function o(t, n) {
|
127
|
+
const s = e(this.namespace + (typeof n > "u" ? ":" : n) + t);
|
128
|
+
return s.log = this.log, s;
|
129
|
+
}
|
130
|
+
function f(t) {
|
131
|
+
e.save(t), e.namespaces = t, e.names = [], e.skips = [];
|
132
|
+
let n;
|
133
|
+
const s = (typeof t == "string" ? t : "").split(/[\s,]+/), p = s.length;
|
134
|
+
for (n = 0; n < p; n++)
|
135
|
+
s[n] && (t = s[n].replace(/\*/g, ".*?"), t[0] === "-" ? e.skips.push(new RegExp("^" + t.slice(1) + "$")) : e.names.push(new RegExp("^" + t + "$")));
|
136
|
+
}
|
137
|
+
function l() {
|
138
|
+
const t = [
|
139
|
+
...e.names.map(u),
|
140
|
+
...e.skips.map(u).map((n) => "-" + n)
|
141
|
+
].join(",");
|
142
|
+
return e.enable(""), t;
|
143
|
+
}
|
144
|
+
function d(t) {
|
145
|
+
if (t[t.length - 1] === "*")
|
146
|
+
return !0;
|
147
|
+
let n, s;
|
148
|
+
for (n = 0, s = e.skips.length; n < s; n++)
|
149
|
+
if (e.skips[n].test(t))
|
150
|
+
return !1;
|
151
|
+
for (n = 0, s = e.names.length; n < s; n++)
|
152
|
+
if (e.names[n].test(t))
|
153
|
+
return !0;
|
154
|
+
return !1;
|
155
|
+
}
|
156
|
+
function u(t) {
|
157
|
+
return t.toString().substring(2, t.toString().length - 2).replace(/\.\*\?$/, "*");
|
158
|
+
}
|
159
|
+
function c(t) {
|
160
|
+
return t instanceof Error ? t.stack || t.message : t;
|
161
|
+
}
|
162
|
+
function i() {
|
163
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
164
|
+
}
|
165
|
+
return e.enable(e.load()), e;
|
166
|
+
}
|
167
|
+
var Z = W;
|
168
|
+
(function(a, r) {
|
169
|
+
r.formatArgs = o, r.save = f, r.load = l, r.useColors = e, r.storage = d(), r.destroy = /* @__PURE__ */ (() => {
|
170
|
+
let c = !1;
|
171
|
+
return () => {
|
172
|
+
c || (c = !0, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));
|
173
|
+
};
|
174
|
+
})(), r.colors = [
|
175
|
+
"#0000CC",
|
176
|
+
"#0000FF",
|
177
|
+
"#0033CC",
|
178
|
+
"#0033FF",
|
179
|
+
"#0066CC",
|
180
|
+
"#0066FF",
|
181
|
+
"#0099CC",
|
182
|
+
"#0099FF",
|
183
|
+
"#00CC00",
|
184
|
+
"#00CC33",
|
185
|
+
"#00CC66",
|
186
|
+
"#00CC99",
|
187
|
+
"#00CCCC",
|
188
|
+
"#00CCFF",
|
189
|
+
"#3300CC",
|
190
|
+
"#3300FF",
|
191
|
+
"#3333CC",
|
192
|
+
"#3333FF",
|
193
|
+
"#3366CC",
|
194
|
+
"#3366FF",
|
195
|
+
"#3399CC",
|
196
|
+
"#3399FF",
|
197
|
+
"#33CC00",
|
198
|
+
"#33CC33",
|
199
|
+
"#33CC66",
|
200
|
+
"#33CC99",
|
201
|
+
"#33CCCC",
|
202
|
+
"#33CCFF",
|
203
|
+
"#6600CC",
|
204
|
+
"#6600FF",
|
205
|
+
"#6633CC",
|
206
|
+
"#6633FF",
|
207
|
+
"#66CC00",
|
208
|
+
"#66CC33",
|
209
|
+
"#9900CC",
|
210
|
+
"#9900FF",
|
211
|
+
"#9933CC",
|
212
|
+
"#9933FF",
|
213
|
+
"#99CC00",
|
214
|
+
"#99CC33",
|
215
|
+
"#CC0000",
|
216
|
+
"#CC0033",
|
217
|
+
"#CC0066",
|
218
|
+
"#CC0099",
|
219
|
+
"#CC00CC",
|
220
|
+
"#CC00FF",
|
221
|
+
"#CC3300",
|
222
|
+
"#CC3333",
|
223
|
+
"#CC3366",
|
224
|
+
"#CC3399",
|
225
|
+
"#CC33CC",
|
226
|
+
"#CC33FF",
|
227
|
+
"#CC6600",
|
228
|
+
"#CC6633",
|
229
|
+
"#CC9900",
|
230
|
+
"#CC9933",
|
231
|
+
"#CCCC00",
|
232
|
+
"#CCCC33",
|
233
|
+
"#FF0000",
|
234
|
+
"#FF0033",
|
235
|
+
"#FF0066",
|
236
|
+
"#FF0099",
|
237
|
+
"#FF00CC",
|
238
|
+
"#FF00FF",
|
239
|
+
"#FF3300",
|
240
|
+
"#FF3333",
|
241
|
+
"#FF3366",
|
242
|
+
"#FF3399",
|
243
|
+
"#FF33CC",
|
244
|
+
"#FF33FF",
|
245
|
+
"#FF6600",
|
246
|
+
"#FF6633",
|
247
|
+
"#FF9900",
|
248
|
+
"#FF9933",
|
249
|
+
"#FFCC00",
|
250
|
+
"#FFCC33"
|
251
|
+
];
|
252
|
+
function e() {
|
253
|
+
return typeof window < "u" && window.process && (window.process.type === "renderer" || window.process.__nwjs) ? !0 : typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/) ? !1 : typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
254
|
+
typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
255
|
+
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
256
|
+
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
257
|
+
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
258
|
+
}
|
259
|
+
function o(c) {
|
260
|
+
if (c[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + c[0] + (this.useColors ? "%c " : " ") + "+" + a.exports.humanize(this.diff), !this.useColors)
|
261
|
+
return;
|
262
|
+
const i = "color: " + this.color;
|
263
|
+
c.splice(1, 0, i, "color: inherit");
|
264
|
+
let t = 0, n = 0;
|
265
|
+
c[0].replace(/%[a-zA-Z%]/g, (s) => {
|
266
|
+
s !== "%%" && (t++, s === "%c" && (n = t));
|
267
|
+
}), c.splice(n, 0, i);
|
268
|
+
}
|
269
|
+
r.log = console.debug || console.log || (() => {
|
270
|
+
});
|
271
|
+
function f(c) {
|
272
|
+
try {
|
273
|
+
c ? r.storage.setItem("debug", c) : r.storage.removeItem("debug");
|
274
|
+
} catch {
|
275
|
+
}
|
276
|
+
}
|
277
|
+
function l() {
|
278
|
+
let c;
|
279
|
+
try {
|
280
|
+
c = r.storage.getItem("debug");
|
281
|
+
} catch {
|
282
|
+
}
|
283
|
+
return !c && typeof process < "u" && "env" in process && (c = process.env.DEBUG), c;
|
284
|
+
}
|
285
|
+
function d() {
|
286
|
+
try {
|
287
|
+
return localStorage;
|
288
|
+
} catch {
|
289
|
+
}
|
290
|
+
}
|
291
|
+
a.exports = Z(r);
|
292
|
+
const { formatters: u } = a.exports;
|
293
|
+
u.j = function(c) {
|
294
|
+
try {
|
295
|
+
return JSON.stringify(c);
|
296
|
+
} catch (i) {
|
297
|
+
return "[UnexpectedJSONParseError]: " + i.message;
|
298
|
+
}
|
299
|
+
};
|
300
|
+
})($, $.exports);
|
301
|
+
var G = $.exports;
|
302
|
+
const H = /* @__PURE__ */ P(G), K = ["primary", "success", "info", "warning", "danger", "error"], Q = {
|
303
|
+
primary: "#2d8cf0",
|
304
|
+
success: "#19be6b",
|
305
|
+
info: "#909399",
|
306
|
+
warning: "#ff9900",
|
307
|
+
danger: "#35495E",
|
308
|
+
error: "#FF0000"
|
309
|
+
}, V = (a) => Q[a];
|
310
|
+
function X(a) {
|
311
|
+
return K.reduce((r, e) => (r[e] = (...o) => a(e, ...o), r), {});
|
312
|
+
}
|
313
|
+
function ee(a, r, e, o, ...f) {
|
314
|
+
const l = V(a), d = H(r), u = `%c ${e} %c ${o} %c ${f.length ? "%o" : ""}`, c = `background:${l};border:1px solid ${l}; padding: 1px; border-radius: 4px 0 0 4px; color: #fff;`, i = `border:1px solid ${l}; padding: 1px; border-radius: 0 4px 4px 0; color: ${l};`;
|
315
|
+
d(u, c, i, "background:transparent", ...f), localStorage.debug = `${r}*`;
|
316
|
+
}
|
317
|
+
const te = X(ee), { t: m } = R().global;
|
318
|
+
function ne(a = "-") {
|
319
|
+
return M(/* @__PURE__ */ new Date()).join(a);
|
320
|
+
}
|
321
|
+
function re({ today: a, daysCount: r, cutOff: e = "-" }) {
|
322
|
+
a || (a = ne("/"));
|
323
|
+
const o = new Date(a), f = [M(o).join(e)];
|
324
|
+
for (let l = 0; l < r; l++) {
|
325
|
+
const d = o.setDate(o.getDate() - 1);
|
326
|
+
f.push(M(new Date(d)).join(e));
|
327
|
+
}
|
328
|
+
return f;
|
329
|
+
}
|
330
|
+
function M(a) {
|
331
|
+
const r = a.getFullYear(), e = a.getMonth() + 1, o = a.getDate();
|
332
|
+
return [r, e, o];
|
333
|
+
}
|
334
|
+
function _(a, r) {
|
335
|
+
const e = new Date(a), o = [], f = ["Y", "M", "D", "day", "h", "m", "s"], l = [
|
336
|
+
m("sunday"),
|
337
|
+
m("monday"),
|
338
|
+
m("tuesday"),
|
339
|
+
m("wednesday"),
|
340
|
+
m("thursday"),
|
341
|
+
m("sundayFriday"),
|
342
|
+
m("saturday")
|
343
|
+
], d = (u) => (u = u.toString(), u[1] ? u : `0${u}`);
|
344
|
+
o.push(e.getFullYear()), o.push(d(e.getMonth() + 1)), o.push(d(e.getHours())), o.push(l[e.getDay()]), o.push(d(e.getDate())), o.push(d(e.getMinutes())), o.push(d(e.getSeconds())), o.push(d(e.getDay()));
|
345
|
+
for (const u in o)
|
346
|
+
r = r.replace(f[u], o[u]);
|
347
|
+
return r;
|
348
|
+
}
|
349
|
+
const oe = { class: "flex items-center gap-x-2.5" }, se = ["onClick"], ae = /* @__PURE__ */ S({
|
350
|
+
__name: "index",
|
351
|
+
props: {
|
352
|
+
optionList: { default: () => [] }
|
353
|
+
},
|
354
|
+
emits: ["change"],
|
355
|
+
setup(a, { emit: r }) {
|
356
|
+
const e = a, o = r, f = k(), l = k({
|
357
|
+
regDtm: [],
|
358
|
+
queryStartDtm: "",
|
359
|
+
queryEndDtm: ""
|
360
|
+
});
|
361
|
+
O(() => {
|
362
|
+
e.optionList.length <= 0 && te.warning("DataTimeShortcuts", "props", "optionList 是必需的,但未提供");
|
363
|
+
});
|
364
|
+
function d(u) {
|
365
|
+
f.value = u;
|
366
|
+
const c = re({
|
367
|
+
today: _(/* @__PURE__ */ new Date(), "Y-M-h"),
|
368
|
+
daysCount: u - 1
|
369
|
+
}), i = `${_(
|
370
|
+
`${c[c.length - 1]}`,
|
371
|
+
"Y-M-h"
|
372
|
+
)} 00:00:00`, t = `${_(`${c[0]}`, "Y-M-h")} 23:59:59`;
|
373
|
+
l.value.regDtm = [i, t], l.value.queryStartDtm = i, l.value.queryEndDtm = t, o("change", l.value);
|
374
|
+
}
|
375
|
+
return (u, c) => (w(), D("div", oe, [
|
376
|
+
(w(!0), D(T, null, N(u.optionList, (i) => (w(), D("div", {
|
377
|
+
key: i.value,
|
378
|
+
class: Y(["option", { select: j(f) === i.value }]),
|
379
|
+
onClick: (t) => d(i.value)
|
380
|
+
}, z(i.label), 11, se))), 128))
|
381
|
+
]));
|
382
|
+
}
|
383
|
+
}), ce = /* @__PURE__ */ J(ae, [["__scopeId", "data-v-847c0a86"]]), de = /* @__PURE__ */ S({
|
384
|
+
__name: "data-time-shortcuts-demo",
|
385
|
+
setup(a) {
|
386
|
+
const r = k([
|
387
|
+
{
|
388
|
+
label: "今日",
|
389
|
+
value: 1
|
390
|
+
},
|
391
|
+
{
|
392
|
+
label: "近7天",
|
393
|
+
value: 7
|
394
|
+
},
|
395
|
+
{
|
396
|
+
label: "近30天",
|
397
|
+
value: 30
|
398
|
+
}
|
399
|
+
]);
|
400
|
+
function e(o) {
|
401
|
+
console.log(o);
|
402
|
+
}
|
403
|
+
return (o, f) => (w(), B(ce, {
|
404
|
+
"option-list": j(r),
|
405
|
+
onChange: e
|
406
|
+
}, null, 8, ["option-list"]));
|
407
|
+
}
|
408
|
+
});
|
409
|
+
export {
|
410
|
+
de as default
|
411
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as m, ref as u, computed as _, resolveComponent as s, openBlock as h, createElementBlock as f, Fragment as b, createElementVNode as t, createVNode as e, mergeProps as y, unref as g, createSlots as v, withCtx as o } from "vue";
|
2
|
-
import { a as x } from "./command-center-v3-common-
|
2
|
+
import { a as x } from "./command-center-v3-common-S8XoRtJh.js";
|
3
3
|
const C = { class: "h-[600px] bg-[#ff000033]" }, w = { class: "flex items-center justify-center gap-x-2.5" }, D = /* @__PURE__ */ t("span", null, "添加部门", -1), S = /* @__PURE__ */ t("span", null, "批量删除", -1), T = { class: "flex items-center" }, j = /* @__PURE__ */ m({
|
4
4
|
__name: "hy-table-demo",
|
5
5
|
setup(k) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as k, ref as _, resolveComponent as a, openBlock as U, createElementBlock as S, createVNode as e, unref as d, isRef as s, createElementVNode as r, withCtx as i, createTextVNode as p } from "vue";
|
2
|
-
import { _ as C } from "./command-center-v3-common-
|
2
|
+
import { _ as C } from "./command-center-v3-common-S8XoRtJh.js";
|
3
3
|
const D = { class: "text-hy-text-main overflow-auto h-[800px]" }, Y = { class: "mb-2 h-[300px] w-[200px]" }, z = /* @__PURE__ */ r("div", { class: "text-xs box-border w-full h-full rounded overflow-hidden border border-hy-main bg-hy-dialog-bg-1 shadow-[0_0_6px_0] shadow-hy-main flex flex-col" }, [
|
4
4
|
/* @__PURE__ */ r("div", { class: "bg-[#f00] h-[50px]" }, " 4444 "),
|
5
5
|
/* @__PURE__ */ r("div", { class: "flex-grow h-0" }, " 2632 ")
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as m, ref as d, resolveComponent as a, openBlock as b, createElementBlock as l, createVNode as f, withCtx as c, createTextVNode as p } from "vue";
|
2
|
-
import { d as g } from "./command-center-v3-common-
|
2
|
+
import { d as g } from "./command-center-v3-common-S8XoRtJh.js";
|
3
3
|
const r = { class: "flex items-center justify-center gap-x-3" }, w = /* @__PURE__ */ m({
|
4
4
|
__name: "image-viewer-demo",
|
5
5
|
setup(u) {
|
package/dist/index.d.ts
CHANGED
@@ -702,6 +702,14 @@ declare function getTotalElements(): number;
|
|
702
702
|
|
703
703
|
declare function handleCurrentChange(page?: number): void;
|
704
704
|
|
705
|
+
export declare const HyAddDepartmentType: DefineComponent< {}, {
|
706
|
+
show: (row?: OrgType) => void;
|
707
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
708
|
+
"on-submit": (...args: any[]) => void;
|
709
|
+
}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{}>> & {
|
710
|
+
"onOn-submit"?: (...args: any[]) => any;
|
711
|
+
}, {}, {}>;
|
712
|
+
|
705
713
|
export declare const HyBoxBorder: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BoxBorderProps>, {
|
706
714
|
prefix: string;
|
707
715
|
name: string;
|
@@ -763,9 +771,9 @@ disabled: boolean;
|
|
763
771
|
onChange?: (...args: any[]) => any;
|
764
772
|
}, {
|
765
773
|
className: string;
|
774
|
+
size: string;
|
766
775
|
disabled: boolean;
|
767
776
|
placeholder: string;
|
768
|
-
size: string;
|
769
777
|
contentType: boolean;
|
770
778
|
}, {}>, {
|
771
779
|
default?(_: {}): any;
|
@@ -836,12 +844,12 @@ onVisibleChange?: (...args: any[]) => any;
|
|
836
844
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
837
845
|
"onOn-changeSelectItem"?: (...args: any[]) => any;
|
838
846
|
}, {
|
847
|
+
size: string;
|
839
848
|
optionLabel: string;
|
840
849
|
optionValue: string;
|
841
850
|
modelValue: any;
|
842
851
|
placeholder: string;
|
843
852
|
clearable: boolean;
|
844
|
-
size: string;
|
845
853
|
requestParams: any;
|
846
854
|
controller: string;
|
847
855
|
filterDataList: any[];
|
@@ -1065,6 +1073,28 @@ declare interface Option_2 {
|
|
1065
1073
|
fillColor: string;
|
1066
1074
|
}
|
1067
1075
|
|
1076
|
+
/**
|
1077
|
+
* OrgType
|
1078
|
+
*/
|
1079
|
+
declare interface OrgType {
|
1080
|
+
bucketId?: string;
|
1081
|
+
createDtm?: Date;
|
1082
|
+
/**
|
1083
|
+
* 部门类型图标
|
1084
|
+
*/
|
1085
|
+
icon?: string;
|
1086
|
+
/**
|
1087
|
+
* 部门类型图标key
|
1088
|
+
*/
|
1089
|
+
iconKey?: string;
|
1090
|
+
id?: string;
|
1091
|
+
/**
|
1092
|
+
* 部门类型名称
|
1093
|
+
*/
|
1094
|
+
typeName?: string;
|
1095
|
+
updateDtm?: Date;
|
1096
|
+
}
|
1097
|
+
|
1068
1098
|
declare interface Props {
|
1069
1099
|
getData?: () => any;
|
1070
1100
|
defaultCheckedKeys?: string[];
|