@moment-design/material-library 0.1.21 → 0.1.23

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.
@@ -37,8 +37,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
37
37
  default: () => {};
38
38
  };
39
39
  }>> & Readonly<{}>, {
40
- datas: unknown[];
41
40
  config: Record<string, any>;
41
+ datas: unknown[];
42
42
  }, {}, {
43
43
  IconMore: {
44
44
  new (...args: any[]): {
@@ -36,8 +36,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
36
36
  default: () => {};
37
37
  };
38
38
  }>> & Readonly<{}>, {
39
- datas: unknown[];
40
39
  config: Record<string, any>;
40
+ datas: unknown[];
41
41
  }, {}, {
42
42
  LTableOperate: any;
43
43
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
package/dist/c-right.d.ts CHANGED
@@ -41,6 +41,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
41
41
  reset: () => void;
42
42
  init: (id?: string | undefined) => Promise<void>;
43
43
  downloadTxtFile: (fileUrl: any, fileName: any) => Promise<void>;
44
+ handleGroupChange: (id?: string | undefined) => void;
44
45
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
46
  config: {
46
47
  type: ObjectConstructor;
@@ -554,8 +555,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
554
555
  default: () => {};
555
556
  };
556
557
  }>> & Readonly<{}>, {
557
- datas: unknown[];
558
558
  config: Record<string, any>;
559
+ datas: unknown[];
559
560
  }, {}, {
560
561
  IconMore: {
561
562
  new (...args: any[]): {
@@ -752,8 +753,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
752
753
  default: () => {};
753
754
  };
754
755
  }>> & Readonly<{}>, {
755
- datas: unknown[];
756
756
  config: Record<string, any>;
757
+ datas: unknown[];
757
758
  }, {}, {
758
759
  LTableOperate: any;
759
760
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -286,43 +286,43 @@
286
286
  .l-material-library-upload .upload[data-v-6b18ee10] .mo-upload-progress {
287
287
  display: none;
288
288
  }
289
- .l-material-library-right-content[data-v-2b9787ae] {
289
+ .l-material-library-right-content[data-v-7628764c] {
290
290
  flex: 1;
291
291
  }
292
- .l-material-library-right-content .header[data-v-2b9787ae] {
292
+ .l-material-library-right-content .header[data-v-7628764c] {
293
293
  display: flex;
294
294
  justify-content: space-between;
295
295
  }
296
- .l-material-library-right-content .header .left[data-v-2b9787ae] {
296
+ .l-material-library-right-content .header .left[data-v-7628764c] {
297
297
  display: flex;
298
298
  justify-content: space-between;
299
299
  }
300
- .l-material-library-right-content .header .more-icon-down[data-v-2b9787ae] {
300
+ .l-material-library-right-content .header .more-icon-down[data-v-7628764c] {
301
301
  position: relative;
302
302
  top: -1px;
303
303
  margin-left: 6px;
304
304
  font-size: 15px;
305
305
  stroke-width: 5;
306
306
  }
307
- .l-material-library-right-content .toolbar[data-v-2b9787ae] {
307
+ .l-material-library-right-content .toolbar[data-v-7628764c] {
308
308
  margin: 16px 0;
309
309
  display: flex;
310
310
  align-items: center;
311
311
  justify-content: space-between;
312
312
  }
313
- .l-material-library-right-content .toolbar .apps[data-v-2b9787ae],
314
- .l-material-library-right-content .toolbar .menu[data-v-2b9787ae] {
313
+ .l-material-library-right-content .toolbar .apps[data-v-7628764c],
314
+ .l-material-library-right-content .toolbar .menu[data-v-7628764c] {
315
315
  margin-left: 8px;
316
316
  font-size: 20px;
317
317
  stroke-width: 5;
318
318
  }
319
- .l-material-library-right-content .toolbar .apps[data-v-2b9787ae]:hover,
320
- .l-material-library-right-content .toolbar .menu[data-v-2b9787ae]:hover,
321
- .l-material-library-right-content .toolbar .apps.active[data-v-2b9787ae],
322
- .l-material-library-right-content .toolbar .menu.active[data-v-2b9787ae] {
319
+ .l-material-library-right-content .toolbar .apps[data-v-7628764c]:hover,
320
+ .l-material-library-right-content .toolbar .menu[data-v-7628764c]:hover,
321
+ .l-material-library-right-content .toolbar .apps.active[data-v-7628764c],
322
+ .l-material-library-right-content .toolbar .menu.active[data-v-7628764c] {
323
323
  color: #1966ff;
324
324
  cursor: pointer;
325
325
  }
326
- .l-material-library[data-v-14c0788c] {
326
+ .l-material-library[data-v-2050e47e] {
327
327
  display: flex;
328
328
  }
package/dist/index.cjs.js CHANGED
@@ -7275,6 +7275,13 @@ const _sfc_main$1 = vue.defineComponent({
7275
7275
  pageSize.value = v;
7276
7276
  init(groupId.value);
7277
7277
  };
7278
+ const handleGroupChange = (id) => {
7279
+ var _a2, _b2;
7280
+ pageNum.value = 1;
7281
+ init(id);
7282
+ (_a2 = refCRightMenus.value) == null ? void 0 : _a2.resetCurrent();
7283
+ (_b2 = refCRightApps.value) == null ? void 0 : _b2.resetCurrent();
7284
+ };
7278
7285
  const handlePreview = (item) => {
7279
7286
  if ((item == null ? void 0 : item.fileType) === 1) {
7280
7287
  if (item == null ? void 0 : item.filePath) {
@@ -7424,7 +7431,8 @@ const _sfc_main$1 = vue.defineComponent({
7424
7431
  handleRemoveOk,
7425
7432
  reset,
7426
7433
  init,
7427
- downloadTxtFile
7434
+ downloadTxtFile,
7435
+ handleGroupChange
7428
7436
  };
7429
7437
  }
7430
7438
  });
@@ -7625,7 +7633,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
7625
7633
  }, null, 8, ["visible", "src"])
7626
7634
  ], 64);
7627
7635
  }
7628
- var CRight = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-2b9787ae"]]);
7636
+ var CRight = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-7628764c"]]);
7629
7637
  var index_vue_vue_type_style_index_0_scoped_true_lang = "";
7630
7638
  const _sfc_main = vue.defineComponent({
7631
7639
  name: "MaterialLibrary",
@@ -7670,6 +7678,10 @@ const _sfc_main = vue.defineComponent({
7670
7678
  refCLeft.value.init();
7671
7679
  refCRight.value.initCheckbox();
7672
7680
  };
7681
+ const handleGroupChange = (id) => {
7682
+ var _a;
7683
+ (_a = refCRight.value) == null ? void 0 : _a.handleGroupChange(id);
7684
+ };
7673
7685
  vue.watch(
7674
7686
  () => props.config,
7675
7687
  (v) => deepConfig.value = v,
@@ -7692,7 +7704,8 @@ const _sfc_main = vue.defineComponent({
7692
7704
  visible,
7693
7705
  handleOk,
7694
7706
  open,
7695
- getVersion
7707
+ getVersion,
7708
+ handleGroupChange
7696
7709
  };
7697
7710
  }
7698
7711
  });
@@ -7718,7 +7731,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
7718
7731
  vue.createVNode(_component_CLeft, {
7719
7732
  ref: "refCLeft",
7720
7733
  config: _ctx.deepConfig,
7721
- "onGroup:change": _cache[0] || (_cache[0] = (v) => _ctx.refCRight.init(v))
7734
+ "onGroup:change": _cache[0] || (_cache[0] = (v) => _ctx.handleGroupChange(v))
7722
7735
  }, null, 8, ["config"]),
7723
7736
  vue.createVNode(_component_CRight, {
7724
7737
  ref: "refCRight",
@@ -7734,7 +7747,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
7734
7747
  vue.createVNode(_component_CLeft, {
7735
7748
  ref: "refCLeft",
7736
7749
  config: _ctx.deepConfig,
7737
- "onGroup:change": _cache[3] || (_cache[3] = (v) => _ctx.refCRight.init(v))
7750
+ "onGroup:change": _cache[3] || (_cache[3] = (v) => _ctx.handleGroupChange(v))
7738
7751
  }, null, 8, ["config"]),
7739
7752
  vue.createVNode(_component_CRight, {
7740
7753
  ref: "refCRight",
@@ -7745,5 +7758,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
7745
7758
  ], 2112))
7746
7759
  ], 2112);
7747
7760
  }
7748
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-14c0788c"]]);
7761
+ var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2050e47e"]]);
7749
7762
  module.exports = index;
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
11
11
  handleOk: () => void;
12
12
  open: () => void;
13
13
  getVersion: () => string;
14
+ handleGroupChange: (id?: string | undefined) => void;
14
15
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
16
  config: {
16
17
  type: ObjectConstructor;
@@ -589,6 +590,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
589
590
  reset: () => void;
590
591
  init: (id?: string | undefined) => Promise<void>;
591
592
  downloadTxtFile: (fileUrl: any, fileName: any) => Promise<void>;
593
+ handleGroupChange: (id?: string | undefined) => void;
592
594
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
593
595
  config: {
594
596
  type: ObjectConstructor;
@@ -1102,8 +1104,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1102
1104
  default: () => {};
1103
1105
  };
1104
1106
  }>> & Readonly<{}>, {
1105
- datas: unknown[];
1106
1107
  config: Record<string, any>;
1108
+ datas: unknown[];
1107
1109
  }, {}, {
1108
1110
  IconMore: {
1109
1111
  new (...args: any[]): {
@@ -1300,8 +1302,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1300
1302
  default: () => {};
1301
1303
  };
1302
1304
  }>> & Readonly<{}>, {
1303
- datas: unknown[];
1304
1305
  config: Record<string, any>;
1306
+ datas: unknown[];
1305
1307
  }, {}, {
1306
1308
  LTableOperate: any;
1307
1309
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
package/dist/index.esm.js CHANGED
@@ -7274,6 +7274,13 @@ const _sfc_main$1 = defineComponent({
7274
7274
  pageSize.value = v;
7275
7275
  init(groupId.value);
7276
7276
  };
7277
+ const handleGroupChange = (id) => {
7278
+ var _a2, _b2;
7279
+ pageNum.value = 1;
7280
+ init(id);
7281
+ (_a2 = refCRightMenus.value) == null ? void 0 : _a2.resetCurrent();
7282
+ (_b2 = refCRightApps.value) == null ? void 0 : _b2.resetCurrent();
7283
+ };
7277
7284
  const handlePreview = (item) => {
7278
7285
  if ((item == null ? void 0 : item.fileType) === 1) {
7279
7286
  if (item == null ? void 0 : item.filePath) {
@@ -7423,7 +7430,8 @@ const _sfc_main$1 = defineComponent({
7423
7430
  handleRemoveOk,
7424
7431
  reset,
7425
7432
  init,
7426
- downloadTxtFile
7433
+ downloadTxtFile,
7434
+ handleGroupChange
7427
7435
  };
7428
7436
  }
7429
7437
  });
@@ -7624,7 +7632,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
7624
7632
  }, null, 8, ["visible", "src"])
7625
7633
  ], 64);
7626
7634
  }
7627
- var CRight = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-2b9787ae"]]);
7635
+ var CRight = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-7628764c"]]);
7628
7636
  var index_vue_vue_type_style_index_0_scoped_true_lang = "";
7629
7637
  const _sfc_main = defineComponent({
7630
7638
  name: "MaterialLibrary",
@@ -7669,6 +7677,10 @@ const _sfc_main = defineComponent({
7669
7677
  refCLeft.value.init();
7670
7678
  refCRight.value.initCheckbox();
7671
7679
  };
7680
+ const handleGroupChange = (id) => {
7681
+ var _a;
7682
+ (_a = refCRight.value) == null ? void 0 : _a.handleGroupChange(id);
7683
+ };
7672
7684
  watch(
7673
7685
  () => props.config,
7674
7686
  (v) => deepConfig.value = v,
@@ -7691,7 +7703,8 @@ const _sfc_main = defineComponent({
7691
7703
  visible,
7692
7704
  handleOk,
7693
7705
  open,
7694
- getVersion
7706
+ getVersion,
7707
+ handleGroupChange
7695
7708
  };
7696
7709
  }
7697
7710
  });
@@ -7717,7 +7730,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
7717
7730
  createVNode(_component_CLeft, {
7718
7731
  ref: "refCLeft",
7719
7732
  config: _ctx.deepConfig,
7720
- "onGroup:change": _cache[0] || (_cache[0] = (v) => _ctx.refCRight.init(v))
7733
+ "onGroup:change": _cache[0] || (_cache[0] = (v) => _ctx.handleGroupChange(v))
7721
7734
  }, null, 8, ["config"]),
7722
7735
  createVNode(_component_CRight, {
7723
7736
  ref: "refCRight",
@@ -7733,7 +7746,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
7733
7746
  createVNode(_component_CLeft, {
7734
7747
  ref: "refCLeft",
7735
7748
  config: _ctx.deepConfig,
7736
- "onGroup:change": _cache[3] || (_cache[3] = (v) => _ctx.refCRight.init(v))
7749
+ "onGroup:change": _cache[3] || (_cache[3] = (v) => _ctx.handleGroupChange(v))
7737
7750
  }, null, 8, ["config"]),
7738
7751
  createVNode(_component_CRight, {
7739
7752
  ref: "refCRight",
@@ -7744,5 +7757,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
7744
7757
  ], 2112))
7745
7758
  ], 2112);
7746
7759
  }
7747
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-14c0788c"]]);
7760
+ var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2050e47e"]]);
7748
7761
  export { index as default };
package/dist/index.min.js CHANGED
@@ -3391,6 +3391,9 @@
3391
3391
  } catch (e3) {
3392
3392
  console.error("\u4E0B\u8F7D\u6587\u4EF6\u65F6\u51FA\u9519:", e3);
3393
3393
  }
3394
+ }, handleGroupChange: (e2) => {
3395
+ var _a2, _b2;
3396
+ h2.value = 1, G2(e2), (_a2 = f2.value) == null ? void 0 : _a2.resetCurrent(), (_b2 = c2.value) == null ? void 0 : _b2.resetCurrent();
3394
3397
  } };
3395
3398
  } }), lt = { class: "l-material-library-right-content" }, ct = { class: "header" }, ft = { class: "left" }, st = { key: 0, class: "right" }, At = { class: "toolbar" };
3396
3399
  var gt = r(at, [["render", function(t2, n2, r2, o2, i2, u2) {
@@ -3399,7 +3402,7 @@
3399
3402
  var _a;
3400
3403
  return [e.createVNode(a2, { modelValue: t2.fileName, "onUpdate:modelValue": n2[0] || (n2[0] = (e2) => t2.fileName = e2), class: "input", "allow-clear": "", placeholder: "\u8BF7\u8F93\u5165\u7D20\u6750\u540D\u79F0", style: { width: "160px" } }, null, 8, ["modelValue"]), e.createVNode(l2, { modelValue: t2.fileType, "onUpdate:modelValue": n2[1] || (n2[1] = (e2) => t2.fileType = e2), class: "select", options: t2.fileTypes, disabled: [1, 2, 3, 4].includes((_a = t2.config) == null ? void 0 : _a.fileType), "allow-clear": "", placeholder: "\u8BF7\u9009\u62E9\u7D20\u6750\u7C7B\u578B", style: { width: "160px" } }, null, 8, ["modelValue", "options", "disabled"]), e.createVNode(c2, { type: "primary", onClick: n2[2] || (n2[2] = (e2) => t2.init(t2.groupId)) }, { default: e.withCtx(() => n2[12] || (n2[12] = [e.createTextVNode("\u67E5\u8BE2")])), _: 1 }), e.createVNode(c2, { onClick: t2.reset }, { default: e.withCtx(() => n2[13] || (n2[13] = [e.createTextVNode("\u91CD\u7F6E")])), _: 1 }, 8, ["onClick"])];
3401
3404
  }), _: 1 })) : e.createCommentVNode("v-if", true)]), t2.isShowUploadLocalMaterials || t2.isShowRemoveGroup || t2.isShowDeleteMaterials ? (e.openBlock(), e.createElementBlock("div", st, [e.createVNode(g2, { position: "br", trigger: "hover" }, { content: e.withCtx(() => [t2.isShowUploadLocalMaterials ? (e.openBlock(), e.createBlock(A2, { key: 0, onClick: n2[3] || (n2[3] = (e2) => t2.refCUpload.open(t2.groupId)) }, { default: e.withCtx(() => n2[15] || (n2[15] = [e.createTextVNode("\u4E0A\u4F20\u672C\u5730\u7D20\u6750")])), _: 1 })) : e.createCommentVNode("v-if", true), t2.isShowRemoveGroup ? (e.openBlock(), e.createBlock(A2, { key: 1, onClick: n2[4] || (n2[4] = (e2) => t2.getIds("\u79FB\u52A8\u5206\u7EC4")) }, { default: e.withCtx(() => n2[16] || (n2[16] = [e.createTextVNode("\u79FB\u52A8\u5206\u7EC4")])), _: 1 })) : e.createCommentVNode("v-if", true), t2.isShowDeleteMaterials ? (e.openBlock(), e.createBlock(A2, { key: 2, onClick: n2[5] || (n2[5] = (e2) => t2.getIds("\u5220\u9664")) }, { default: e.withCtx(() => n2[17] || (n2[17] = [e.createTextVNode("\u5220\u9664")])), _: 1 })) : e.createCommentVNode("v-if", true)]), default: e.withCtx(() => [e.createVNode(c2, { type: "primary" }, { default: e.withCtx(() => [n2[14] || (n2[14] = e.createTextVNode(" \u66F4\u591A\u64CD\u4F5C ")), e.createVNode(s2, { class: "more-icon-down" })]), _: 1 })]), _: 1 })])) : e.createCommentVNode("v-if", true)]), e.createCommentVNode(" toolbar "), e.createElementVNode("div", At, [n2[18] || (n2[18] = e.createElementVNode("div", null, null, -1)), e.createElementVNode("div", null, [e.createVNode(p2, { class: e.normalizeClass(["apps", 1 === t2.showType ? "active" : ""]), onClick: n2[6] || (n2[6] = (e2) => t2.showType = 1) }, null, 8, ["class"]), e.createVNode(v2, { class: e.normalizeClass(["menu", 2 === t2.showType ? "active" : ""]), onClick: n2[7] || (n2[7] = (e2) => t2.showType = 2) }, null, 8, ["class"])])]), e.createCommentVNode(" content "), e.createVNode(w2, { loading: t2.loading, style: { width: "100%" } }, { default: e.withCtx(() => [1 === t2.showType ? (e.openBlock(), e.createBlock(d2, { key: 0, ref: "refCRightApps", config: t2.config, datas: t2.datas, "onHandle:page": t2.handlePage, "onHandle:page:sizes": t2.handlePageSizes, "onHandle:preview": t2.handlePreview, "onHandle:remove": t2.handleRemove, "onHandle:move": n2[8] || (n2[8] = (e2) => t2.refCChangeGroup.open([e2.id])) }, null, 8, ["config", "datas", "onHandle:page", "onHandle:page:sizes", "onHandle:preview", "onHandle:remove"])) : e.createCommentVNode("v-if", true), 2 === t2.showType ? (e.openBlock(), e.createBlock(h2, { key: 1, ref: "refCRightMenus", config: t2.config, datas: t2.datas, "onHandle:page": t2.handlePage, "onHandle:page:sizes": t2.handlePageSizes, "onHandle:preview": t2.handlePreview, "onHandle:remove": t2.handleRemove, "onHandle:move": n2[9] || (n2[9] = (e2) => t2.refCChangeGroup.open([e2.id])) }, null, 8, ["config", "datas", "onHandle:page", "onHandle:page:sizes", "onHandle:preview", "onHandle:remove"])) : e.createCommentVNode("v-if", true)]), _: 1 }, 8, ["loading"])]), e.createVNode(C2, { title: "\u5220\u9664\u63D0\u793A", visible: t2.visible, others: { width: 390, okLoading: t2.removeLoading }, "onHandle:cancel": n2[10] || (n2[10] = (e2) => t2.visible = false), "onHandle:ok": t2.handleRemoveOk }, { default: e.withCtx(() => n2[19] || (n2[19] = [e.createTextVNode(" \u5220\u9664\u7D20\u6750\u540E\uFF0C\u5C06\u65E0\u6CD5\u88AB\u6062\u590D\u3002 ")])), _: 1 }, 8, ["visible", "others", "onHandle:ok"]), e.createCommentVNode(" \u4FEE\u6539\u5206\u7EC4 "), e.createVNode(B2, { ref: "refCChangeGroup", config: t2.deepConfig, "onMove:success": t2.reset }, null, 8, ["config", "onMove:success"]), e.createCommentVNode(" \u4E0A\u4F20\u7D20\u6750 "), e.createVNode(m2, { ref: "refCUpload", config: t2.deepConfig, "onUpload:success": t2.reset }, null, 8, ["config", "onUpload:success"]), e.createCommentVNode(" \u9884\u89C8 "), e.createVNode(y2, { visible: t2.visiblePreview, "onUpdate:visible": n2[11] || (n2[11] = (e2) => t2.visiblePreview = e2), src: t2.previewUrl }, null, 8, ["visible", "src"])], 64);
3402
- }], ["__scopeId", "data-v-2b9787ae"]]);
3405
+ }], ["__scopeId", "data-v-7628764c"]]);
3403
3406
  const pt = e.defineComponent({ name: "MaterialLibrary", components: { CLeft: L, CRight: gt, LModal: o }, props: { config: { type: Object, default: () => ({}) } }, setup(n2, { emit: r2 }) {
3404
3407
  const o2 = e.ref(n2.config), i2 = e.ref(), u2 = e.ref(), a2 = e.ref(false);
3405
3408
  e.watch(() => n2.config, (e2) => o2.value = e2, { immediate: true, deep: true });
@@ -3421,12 +3424,15 @@
3421
3424
  t.Message.error("\u8BF7\u9009\u62E9\u7D20\u6750");
3422
3425
  }, open: () => {
3423
3426
  a2.value = true, i2.value.init(), u2.value.initCheckbox();
3424
- }, getVersion: () => "0.0.23" };
3427
+ }, getVersion: () => "0.0.23", handleGroupChange: (e2) => {
3428
+ var _a;
3429
+ (_a = u2.value) == null ? void 0 : _a.handleGroupChange(e2);
3430
+ } };
3425
3431
  } }), vt = { class: "l-material-library" }, dt = { class: "l-material-library" };
3426
3432
  return r(pt, [["render", function(t2, n2, r2, o2, i2, u2) {
3427
3433
  var _a, _b, _c, _d, _e2;
3428
3434
  const a2 = e.resolveComponent("CLeft"), l2 = e.resolveComponent("CRight"), c2 = e.resolveComponent("l-modal");
3429
- return e.openBlock(), e.createElementBlock(e.Fragment, null, [e.createCommentVNode(" dialog "), ((_a = t2.deepConfig.dialog) == null ? void 0 : _a.visible) ? (e.openBlock(), e.createBlock(c2, { key: 0, visible: t2.visible, title: (_c = (_b = t2.deepConfig.dialog) == null ? void 0 : _b.title) != null ? _c : "\u9009\u62E9\u7D20\u6750", others: { width: (_e2 = (_d = t2.deepConfig.dialog) == null ? void 0 : _d.width) != null ? _e2 : 1160 }, "onHandle:cancel": n2[2] || (n2[2] = (e2) => t2.visible = false), "onHandle:ok": t2.handleOk }, { default: e.withCtx(() => [e.createElementVNode("div", vt, [e.createVNode(a2, { ref: "refCLeft", config: t2.deepConfig, "onGroup:change": n2[0] || (n2[0] = (e2) => t2.refCRight.init(e2)) }, null, 8, ["config"]), e.createVNode(l2, { ref: "refCRight", config: t2.deepConfig, "onGroup:init": n2[1] || (n2[1] = (e2) => t2.refCLeft.init()) }, null, 8, ["config"])])]), _: 1 }, 8, ["visible", "title", "others", "onHandle:ok"])) : (e.openBlock(), e.createElementBlock(e.Fragment, { key: 1 }, [e.createCommentVNode(" list "), e.createElementVNode("div", dt, [e.createVNode(a2, { ref: "refCLeft", config: t2.deepConfig, "onGroup:change": n2[3] || (n2[3] = (e2) => t2.refCRight.init(e2)) }, null, 8, ["config"]), e.createVNode(l2, { ref: "refCRight", config: t2.deepConfig, "onGroup:init": n2[4] || (n2[4] = (e2) => t2.refCLeft.init()) }, null, 8, ["config"])])], 2112))], 2112);
3430
- }], ["__scopeId", "data-v-14c0788c"]]);
3435
+ return e.openBlock(), e.createElementBlock(e.Fragment, null, [e.createCommentVNode(" dialog "), ((_a = t2.deepConfig.dialog) == null ? void 0 : _a.visible) ? (e.openBlock(), e.createBlock(c2, { key: 0, visible: t2.visible, title: (_c = (_b = t2.deepConfig.dialog) == null ? void 0 : _b.title) != null ? _c : "\u9009\u62E9\u7D20\u6750", others: { width: (_e2 = (_d = t2.deepConfig.dialog) == null ? void 0 : _d.width) != null ? _e2 : 1160 }, "onHandle:cancel": n2[2] || (n2[2] = (e2) => t2.visible = false), "onHandle:ok": t2.handleOk }, { default: e.withCtx(() => [e.createElementVNode("div", vt, [e.createVNode(a2, { ref: "refCLeft", config: t2.deepConfig, "onGroup:change": n2[0] || (n2[0] = (e2) => t2.handleGroupChange(e2)) }, null, 8, ["config"]), e.createVNode(l2, { ref: "refCRight", config: t2.deepConfig, "onGroup:init": n2[1] || (n2[1] = (e2) => t2.refCLeft.init()) }, null, 8, ["config"])])]), _: 1 }, 8, ["visible", "title", "others", "onHandle:ok"])) : (e.openBlock(), e.createElementBlock(e.Fragment, { key: 1 }, [e.createCommentVNode(" list "), e.createElementVNode("div", dt, [e.createVNode(a2, { ref: "refCLeft", config: t2.deepConfig, "onGroup:change": n2[3] || (n2[3] = (e2) => t2.handleGroupChange(e2)) }, null, 8, ["config"]), e.createVNode(l2, { ref: "refCRight", config: t2.deepConfig, "onGroup:init": n2[4] || (n2[4] = (e2) => t2.refCLeft.init()) }, null, 8, ["config"])])], 2112))], 2112);
3436
+ }], ["__scopeId", "data-v-2050e47e"]]);
3431
3437
  });
3432
3438
  //# sourceMappingURL=index.min.js.map