hy-dispatch-ui-v3 0.2.40 → 0.2.41

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.
@@ -0,0 +1,282 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var elementPlus = require('element-plus');
7
+ var iconsVue = require('@element-plus/icons-vue');
8
+ var index = require('../hyDialog/index.js');
9
+ var index$1 = require('../hyTableForm/index.js');
10
+ var index$2 = require('../hyTooltip/index.js');
11
+ var index$3 = require('../hyButton/index.js');
12
+
13
+ import "./style/batchUploadDialog.scss";
14
+
15
+ const __default__ = vue.defineComponent({
16
+ name: "HyBatchUploadDialog"
17
+ });
18
+ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
19
+ props: /* @__PURE__ */ vue.mergeModels({
20
+ // 弹窗
21
+ title: {
22
+ type: String
23
+ },
24
+ width: {
25
+ type: String,
26
+ default: "920"
27
+ },
28
+ dialogType: {
29
+ type: String,
30
+ default: "right"
31
+ },
32
+ // 是否可缩小化
33
+ ifShrink: { type: Boolean, default: false },
34
+ // 是否拖拽
35
+ ifDraggable: { type: Boolean, default: true },
36
+ // 表格配置项
37
+ tableColumns: {
38
+ // 表格的列
39
+ type: Array,
40
+ required: true,
41
+ default: () => []
42
+ },
43
+ formColumns: {
44
+ type: Array,
45
+ default: () => []
46
+ },
47
+ rules: {
48
+ type: Object,
49
+ default: () => ({})
50
+ },
51
+ emptyText: {
52
+ // 空数据时显示的文本内容
53
+ type: String
54
+ },
55
+ fontSize: {
56
+ // 字体大小
57
+ type: Number,
58
+ default: 14
59
+ },
60
+ rowClickExpand: {
61
+ // 点击行展开
62
+ type: Boolean,
63
+ required: false,
64
+ default: true
65
+ },
66
+ // 表单配置项
67
+ columnNum: {
68
+ type: Number,
69
+ default: 2
70
+ },
71
+ size: {
72
+ type: String,
73
+ default: "default"
74
+ // 'large' | 'default' | 'small'
75
+ },
76
+ // 其他配置项
77
+ beforeDataHandle: {
78
+ type: Function
79
+ },
80
+ submitHandler: {
81
+ type: Function
82
+ }
83
+ }, {
84
+ "modelValue": { type: Boolean, default: false },
85
+ "modelModifiers": {}
86
+ }),
87
+ emits: /* @__PURE__ */ vue.mergeModels([
88
+ "uploading",
89
+ "uploaded",
90
+ "reset",
91
+ "validate",
92
+ "submitting",
93
+ "submit"
94
+ ], ["update:modelValue"]),
95
+ setup(__props, { expose: __expose, emit: __emit }) {
96
+ const emits = __emit;
97
+ const batchTableFormRef = vue.useTemplateRef("batchTableFormRef");
98
+ const visible = vue.useModel(__props, "modelValue");
99
+ const showSubmit = vue.ref(false);
100
+ const isSubmitting = vue.ref(false);
101
+ const failedCount = vue.ref(0);
102
+ const failedStatus = vue.ref(null);
103
+ async function show() {
104
+ visible.value = true;
105
+ showSubmit.value = false;
106
+ failedCount.value = 0;
107
+ failedStatus.value = null;
108
+ }
109
+ function onTableUploadingHandler(...args) {
110
+ emits("uploading", ...args);
111
+ }
112
+ function onTableUploadedHandler(...args) {
113
+ showSubmit.value = true;
114
+ emits("uploaded", ...args);
115
+ }
116
+ function onTableResetHandler(...args) {
117
+ failedCount.value = 0;
118
+ failedStatus.value = null;
119
+ showSubmit.value = false;
120
+ emits("reset", ...args);
121
+ }
122
+ function onTableValidateHandler(params) {
123
+ const { row, prop, isValid, message, total, success, failed } = params;
124
+ failedCount.value = failed;
125
+ failedStatus.value = !failed ? null : failedStatus.value || "validate";
126
+ emits("validate", params);
127
+ }
128
+ function onTableSubmittingHandler(...args) {
129
+ isSubmitting.value = true;
130
+ emits("submitting", ...args);
131
+ }
132
+ function onTableSubmitHandler(params) {
133
+ const { total, success, failed, result } = params;
134
+ if (result) {
135
+ visible.value = false;
136
+ failedCount.value = null;
137
+ failedStatus.value = null;
138
+ } else {
139
+ failedCount.value = failed;
140
+ failedStatus.value = "submit";
141
+ }
142
+ isSubmitting.value = false;
143
+ emits("submit", params);
144
+ }
145
+ async function onSubmitHandler() {
146
+ await batchTableFormRef.value.validate();
147
+ batchTableFormRef.value.submitDataSource();
148
+ }
149
+ __expose({
150
+ show,
151
+ getTableDataSource: () => {
152
+ return batchTableFormRef.value.getTableDataSource();
153
+ },
154
+ validate: async () => {
155
+ return await batchTableFormRef.value.validate();
156
+ },
157
+ submitDataSource: () => {
158
+ return batchTableFormRef.value.submitDataSource();
159
+ }
160
+ });
161
+ return (_ctx, _cache) => {
162
+ return vue.openBlock(), vue.createBlock(vue.unref(index.HyDialog), vue.mergeProps({
163
+ modelValue: visible.value,
164
+ "onUpdate:modelValue": ($event) => visible.value = $event,
165
+ loading: isSubmitting.value,
166
+ "onUpdate:loading": ($event) => isSubmitting.value = $event,
167
+ title: __props.title,
168
+ width: __props.width,
169
+ "dialog-type": __props.dialogType,
170
+ "show-operate": true,
171
+ "show-submit": false,
172
+ "show-cancel": !isSubmitting.value,
173
+ ifShrink: __props.ifShrink,
174
+ ifDraggable: __props.ifDraggable
175
+ }, _ctx.$attrs), vue.createSlots({
176
+ "operate-left-box": vue.withCtx(() => [
177
+ failedCount.value ? (vue.openBlock(), vue.createElementBlock("div", {
178
+ key: 0,
179
+ class: "flex items-center gap-1.5 text-xs text-warning"
180
+ }, [
181
+ vue.createVNode(vue.unref(elementPlus.ElIcon), null, {
182
+ default: vue.withCtx(() => [
183
+ vue.createVNode(vue.unref(iconsVue.Warning))
184
+ ]),
185
+ _: 1
186
+ /* STABLE */
187
+ }),
188
+ failedStatus.value === "validate" ? (vue.openBlock(), vue.createElementBlock(
189
+ "span",
190
+ { key: 0 },
191
+ "\u5F53\u524D " + vue.toDisplayString(failedCount.value) + " \u6761\u5F02\u5E38\u6570\u636E\uFF0C\u70B9\u51FB\u5BFC\u5165\u5C06\u4EC5\u5BFC\u5165\u5C31\u7EEA\u6570\u636E\uFF0C\u5F02\u5E38\u6570\u636E\u5C06\u88AB\u5FFD\u7565\u3002",
192
+ 1
193
+ /* TEXT */
194
+ )) : (vue.openBlock(), vue.createElementBlock(
195
+ "span",
196
+ { key: 1 },
197
+ "\u5F53\u524D " + vue.toDisplayString(failedCount.value) + " \u6761\u5F02\u5E38\u6570\u636E\uFF0C\u8BF7\u4FEE\u6B63\u5185\u5BB9",
198
+ 1
199
+ /* TEXT */
200
+ ))
201
+ ])) : vue.createCommentVNode("v-if", true)
202
+ ]),
203
+ "operate-right-box": vue.withCtx(() => [
204
+ showSubmit.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.HyTooltip), {
205
+ key: 0,
206
+ disabled: !isSubmitting.value,
207
+ content: "\u6570\u636E\u6B63\u5728\u5BFC\u5165\u4E2D\uFF0C\u8BF7\u7A0D\u7B49"
208
+ }, {
209
+ default: vue.withCtx(() => [
210
+ vue.createVNode(vue.unref(index$3.HyButton), {
211
+ type: "primary",
212
+ loading: isSubmitting.value,
213
+ class: "!min-w-[120px]",
214
+ onClick: onSubmitHandler
215
+ }, {
216
+ default: vue.withCtx(() => [
217
+ vue.createTextVNode(
218
+ vue.toDisplayString(isSubmitting.value ? "\u6B63\u5728\u5BFC\u5165" : "\u786E\u8BA4\u5BFC\u5165"),
219
+ 1
220
+ /* TEXT */
221
+ )
222
+ ]),
223
+ _: 1
224
+ /* STABLE */
225
+ }, 8, ["loading"])
226
+ ]),
227
+ _: 1
228
+ /* STABLE */
229
+ }, 8, ["disabled"])) : vue.createCommentVNode("v-if", true)
230
+ ]),
231
+ default: vue.withCtx(() => [
232
+ visible.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyBatchTableForm), {
233
+ key: 0,
234
+ ref_key: "batchTableFormRef",
235
+ ref: batchTableFormRef,
236
+ tableColumns: __props.tableColumns,
237
+ formColumns: __props.formColumns,
238
+ rules: __props.rules,
239
+ emptyText: __props.emptyText,
240
+ fontSize: __props.fontSize,
241
+ rowClickExpand: __props.rowClickExpand,
242
+ columnNum: __props.columnNum,
243
+ size: __props.size,
244
+ beforeDataHandle: __props.beforeDataHandle,
245
+ "submit-handler": __props.submitHandler,
246
+ onUploading: onTableUploadingHandler,
247
+ onUploaded: onTableUploadedHandler,
248
+ onReset: onTableResetHandler,
249
+ onValidate: onTableValidateHandler,
250
+ onSubmitting: onTableSubmittingHandler,
251
+ onSubmit: onTableSubmitHandler
252
+ }, vue.createSlots({
253
+ _: 2
254
+ /* DYNAMIC */
255
+ }, [
256
+ vue.renderList(_ctx.$slots, (_, slotName) => {
257
+ return {
258
+ name: slotName,
259
+ fn: vue.withCtx((scope) => [
260
+ vue.renderSlot(_ctx.$slots, slotName, vue.normalizeProps(vue.guardReactiveProps(scope)))
261
+ ])
262
+ };
263
+ })
264
+ ]), 1032, ["tableColumns", "formColumns", "rules", "emptyText", "fontSize", "rowClickExpand", "columnNum", "size", "beforeDataHandle", "submit-handler"])) : vue.createCommentVNode("v-if", true)
265
+ ]),
266
+ _: 2
267
+ /* DYNAMIC */
268
+ }, [
269
+ vue.renderList(_ctx.$slots, (_, slotName) => {
270
+ return {
271
+ name: slotName,
272
+ fn: vue.withCtx((scope) => [
273
+ vue.renderSlot(_ctx.$slots, slotName, vue.normalizeProps(vue.guardReactiveProps(scope)))
274
+ ])
275
+ };
276
+ })
277
+ ]), 1040, ["modelValue", "onUpdate:modelValue", "loading", "onUpdate:loading", "title", "width", "dialog-type", "show-cancel", "ifShrink", "ifDraggable"]);
278
+ };
279
+ }
280
+ });
281
+
282
+ exports.default = _sfc_main;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var batchUploadDialog = require('./batchUploadDialog.vue.js');
6
+ var handler = require('../../utils/handler.js');
7
+
8
+ const HyBatchUploadDialog = handler.withInstall(batchUploadDialog.default);
9
+
10
+ exports.HyBatchUploadDialog = HyBatchUploadDialog;
11
+ exports.default = HyBatchUploadDialog;
@@ -240,6 +240,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
240
240
  ]),
241
241
  default: vue.withCtx(() => [
242
242
  vue.createElementVNode("div", { class: "h-full flex flex-col text-main" }, [
243
+ vue.renderSlot(_ctx.$slots, "before-content"),
243
244
  vue.renderSlot(_ctx.$slots, "content", {}, () => [
244
245
  vue.createElementVNode(
245
246
  "div",
@@ -255,6 +256,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
255
256
  /* CLASS */
256
257
  )
257
258
  ]),
259
+ vue.renderSlot(_ctx.$slots, "after-content"),
258
260
  __props.showOperate ? (vue.openBlock(), vue.createElementBlock("div", {
259
261
  key: 0,
260
262
  class: "flex items-center flex-row-reverse justify-between p-5 pr-[26px] mt-auto box-border"
@@ -121,6 +121,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
121
121
  const submitNumber = vue.ref(0);
122
122
  const submitting = vue.ref(false);
123
123
  const submitProgress = vue.ref(0);
124
+ const submitModel = vue.ref("default");
124
125
  function setData(data = []) {
125
126
  if (!tableRef.value) return;
126
127
  tableRef.value.setData(data);
@@ -213,11 +214,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
213
214
  let { dataSource, total, success, failed } = res;
214
215
  if (!total) {
215
216
  elementPlus.ElMessage.warning("\u8BF7\u6DFB\u52A0\u6570\u636E");
216
- return;
217
+ return Promise.reject();
217
218
  }
218
219
  if (!success) {
219
220
  elementPlus.ElMessage.warning("\u8BF7\u586B\u5199\u6709\u6548\u4E0A\u4F20\u6570\u636E");
220
- return;
221
+ return Promise.reject();
221
222
  }
222
223
  if (failed) {
223
224
  try {
@@ -259,6 +260,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
259
260
  prop: null,
260
261
  message: res2.msg
261
262
  };
263
+ if (submitModel.value === "force") {
264
+ break;
265
+ }
262
266
  }
263
267
  } catch (err) {
264
268
  target.errorMsg = {
@@ -266,6 +270,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
266
270
  message: err?.msg ? err.msg : err
267
271
  };
268
272
  console.error(err);
273
+ if (submitModel.value === "force") {
274
+ break;
275
+ }
269
276
  }
270
277
  }
271
278
  deleteData(submitList);
@@ -145,6 +145,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
145
145
  function onDeleteRowHandler(params) {
146
146
  const { $index } = params;
147
147
  dataSource.value.splice($index, 1);
148
+ emits("validate", {
149
+ ...statistics.value
150
+ });
148
151
  }
149
152
  async function onAddRowHandler() {
150
153
  const data = useAppForm.resetAppFormValue(props.formColumns, {
@@ -1,29 +1,30 @@
1
1
  'use strict';
2
2
 
3
- var index$h = require('./hyOrgCascader/index.js');
4
- var index$8 = require('./hyConfirmDialog/index.js');
3
+ var index$i = require('./hyOrgCascader/index.js');
4
+ var index$9 = require('./hyConfirmDialog/index.js');
5
5
  var index = require('./hyDatePicker/index.js');
6
- var index$b = require('./hyForm/index.js');
7
- var index$c = require('./hyIcon/index.js');
8
- var index$d = require('./hyIconBox/index.js');
9
- var index$i = require('./hySearch/index.js');
10
- var index$j = require('./hyTable/index.js');
6
+ var index$c = require('./hyForm/index.js');
7
+ var index$d = require('./hyIcon/index.js');
8
+ var index$e = require('./hyIconBox/index.js');
9
+ var index$j = require('./hySearch/index.js');
10
+ var index$k = require('./hyTable/index.js');
11
11
  var index$3 = require('./hyTooltip/index.js');
12
- var index$7 = require('./hyConfigProvider/index.js');
13
- var index$6 = require('./hyButton/index.js');
14
- var index$m = require('./hyUserAvatar/index.js');
15
- var index$f = require('./hyNoPermissions/index.js');
16
- var index$g = require('./hyNoPermissionsMap/index.js');
17
- var index$9 = require('./hyCutter/index.js');
18
- var index$a = require('./hyDialog/index.js');
19
- var index$e = require('./hyMenu/index.js');
20
- var index$l = require('./hyTree/index.js');
21
- var index$n = require('./hyVideoPlayer/index.js');
12
+ var index$8 = require('./hyConfigProvider/index.js');
13
+ var index$7 = require('./hyButton/index.js');
14
+ var index$n = require('./hyUserAvatar/index.js');
15
+ var index$g = require('./hyNoPermissions/index.js');
16
+ var index$h = require('./hyNoPermissionsMap/index.js');
17
+ var index$a = require('./hyCutter/index.js');
18
+ var index$b = require('./hyDialog/index.js');
19
+ var index$f = require('./hyMenu/index.js');
20
+ var index$m = require('./hyTree/index.js');
21
+ var index$o = require('./hyVideoPlayer/index.js');
22
22
  var index$4 = require('./hyAudioPlayer/index.js');
23
23
  var index$1 = require('./hyInput/index.js');
24
24
  var index$2 = require('./hyTimePicker/index.js');
25
25
  var index$5 = require('./hyTableForm/index.js');
26
- var index$k = require('./hyTableActionButton/index.js');
26
+ var index$l = require('./hyTableActionButton/index.js');
27
+ var index$6 = require('./hyBatchUploadDialog/index.js');
27
28
  var useAppForm = require('./hyForm/js/useAppForm.js');
28
29
  var useAppSearch = require('./hySearch/js/useAppSearch.js');
29
30
  var useAppTable = require('./hyTable/js/useAppTable.js');
@@ -31,27 +32,27 @@ var useAppTableForm = require('./hyTableForm/js/useAppTableForm.js');
31
32
 
32
33
 
33
34
 
34
- exports.HyOrgCascader = index$h.HyOrgCascader;
35
- exports.HyConfirmDialog = index$8.HyConfirmDialog;
35
+ exports.HyOrgCascader = index$i.HyOrgCascader;
36
+ exports.HyConfirmDialog = index$9.HyConfirmDialog;
36
37
  exports.ElDatePicker = index.ElDatePicker;
37
38
  exports.HyDatePicker = index.HyDatePicker;
38
- exports.HyForm = index$b.HyForm;
39
- exports.HyIcon = index$c.HyIcon;
40
- exports.HyIconBox = index$d.HyIconBox;
41
- exports.HySearch = index$i.HySearch;
42
- exports.HyTable = index$j.HyTable;
39
+ exports.HyForm = index$c.HyForm;
40
+ exports.HyIcon = index$d.HyIcon;
41
+ exports.HyIconBox = index$e.HyIconBox;
42
+ exports.HySearch = index$j.HySearch;
43
+ exports.HyTable = index$k.HyTable;
43
44
  exports.ElTooltip = index$3.ElTooltip;
44
45
  exports.HyTooltip = index$3.HyTooltip;
45
- exports.HyConfigProvider = index$7.HyConfigProvider;
46
- exports.HyButton = index$6.HyButton;
47
- exports.HyUserAvatar = index$m.HyUserAvatar;
48
- exports.HyNoPermissions = index$f.HyNoPermissions;
49
- exports.HyNoPermissionsMap = index$g.HyNoPermissionsMap;
50
- exports.HyCutter = index$9.HyCutter;
51
- exports.HyDialog = index$a.HyDialog;
52
- exports.HyMenu = index$e.HyMenu;
53
- exports.HyTree = index$l.HyTree;
54
- exports.HyVideoPlayer = index$n.HyVideoPlayer;
46
+ exports.HyConfigProvider = index$8.HyConfigProvider;
47
+ exports.HyButton = index$7.HyButton;
48
+ exports.HyUserAvatar = index$n.HyUserAvatar;
49
+ exports.HyNoPermissions = index$g.HyNoPermissions;
50
+ exports.HyNoPermissionsMap = index$h.HyNoPermissionsMap;
51
+ exports.HyCutter = index$a.HyCutter;
52
+ exports.HyDialog = index$b.HyDialog;
53
+ exports.HyMenu = index$f.HyMenu;
54
+ exports.HyTree = index$m.HyTree;
55
+ exports.HyVideoPlayer = index$o.HyVideoPlayer;
55
56
  exports.HyAudioPlayer = index$4.HyAudioPlayer;
56
57
  exports.ElInput = index$1.ElInput;
57
58
  exports.HyInput = index$1.HyInput;
@@ -59,7 +60,8 @@ exports.ElTimePicker = index$2.ElTimePicker;
59
60
  exports.HyTimePicker = index$2.HyTimePicker;
60
61
  exports.HyBatchTableForm = index$5.HyBatchTableForm;
61
62
  exports.HyTableForm = index$5.HyTableForm;
62
- exports.HyTableActionButton = index$k.HyTableActionButton;
63
+ exports.HyTableActionButton = index$l.HyTableActionButton;
64
+ exports.HyBatchUploadDialog = index$6.HyBatchUploadDialog;
63
65
  exports.resetAppFormValue = useAppForm.resetAppFormValue;
64
66
  exports.useAppForm = useAppForm.useAppForm;
65
67
  exports.resetAppSearchValue = useAppSearch.resetAppSearchValue;
package/lib/index.js CHANGED
@@ -9,24 +9,26 @@ var index$2 = require('./components/hyTimePicker/index.js');
9
9
  var index$3 = require('./components/hyTooltip/index.js');
10
10
  var index$4 = require('./components/hyAudioPlayer/index.js');
11
11
  var index$5 = require('./components/hyTableForm/index.js');
12
- var index$6 = require('./components/hyButton/index.js');
13
- var index$7 = require('./components/hyConfigProvider/index.js');
14
- var index$8 = require('./components/hyConfirmDialog/index.js');
15
- var index$9 = require('./components/hyCutter/index.js');
16
- var index$a = require('./components/hyDialog/index.js');
17
- var index$b = require('./components/hyForm/index.js');
18
- var index$c = require('./components/hyIcon/index.js');
19
- var index$d = require('./components/hyIconBox/index.js');
20
- var index$e = require('./components/hyMenu/index.js');
21
- var index$f = require('./components/hyNoPermissions/index.js');
22
- var index$g = require('./components/hyNoPermissionsMap/index.js');
23
- var index$h = require('./components/hyOrgCascader/index.js');
24
- var index$i = require('./components/hySearch/index.js');
25
- var index$j = require('./components/hyTable/index.js');
26
- var index$k = require('./components/hyTableActionButton/index.js');
27
- var index$l = require('./components/hyTree/index.js');
28
- var index$m = require('./components/hyUserAvatar/index.js');
29
- var index$n = require('./components/hyVideoPlayer/index.js');
12
+ var index$6 = require('./components/hyBatchUploadDialog/index.js');
13
+ var index$7 = require('./components/hyButton/index.js');
14
+ var index$8 = require('./components/hyConfigProvider/index.js');
15
+ var index$9 = require('./components/hyConfirmDialog/index.js');
16
+ var index$a = require('./components/hyCutter/index.js');
17
+ var index$b = require('./components/hyDialog/index.js');
18
+ var index$c = require('./components/hyForm/index.js');
19
+ var index$d = require('./components/hyIcon/index.js');
20
+ var index$e = require('./components/hyIconBox/index.js');
21
+ var index$f = require('./components/hyMenu/index.js');
22
+ var index$g = require('./components/hyNoPermissions/index.js');
23
+ var index$h = require('./components/hyNoPermissionsMap/index.js');
24
+ var index$i = require('./components/hyOrgCascader/index.js');
25
+ var index$j = require('./components/hySearch/index.js');
26
+ var index$k = require('./components/hyTable/index.js');
27
+ var index$l = require('./components/hyTableActionButton/index.js');
28
+ var index$m = require('./components/hyTree/index.js');
29
+ var index$n = require('./components/hyUserAvatar/index.js');
30
+ var index$o = require('./components/hyVideoPlayer/index.js');
31
+ var permission = require('./utils/permission.js');
30
32
  var crypto = require('./utils/crypto.js');
31
33
  var file = require('./utils/file.js');
32
34
  var useLocale = require('./hooks/useLocale.js');
@@ -67,24 +69,26 @@ exports.HyTooltip = index$3.HyTooltip;
67
69
  exports.HyAudioPlayer = index$4.HyAudioPlayer;
68
70
  exports.HyBatchTableForm = index$5.HyBatchTableForm;
69
71
  exports.HyTableForm = index$5.HyTableForm;
70
- exports.HyButton = index$6.HyButton;
71
- exports.HyConfigProvider = index$7.HyConfigProvider;
72
- exports.HyConfirmDialog = index$8.HyConfirmDialog;
73
- exports.HyCutter = index$9.HyCutter;
74
- exports.HyDialog = index$a.HyDialog;
75
- exports.HyForm = index$b.HyForm;
76
- exports.HyIcon = index$c.HyIcon;
77
- exports.HyIconBox = index$d.HyIconBox;
78
- exports.HyMenu = index$e.HyMenu;
79
- exports.HyNoPermissions = index$f.HyNoPermissions;
80
- exports.HyNoPermissionsMap = index$g.HyNoPermissionsMap;
81
- exports.HyOrgCascader = index$h.HyOrgCascader;
82
- exports.HySearch = index$i.HySearch;
83
- exports.HyTable = index$j.HyTable;
84
- exports.HyTableActionButton = index$k.HyTableActionButton;
85
- exports.HyTree = index$l.HyTree;
86
- exports.HyUserAvatar = index$m.HyUserAvatar;
87
- exports.HyVideoPlayer = index$n.HyVideoPlayer;
72
+ exports.HyBatchUploadDialog = index$6.HyBatchUploadDialog;
73
+ exports.HyButton = index$7.HyButton;
74
+ exports.HyConfigProvider = index$8.HyConfigProvider;
75
+ exports.HyConfirmDialog = index$9.HyConfirmDialog;
76
+ exports.HyCutter = index$a.HyCutter;
77
+ exports.HyDialog = index$b.HyDialog;
78
+ exports.HyForm = index$c.HyForm;
79
+ exports.HyIcon = index$d.HyIcon;
80
+ exports.HyIconBox = index$e.HyIconBox;
81
+ exports.HyMenu = index$f.HyMenu;
82
+ exports.HyNoPermissions = index$g.HyNoPermissions;
83
+ exports.HyNoPermissionsMap = index$h.HyNoPermissionsMap;
84
+ exports.HyOrgCascader = index$i.HyOrgCascader;
85
+ exports.HySearch = index$j.HySearch;
86
+ exports.HyTable = index$k.HyTable;
87
+ exports.HyTableActionButton = index$l.HyTableActionButton;
88
+ exports.HyTree = index$m.HyTree;
89
+ exports.HyUserAvatar = index$n.HyUserAvatar;
90
+ exports.HyVideoPlayer = index$o.HyVideoPlayer;
91
+ exports.PERMISSION = permission.PERMISSION;
88
92
  exports.base64Decrypt = crypto.base64Decrypt;
89
93
  exports.encryptToBase64 = crypto.encryptToBase64;
90
94
  exports.generateRandomCode = crypto.generateRandomCode;
@@ -8,6 +8,7 @@ var handler = require('./handler.js');
8
8
  var date = require('./date.js');
9
9
  var file = require('./file.js');
10
10
  var form = require('./form.js');
11
+ var permission = require('./permission.js');
11
12
 
12
13
 
13
14
 
@@ -52,3 +53,4 @@ exports.clearSpace = form.clearSpace;
52
53
  exports.genValueByProp = form.genValueByProp;
53
54
  exports.getValueByProp = form.getValueByProp;
54
55
  exports.setValueByProp = form.setValueByProp;
56
+ exports.PERMISSION = permission.PERMISSION;