gds-plus-design-vue 1.1.63 → 1.1.71

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.
Files changed (71) hide show
  1. package/lib/chartbi.48631362.mjs +44076 -0
  2. package/lib/chartbi.afd83839.js +80 -0
  3. package/lib/element-theme-chalk.ae828c17.js +2 -0
  4. package/lib/gd-initial.js +34 -0
  5. package/lib/gd-initial.mjs +80343 -101
  6. package/lib/main.03b24a05.js +1 -0
  7. package/lib/{main.4ac5b69f.mjs → main.3cd24320.mjs} +27 -18
  8. package/lib/main.4cafc3eb.mjs +68 -0
  9. package/lib/main.eea30a23.js +1 -0
  10. package/lib/main.efd6b228.mjs +87 -0
  11. package/lib/main.f1e3ba71.js +1 -0
  12. package/lib/messages.083c4ede.js +9 -0
  13. package/lib/messages.7e85146d.mjs +5802 -0
  14. package/lib/style.css +2 -2
  15. package/lib/system.account.78b852cd.js +216 -0
  16. package/lib/system.account.ae0822f1.mjs +2552 -0
  17. package/lib/system.config.327aded6.js +1 -0
  18. package/lib/system.config.9c46f279.mjs +373 -0
  19. package/lib/system.datasource.4b0951ba.mjs +511 -0
  20. package/lib/system.datasource.8a0c7e0f.js +1 -0
  21. package/lib/system.dict.65f25e4e.mjs +996 -0
  22. package/lib/system.dict.72594c98.js +1 -0
  23. package/lib/system.duplicatechecking.2e9b8df8.js +1 -0
  24. package/lib/system.duplicatechecking.b05f1617.mjs +2130 -0
  25. package/lib/system.email.0899621c.js +41 -0
  26. package/lib/system.email.a4d6d622.mjs +7432 -0
  27. package/lib/system.fieldsecurity.7de4ee1d.mjs +1745 -0
  28. package/lib/system.fieldsecurity.d57edb47.js +1 -0
  29. package/lib/system.file.b3558a8b.js +1 -0
  30. package/lib/system.file.f152d4fe.mjs +489 -0
  31. package/lib/system.log.30e5157c.mjs +1450 -0
  32. package/lib/system.log.f243e7d0.js +1 -0
  33. package/lib/system.machine.325b256e.mjs +94 -0
  34. package/lib/system.machine.332fb31c.js +1 -0
  35. package/lib/system.notice.234d5e47.mjs +636 -0
  36. package/lib/system.notice.540e97ca.js +1 -0
  37. package/lib/system.noticereceived.1fb75290.js +1 -0
  38. package/lib/system.noticereceived.c22372df.mjs +158 -0
  39. package/lib/system.onlineuser.90c08aef.mjs +184 -0
  40. package/lib/system.onlineuser.e0c261ed.js +1 -0
  41. package/lib/system.org.65452f67.js +1 -0
  42. package/lib/system.org.b8d59e5d.mjs +421 -0
  43. package/lib/system.permissions.8b0d3c8c.js +9 -0
  44. package/lib/system.permissions.cba8bd58.mjs +212 -0
  45. package/lib/system.plugin.07b3c38e.js +1 -0
  46. package/lib/system.plugin.4911a33d.mjs +946 -0
  47. package/lib/system.pos.6ed35c39.js +1 -0
  48. package/lib/system.pos.c274f13c.mjs +312 -0
  49. package/lib/system.promptmanagement.8ae0e757.js +1 -0
  50. package/lib/system.promptmanagement.b07ba7b6.mjs +801 -0
  51. package/lib/system.role.53778e38.mjs +1509 -0
  52. package/lib/system.role.c3d74603.js +1 -0
  53. package/lib/system.timers.69f1792a.mjs +3160 -0
  54. package/lib/system.timers.ef6b6796.js +38 -0
  55. package/lib/system.translation.0109917e.js +1 -0
  56. package/lib/system.translation.f79a5244.mjs +665 -0
  57. package/lib/system.user.01a55993.mjs +1425 -0
  58. package/lib/system.user.ea18a84c.js +14 -0
  59. package/lib/system.useraffiliation.1e74fa9e.mjs +1025 -0
  60. package/lib/system.useraffiliation.f3c88a51.js +1 -0
  61. package/lib/system.webresource.5049d97b.js +1 -0
  62. package/lib/system.webresource.e9518d87.mjs +723 -0
  63. package/lib/system.welcome.3f1cce96.mjs +45 -0
  64. package/lib/system.welcome.b109df88.js +1 -0
  65. package/locale/en_US.js +69 -10
  66. package/locale/id_ID.js +68 -9
  67. package/locale/vi_VN.js +68 -9
  68. package/locale/zh_CN.js +67 -9
  69. package/package.json +105 -105
  70. package/lib/gd-initial.umd.js +0 -435
  71. package/lib/index.841c99a5.mjs +0 -157130
@@ -0,0 +1,421 @@
1
+ import { m as o, n as d } from "./chartbi.48631362.mjs";
2
+ import { t as u } from "./messages.7e85146d.mjs";
3
+ function g(t) {
4
+ return window.axios({
5
+ url: "/sysOrg/tree",
6
+ method: "get",
7
+ params: t
8
+ });
9
+ }
10
+ function c(t) {
11
+ return window.axios({
12
+ url: "/sysOrg/page",
13
+ method: "get",
14
+ params: t
15
+ });
16
+ }
17
+ function p(t) {
18
+ return window.axios({
19
+ url: "/sysOrg/add",
20
+ method: "post",
21
+ data: t
22
+ });
23
+ }
24
+ function h(t) {
25
+ return window.axios({
26
+ url: "/sysOrg/edit",
27
+ method: "post",
28
+ data: t
29
+ });
30
+ }
31
+ function m(t) {
32
+ return window.axios({
33
+ url: "/sysOrg/delete",
34
+ method: "post",
35
+ data: t
36
+ });
37
+ }
38
+ function k(t) {
39
+ return window.axios({
40
+ url: "/SysRoleDataControl/detail",
41
+ method: "get",
42
+ params: t
43
+ });
44
+ }
45
+ function C(t) {
46
+ return window.axios({
47
+ url: "/SysRoleDataControl/save",
48
+ method: "post",
49
+ data: t
50
+ });
51
+ }
52
+ const f = {
53
+ data() {
54
+ return {
55
+ tableColumns: [
56
+ {
57
+ type: "selection",
58
+ width: "60",
59
+ fixed: !0
60
+ },
61
+ {
62
+ transKey: "gd.org.displayName",
63
+ prop: "name",
64
+ label: "\u673A\u6784\u540D\u79F0",
65
+ minWidth: "260",
66
+ type: "slot",
67
+ slotType: "name",
68
+ align: "left",
69
+ fixed: !0,
70
+ renderHeader: (t, ...e) => this.renderHeader(t, ...e, {
71
+ effectType: "input"
72
+ }),
73
+ showOverflowTooltip: !0
74
+ },
75
+ {
76
+ transKey: "gd.org.type",
77
+ prop: "orgType",
78
+ label: "\u673A\u6784\u7C7B\u578B",
79
+ minWidth: "220",
80
+ type: "slot",
81
+ slotType: "orgType",
82
+ align: "left",
83
+ showOverflowTooltip: !0
84
+ },
85
+ {
86
+ transKey: "gd.org.code",
87
+ prop: "code",
88
+ width: "200",
89
+ label: "\u552F\u4E00\u7F16\u7801",
90
+ align: "left",
91
+ showOverflowTooltip: !0
92
+ },
93
+ {
94
+ transKey: "gd.org.sort",
95
+ prop: "sort",
96
+ width: "120",
97
+ label: "\u6392\u5E8F",
98
+ align: "left"
99
+ },
100
+ {
101
+ transKey: "gd.org.remark",
102
+ prop: "remark",
103
+ minWidth: "300",
104
+ type: "slot",
105
+ slotType: "remark",
106
+ label: "\u5907\u6CE8",
107
+ align: "left"
108
+ }
109
+ ],
110
+ formColumns: [{
111
+ transKey: "gd.org.type",
112
+ effectType: "radio",
113
+ prop: "orgtype",
114
+ label: "\u673A\u6784\u7C7B\u578B",
115
+ placeholder: "\u8BF7\u9009\u62E9",
116
+ placeholderTransKey: "gd.placeholder.select",
117
+ dictTypeCode: "org_type",
118
+ rules: [{
119
+ required: !0,
120
+ message: "\u8BF7\u9009\u62E9",
121
+ transKey: "gd.placeholder.select",
122
+ trigger: "change"
123
+ }]
124
+ }, {
125
+ transKey: "gd.org.displayName",
126
+ effectType: "input",
127
+ prop: "name",
128
+ label: "\u673A\u6784\u540D\u79F0",
129
+ placeholder: "\u8BF7\u8F93\u5165",
130
+ placeholderTransKey: "gd.placeholder.input",
131
+ rules: [{
132
+ required: !0,
133
+ message: "\u8BF7\u8F93\u5165",
134
+ transKey: "gd.placeholder.input",
135
+ trigger: "change"
136
+ }]
137
+ }, {
138
+ transKey: "gd.org.code",
139
+ prop: "code",
140
+ effectType: "input",
141
+ label: "\u552F\u4E00\u7F16\u7801",
142
+ placeholder: "\u8BF7\u8F93\u5165",
143
+ placeholderTransKey: "gd.placeholder.input",
144
+ rules: [{
145
+ required: !0,
146
+ message: "\u8BF7\u8F93\u5165",
147
+ transKey: "gd.placeholder.input",
148
+ trigger: "change"
149
+ }]
150
+ }, {
151
+ transKey: "gd.org.parentBody",
152
+ prop: "pid",
153
+ effectType: "selectTree",
154
+ label: "\u4E0A\u7EA7\u673A\u6784",
155
+ placeholder: "\u8BF7\u9009\u62E9",
156
+ placeholderTransKey: "gd.placeholder.select",
157
+ treeOptions: [],
158
+ rules: [{
159
+ required: !0,
160
+ message: "\u8BF7\u9009\u62E9",
161
+ transKey: "gd.placeholder.select",
162
+ trigger: "change"
163
+ }]
164
+ }, {
165
+ transKey: "gd.org.sort",
166
+ prop: "sort",
167
+ effectType: "inputnumber",
168
+ label: "\u6392\u5E8F",
169
+ defaultValue: 100,
170
+ placeholder: "\u8BF7\u8F93\u5165",
171
+ placeholderTransKey: "gd.placeholder.input",
172
+ rules: [{
173
+ required: !0,
174
+ message: "\u8BF7\u8F93\u5165",
175
+ transKey: "gd.placeholder.input",
176
+ trigger: "change",
177
+ type: "number"
178
+ }]
179
+ }, {
180
+ transKey: "gd.org.remark",
181
+ effectType: "textarea",
182
+ prop: "remark",
183
+ label: "\u5907\u6CE8",
184
+ placeholder: "\u8BF7\u8F93\u5165",
185
+ placeholderTransKey: "gd.placeholder.input",
186
+ rules: [],
187
+ autosize: {
188
+ minRows: 4,
189
+ maxRows: 6
190
+ }
191
+ }],
192
+ tableButtons: [
193
+ {
194
+ displayName: "\u65B0\u589E",
195
+ functionName: "add",
196
+ show: !0,
197
+ transKey: "gd.btn.add",
198
+ icon: "el-icon-plus",
199
+ name: "sysOrg:add"
200
+ },
201
+ {
202
+ displayName: "\u7F16\u8F91",
203
+ functionName: "edit",
204
+ show: !0,
205
+ transKey: "gd.btn.edit",
206
+ icon: "el-icon-edit",
207
+ name: "sysOrg:edit"
208
+ },
209
+ {
210
+ displayName: "\u5220\u9664",
211
+ functionName: "del",
212
+ show: !0,
213
+ transKey: "gd.btn.del",
214
+ icon: "el-icon-delete",
215
+ btnType: "danger",
216
+ name: "sysOrg:delete"
217
+ }
218
+ ],
219
+ formButtons: [{
220
+ displayName: "\u786E\u5B9A",
221
+ functionName: "handleSubmit",
222
+ show: !0,
223
+ transKey: "gd.btn.confirm",
224
+ icon: "el-icon-document-checked",
225
+ validate: !0
226
+ }],
227
+ tableQueries: [{
228
+ transKey: "gd.org.displayName",
229
+ prop: "name",
230
+ label: "\u673A\u6784\u540D\u79F0",
231
+ effectType: "input",
232
+ rules: []
233
+ }]
234
+ };
235
+ }
236
+ };
237
+ const y = {
238
+ name: "GdOrg",
239
+ props: {
240
+ height: {
241
+ type: Number,
242
+ default: 100
243
+ }
244
+ },
245
+ mixins: [u, f],
246
+ data() {
247
+ return {
248
+ transKey: "gd.btn.add",
249
+ formLoading: !1,
250
+ currentNode: null,
251
+ loading: !0,
252
+ orgTree: [],
253
+ selectedRowKeys: [],
254
+ selectedRows: [],
255
+ queryParam: {},
256
+ defaultProps: {
257
+ children: "children",
258
+ label: "title",
259
+ value: "value"
260
+ },
261
+ defaultExpandedKeys: "",
262
+ loadData: (t) => c(Object.assign(t, this.queryParam)).then((e) => e.data),
263
+ isFilterWithValue: !0
264
+ };
265
+ },
266
+ computed: {
267
+ getFormColumns() {
268
+ let t = [
269
+ {
270
+ id: "-1",
271
+ parentId: "0",
272
+ title: this.$i18nt("gd.org.topLevel", "\u9876\u7EA7"),
273
+ value: "0",
274
+ pid: "0",
275
+ children: [...this.orgTree]
276
+ }
277
+ ];
278
+ return this.formColumns.filter((r) => (r.prop === "pid" && (r.treeOptions = [...t]), !0));
279
+ },
280
+ getHeight() {
281
+ return this.height;
282
+ },
283
+ styled() {
284
+ return `height:${this.height + 76}px`;
285
+ },
286
+ ...o(["tablePageSize", "tableSize", "labelPosition", "formMode"])
287
+ },
288
+ methods: {
289
+ saveQueries(t) {
290
+ this.queryParam = { ...t }, this.refresh();
291
+ },
292
+ refresh() {
293
+ this.$refs.table.refresh();
294
+ },
295
+ editForm(t) {
296
+ this.transKey = "gd.btn.edit", this.$refs.editForm.open(Object.assign({ ...t }, { pid: String(t.pid) }));
297
+ },
298
+ getOrgTree() {
299
+ g({}).then((t) => {
300
+ if (t.code === 200) {
301
+ const e = (r) => (r = r.filter((s, a) => (s.value = String(s.value), s.children && s.children.length > 0 && (s.children = e(s.children)), !0)), r);
302
+ this.orgTree = e(t.data);
303
+ }
304
+ this.loading = !1;
305
+ });
306
+ },
307
+ handleNodeClick(t) {
308
+ this.queryParam.pid === t.id ? (delete this.queryParam.pid, this.$nextTick(() => {
309
+ setTimeout(() => {
310
+ this.$refs.tree.setCurrentKey(null);
311
+ }, 0);
312
+ })) : this.queryParam = Object.assign({ ...this.queryParam }, { pid: t.id }), this.$refs.table.refresh(!0);
313
+ },
314
+ del() {
315
+ if (this.selectedRowKeys.length === 0) {
316
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
317
+ return;
318
+ }
319
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
320
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
321
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
322
+ showClose: !1,
323
+ confirmButtonLoading: !1,
324
+ cancelButtonLoading: !1,
325
+ closeOnClickModal: !1,
326
+ type: "warning",
327
+ confirmButtonClass: "el-button--danger",
328
+ customClass: "custom-alert",
329
+ callback: () => {
330
+ },
331
+ beforeClose: (t, e, r) => {
332
+ this.delHand(t, e, r);
333
+ }
334
+ });
335
+ },
336
+ delHand(t, e, r) {
337
+ if (t !== "confirm") {
338
+ r();
339
+ return;
340
+ }
341
+ let s = [];
342
+ this.selectedRows.forEach((a) => {
343
+ let i = m(a).then((n) => n);
344
+ s.push(i);
345
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(s).then((a) => {
346
+ e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, r(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
347
+ const i = a.filter((n) => !n.success);
348
+ i.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + i[0].message), this.handleOk();
349
+ });
350
+ },
351
+ add() {
352
+ this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
353
+ },
354
+ edit() {
355
+ if (this.selectedRowKeys.length === 0) {
356
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
357
+ return;
358
+ }
359
+ if (this.selectedRowKeys.length > 1) {
360
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
361
+ return;
362
+ }
363
+ this.editForm(this.selectedRows[0]);
364
+ },
365
+ sbumit({ data: t, record: e, btn: r }, s, a) {
366
+ this.formLoading = !0, (e ? h : p)(t).then((n) => {
367
+ n.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), a(), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), this.formLoading = !1;
368
+ });
369
+ },
370
+ handleOk() {
371
+ this.getOrgTree(), this.$refs.table.refresh();
372
+ },
373
+ onSelectChange(t, e) {
374
+ this.selectedRowKeys = t, this.selectedRows = e;
375
+ },
376
+ doEvent(t) {
377
+ let e = t.item.functionName;
378
+ this[e] && this[e]();
379
+ }
380
+ },
381
+ created() {
382
+ this.getOrgTree();
383
+ }
384
+ };
385
+ var b = function() {
386
+ var e = this, r = e._self._c;
387
+ return r("div", { staticClass: "gd-page-view", staticStyle: { display: "flex", background: "rgb(245, 245, 245)" } }, [r("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], staticClass: "page-view-tree", style: e.styled }, [r("el-tree", { ref: "tree", attrs: { data: e.orgTree, props: e.defaultProps, "node-key": "id", "current-node-key": e.defaultExpandedKeys, "default-expand-all": "", "highlight-current": "", "expand-on-click-node": !1 }, on: { "node-click": e.handleNodeClick } })], 1), r("div", { staticClass: "page-view-list" }, [r("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.height, filtering: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: s, row: a }) {
388
+ return [r("gd-tooltip", { attrs: { rowKey: "name", row: a, highlight: "" }, on: { click: e.editForm } })];
389
+ } }, { key: "orgType", fn: function(s) {
390
+ return [r("el-tag", { style: e._f("dictColor")("org_type", s.row.orgtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("org_type", s.row.orgtype)) + " ")])];
391
+ } }, { key: "remark", fn: function({ column: s, row: a }) {
392
+ return [r("gd-tooltip", { attrs: { rowKey: "remark", row: a } })];
393
+ } }, { key: "operator", fn: function() {
394
+ return [r("div", { staticClass: "gd-table-operator" }, [r("div", { staticClass: "gd-table-operatorl" }, [r("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.org.displayName", "\u673A\u6784\u540D\u79F0"), clearable: "" }, nativeOn: { keyup: function(s) {
395
+ return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.refresh.apply(null, arguments);
396
+ } }, model: { value: e.queryParam.name, callback: function(s) {
397
+ e.$set(e.queryParam, "name", s);
398
+ }, expression: "queryParam.name" } }), r("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [r("i", { staticClass: "el-input__icon el-icon-search" })])], 1), r("div", { staticClass: "gd-table-operatorr" }, [r("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
399
+ }, proxy: !0 }, { key: "filtering", fn: function({ colse: s, visible: a }) {
400
+ return [r("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.height, queryParam: e.queryParam, colse: s, visible: a }, on: { save: e.saveQueries } })];
401
+ } }]) })], 1), r("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: e.formLoading, transKey: e.transKey, buttons: e.formButtons, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode }, on: { sbumit: e.sbumit } })], 1);
402
+ }, w = [], K = /* @__PURE__ */ d(
403
+ y,
404
+ b,
405
+ w,
406
+ !1,
407
+ null,
408
+ "2b14586d",
409
+ null,
410
+ null
411
+ );
412
+ const l = K.exports;
413
+ l.install = function(t) {
414
+ t.component(l.name, l);
415
+ };
416
+ export {
417
+ l as G,
418
+ k as a,
419
+ g,
420
+ C as s
421
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";const system_account=require("./system.account.78b852cd.js"),messages=require("./messages.083c4ede.js"),chartbi=require("./chartbi.afd83839.js");var md5={exports:{}};/**
2
+ * [js-md5]{@link https://github.com/emn178/js-md5}
3
+ *
4
+ * @namespace md5
5
+ * @version 0.7.3
6
+ * @author Chen, Yi-Cyuan [emn178@gmail.com]
7
+ * @copyright Chen, Yi-Cyuan 2014-2017
8
+ * @license MIT
9
+ */(function(module){(function(){var ERROR="input is invalid type",WINDOW=typeof window=="object",root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&typeof self=="object",NODE_JS=!root.JS_MD5_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;NODE_JS?root=system_account.commonjsGlobal:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&!0&&module.exports,ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}(root.JS_MD5_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(t){return Object.prototype.toString.call(t)==="[object Array]"}),ARRAY_BUFFER&&(root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(t){return typeof t=="object"&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t){return function(r){return new Md5(!0).update(r)[t]()}},createMethod=function(){var t=createOutputMethod("hex");NODE_JS&&(t=nodeWrap(t)),t.create=function(){return new Md5},t.update=function(e){return t.create().update(e)};for(var r=0;r<OUTPUT_TYPES.length;++r){var s=OUTPUT_TYPES[r];t[s]=createOutputMethod(s)}return t},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(t){if(typeof t=="string")return crypto.createHash("md5").update(t,"utf8").digest("hex");if(t==null)throw ERROR;return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),Array.isArray(t)||ArrayBuffer.isView(t)||t.constructor===Buffer?crypto.createHash("md5").update(new Buffer(t)).digest("hex"):method(t)};return nodeMethod};function Md5(t){if(t)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;else if(ARRAY_BUFFER){var r=new ArrayBuffer(68);this.buffer8=new Uint8Array(r),this.blocks=new Uint32Array(r)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(t){if(!this.finalized){var r,s=typeof t;if(s!=="string"){if(s==="object"){if(t===null)throw ERROR;if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(t)))throw ERROR}else throw ERROR;r=!0}for(var e,o=0,a,i=t.length,n=this.blocks,h=this.buffer8;o<i;){if(this.hashed&&(this.hashed=!1,n[0]=n[16],n[16]=n[1]=n[2]=n[3]=n[4]=n[5]=n[6]=n[7]=n[8]=n[9]=n[10]=n[11]=n[12]=n[13]=n[14]=n[15]=0),r)if(ARRAY_BUFFER)for(a=this.start;o<i&&a<64;++o)h[a++]=t[o];else for(a=this.start;o<i&&a<64;++o)n[a>>2]|=t[o]<<SHIFT[a++&3];else if(ARRAY_BUFFER)for(a=this.start;o<i&&a<64;++o)e=t.charCodeAt(o),e<128?h[a++]=e:e<2048?(h[a++]=192|e>>6,h[a++]=128|e&63):e<55296||e>=57344?(h[a++]=224|e>>12,h[a++]=128|e>>6&63,h[a++]=128|e&63):(e=65536+((e&1023)<<10|t.charCodeAt(++o)&1023),h[a++]=240|e>>18,h[a++]=128|e>>12&63,h[a++]=128|e>>6&63,h[a++]=128|e&63);else for(a=this.start;o<i&&a<64;++o)e=t.charCodeAt(o),e<128?n[a>>2]|=e<<SHIFT[a++&3]:e<2048?(n[a>>2]|=(192|e>>6)<<SHIFT[a++&3],n[a>>2]|=(128|e&63)<<SHIFT[a++&3]):e<55296||e>=57344?(n[a>>2]|=(224|e>>12)<<SHIFT[a++&3],n[a>>2]|=(128|e>>6&63)<<SHIFT[a++&3],n[a>>2]|=(128|e&63)<<SHIFT[a++&3]):(e=65536+((e&1023)<<10|t.charCodeAt(++o)&1023),n[a>>2]|=(240|e>>18)<<SHIFT[a++&3],n[a>>2]|=(128|e>>12&63)<<SHIFT[a++&3],n[a>>2]|=(128|e>>6&63)<<SHIFT[a++&3],n[a>>2]|=(128|e&63)<<SHIFT[a++&3]);this.lastByteIndex=a,this.bytes+=a-this.start,a>=64?(this.start=a-64,this.hash(),this.hashed=!0):this.start=a}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,r=this.lastByteIndex;t[r>>2]|=EXTRA[r&3],r>=56&&(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var t,r,s,e,o,a,i=this.blocks;this.first?(t=i[0]-680876937,t=(t<<7|t>>>25)-271733879<<0,e=(-1732584194^t&2004318071)+i[1]-117830708,e=(e<<12|e>>>20)+t<<0,s=(-271733879^e&(t^-271733879))+i[2]-1126478375,s=(s<<17|s>>>15)+e<<0,r=(t^s&(e^t))+i[3]-1316259209,r=(r<<22|r>>>10)+s<<0):(t=this.h0,r=this.h1,s=this.h2,e=this.h3,t+=(e^r&(s^e))+i[0]-680876936,t=(t<<7|t>>>25)+r<<0,e+=(s^t&(r^s))+i[1]-389564586,e=(e<<12|e>>>20)+t<<0,s+=(r^e&(t^r))+i[2]+606105819,s=(s<<17|s>>>15)+e<<0,r+=(t^s&(e^t))+i[3]-1044525330,r=(r<<22|r>>>10)+s<<0),t+=(e^r&(s^e))+i[4]-176418897,t=(t<<7|t>>>25)+r<<0,e+=(s^t&(r^s))+i[5]+1200080426,e=(e<<12|e>>>20)+t<<0,s+=(r^e&(t^r))+i[6]-1473231341,s=(s<<17|s>>>15)+e<<0,r+=(t^s&(e^t))+i[7]-45705983,r=(r<<22|r>>>10)+s<<0,t+=(e^r&(s^e))+i[8]+1770035416,t=(t<<7|t>>>25)+r<<0,e+=(s^t&(r^s))+i[9]-1958414417,e=(e<<12|e>>>20)+t<<0,s+=(r^e&(t^r))+i[10]-42063,s=(s<<17|s>>>15)+e<<0,r+=(t^s&(e^t))+i[11]-1990404162,r=(r<<22|r>>>10)+s<<0,t+=(e^r&(s^e))+i[12]+1804603682,t=(t<<7|t>>>25)+r<<0,e+=(s^t&(r^s))+i[13]-40341101,e=(e<<12|e>>>20)+t<<0,s+=(r^e&(t^r))+i[14]-1502002290,s=(s<<17|s>>>15)+e<<0,r+=(t^s&(e^t))+i[15]+1236535329,r=(r<<22|r>>>10)+s<<0,t+=(s^e&(r^s))+i[1]-165796510,t=(t<<5|t>>>27)+r<<0,e+=(r^s&(t^r))+i[6]-1069501632,e=(e<<9|e>>>23)+t<<0,s+=(t^r&(e^t))+i[11]+643717713,s=(s<<14|s>>>18)+e<<0,r+=(e^t&(s^e))+i[0]-373897302,r=(r<<20|r>>>12)+s<<0,t+=(s^e&(r^s))+i[5]-701558691,t=(t<<5|t>>>27)+r<<0,e+=(r^s&(t^r))+i[10]+38016083,e=(e<<9|e>>>23)+t<<0,s+=(t^r&(e^t))+i[15]-660478335,s=(s<<14|s>>>18)+e<<0,r+=(e^t&(s^e))+i[4]-405537848,r=(r<<20|r>>>12)+s<<0,t+=(s^e&(r^s))+i[9]+568446438,t=(t<<5|t>>>27)+r<<0,e+=(r^s&(t^r))+i[14]-1019803690,e=(e<<9|e>>>23)+t<<0,s+=(t^r&(e^t))+i[3]-187363961,s=(s<<14|s>>>18)+e<<0,r+=(e^t&(s^e))+i[8]+1163531501,r=(r<<20|r>>>12)+s<<0,t+=(s^e&(r^s))+i[13]-1444681467,t=(t<<5|t>>>27)+r<<0,e+=(r^s&(t^r))+i[2]-51403784,e=(e<<9|e>>>23)+t<<0,s+=(t^r&(e^t))+i[7]+1735328473,s=(s<<14|s>>>18)+e<<0,r+=(e^t&(s^e))+i[12]-1926607734,r=(r<<20|r>>>12)+s<<0,o=r^s,t+=(o^e)+i[5]-378558,t=(t<<4|t>>>28)+r<<0,e+=(o^t)+i[8]-2022574463,e=(e<<11|e>>>21)+t<<0,a=e^t,s+=(a^r)+i[11]+1839030562,s=(s<<16|s>>>16)+e<<0,r+=(a^s)+i[14]-35309556,r=(r<<23|r>>>9)+s<<0,o=r^s,t+=(o^e)+i[1]-1530992060,t=(t<<4|t>>>28)+r<<0,e+=(o^t)+i[4]+1272893353,e=(e<<11|e>>>21)+t<<0,a=e^t,s+=(a^r)+i[7]-155497632,s=(s<<16|s>>>16)+e<<0,r+=(a^s)+i[10]-1094730640,r=(r<<23|r>>>9)+s<<0,o=r^s,t+=(o^e)+i[13]+681279174,t=(t<<4|t>>>28)+r<<0,e+=(o^t)+i[0]-358537222,e=(e<<11|e>>>21)+t<<0,a=e^t,s+=(a^r)+i[3]-722521979,s=(s<<16|s>>>16)+e<<0,r+=(a^s)+i[6]+76029189,r=(r<<23|r>>>9)+s<<0,o=r^s,t+=(o^e)+i[9]-640364487,t=(t<<4|t>>>28)+r<<0,e+=(o^t)+i[12]-421815835,e=(e<<11|e>>>21)+t<<0,a=e^t,s+=(a^r)+i[15]+530742520,s=(s<<16|s>>>16)+e<<0,r+=(a^s)+i[2]-995338651,r=(r<<23|r>>>9)+s<<0,t+=(s^(r|~e))+i[0]-198630844,t=(t<<6|t>>>26)+r<<0,e+=(r^(t|~s))+i[7]+1126891415,e=(e<<10|e>>>22)+t<<0,s+=(t^(e|~r))+i[14]-1416354905,s=(s<<15|s>>>17)+e<<0,r+=(e^(s|~t))+i[5]-57434055,r=(r<<21|r>>>11)+s<<0,t+=(s^(r|~e))+i[12]+1700485571,t=(t<<6|t>>>26)+r<<0,e+=(r^(t|~s))+i[3]-1894986606,e=(e<<10|e>>>22)+t<<0,s+=(t^(e|~r))+i[10]-1051523,s=(s<<15|s>>>17)+e<<0,r+=(e^(s|~t))+i[1]-2054922799,r=(r<<21|r>>>11)+s<<0,t+=(s^(r|~e))+i[8]+1873313359,t=(t<<6|t>>>26)+r<<0,e+=(r^(t|~s))+i[15]-30611744,e=(e<<10|e>>>22)+t<<0,s+=(t^(e|~r))+i[6]-1560198380,s=(s<<15|s>>>17)+e<<0,r+=(e^(s|~t))+i[13]+1309151649,r=(r<<21|r>>>11)+s<<0,t+=(s^(r|~e))+i[4]-145523070,t=(t<<6|t>>>26)+r<<0,e+=(r^(t|~s))+i[11]-1120210379,e=(e<<10|e>>>22)+t<<0,s+=(t^(e|~r))+i[2]+718787259,s=(s<<15|s>>>17)+e<<0,r+=(e^(s|~t))+i[9]-343485551,r=(r<<21|r>>>11)+s<<0,this.first?(this.h0=t+1732584193<<0,this.h1=r-271733879<<0,this.h2=s-1732584194<<0,this.h3=e+271733878<<0,this.first=!1):(this.h0=this.h0+t<<0,this.h1=this.h1+r<<0,this.h2=this.h2+s<<0,this.h3=this.h3+e<<0)},Md5.prototype.hex=function(){this.finalize();var t=this.h0,r=this.h1,s=this.h2,e=this.h3;return HEX_CHARS[t>>4&15]+HEX_CHARS[t&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[r&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[s>>4&15]+HEX_CHARS[s&15]+HEX_CHARS[s>>12&15]+HEX_CHARS[s>>8&15]+HEX_CHARS[s>>20&15]+HEX_CHARS[s>>16&15]+HEX_CHARS[s>>28&15]+HEX_CHARS[s>>24&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[e&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var t=this.h0,r=this.h1,s=this.h2,e=this.h3;return[t&255,t>>8&255,t>>16&255,t>>24&255,r&255,r>>8&255,r>>16&255,r>>24&255,s&255,s>>8&255,s>>16&255,s>>24&255,e&255,e>>8&255,e>>16&255,e>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),r=new Uint32Array(t);return r[0]=this.h0,r[1]=this.h1,r[2]=this.h2,r[3]=this.h3,t},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var t,r,s,e="",o=this.array(),a=0;a<15;)t=o[a++],r=o[a++],s=o[a++],e+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[(t<<4|r>>>4)&63]+BASE64_ENCODE_CHAR[(r<<2|s>>>6)&63]+BASE64_ENCODE_CHAR[s&63];return t=o[a],e+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[t<<4&63]+"==",e};var exports=createMethod();COMMON_JS?module.exports=exports:root.md5=exports})()})(md5);const main_vue_vue_type_style_index_0_scoped_29082992_lang="",_sfc_main={name:"GdUserPermissions",props:{height:{type:Number,default:100}},data(){return{searcLoading:!1,loading:!1,userId:"",userList:[],fkEntityName:"sys_user"}},computed:{styled(){return`height:${this.height+76}px`}},methods:{query(){},searchData(t){this.searcLoading=!0,messages.baseFkList({name:t,fkEntityName:this.fkEntityName}).then(r=>{r.code===200&&(this.userList=r.data),this.searcLoading=!1})},change(t){t!==""&&this.getUseRole()},getUseRole(){this.loading=!0,system_account.sysUserOwnRole({id:this.userId}).then(t=>{this.loading=!1,t.code===200&&(this.userList=t.data)})}},created(){this.searchData("")}};var _sfc_render=function t(){var r=this,s=r._self._c;return s("div",{staticClass:"gd-page-view",staticStyle:{display:"flex",background:"rgb(245, 245, 245)"}},[s("div",{staticClass:"page-view-trees",style:r.styled},[s("div",{directives:[{name:"loading",rawName:"v-loading",value:r.loading,expression:"loading"}],staticClass:"trees-operatorl"},[s("el-select",{staticClass:"treesr-input",attrs:{placeholder:r.$i18nt("gd.teamSharing.name","\u89D2\u8272\u540D"),clearable:"",filterable:"",loading:r.searcLoading,"remote-method":r.searchData,clearable:"",remote:""},on:{change:r.change},model:{value:r.userId,callback:function(e){r.userId=e},expression:"userId"}},r._l(r.userList,function(e){return s("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1),s("div",{staticClass:"treesr-search",on:{click:r.query}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1),s("div",{staticClass:"trees-list"})]),s("div",{directives:[{name:"loading",rawName:"v-loading",value:r.loading,expression:"loading"}],staticClass:"page-view-list"})])},_sfc_staticRenderFns=[],__component__=chartbi.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,!1,null,"29082992",null,null);const GDpackage=__component__.exports;GDpackage.install=function(t){t.component(GDpackage.name,GDpackage)};exports.GDpackage=GDpackage;