@wfrog/vc-ui 1.9.4 → 1.9.6

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 (31) hide show
  1. package/dist/es/components/dialog/dialog.d.ts +2 -1
  2. package/dist/es/components/dialog/dialog.mjs +16 -13
  3. package/dist/es/components/dialog/dialog.vue.d.ts +2 -1
  4. package/dist/es/components/dialog/index.css +24 -27
  5. package/dist/es/components/document.vue.d.ts +14 -0
  6. package/dist/es/components/example-wrapper.vue.d.ts +19 -0
  7. package/dist/es/components/explorer-container/explorer-container.mjs +12 -7
  8. package/dist/es/components/explorer-container/index.css +7 -4
  9. package/dist/es/components/explorer-form/explorer-form.mjs +18 -10
  10. package/dist/es/components/explorer-form/index.css +17 -6
  11. package/dist/es/components/explorer-list/explorer-list.mjs +19 -13
  12. package/dist/es/components/explorer-list/index.css +15 -12
  13. package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +10 -4
  14. package/dist/es/components/explorer-modal-form/index.css +9 -1
  15. package/dist/es/components/explorer-tree/explorer-tree.mjs +18 -12
  16. package/dist/es/components/explorer-tree/index.css +18 -15
  17. package/dist/es/components/icon-picker/components/collections.vue.d.ts +4 -21
  18. package/dist/es/components/icon-picker/icon-picker.mjs +11 -11
  19. package/dist/es/components/icon-picker/index.css +16 -16
  20. package/dist/es/components/scrollbar/index.css +5 -5
  21. package/dist/es/components/scrollbar/scrollbar.d.ts +2 -3
  22. package/dist/es/components/scrollbar/scrollbar.mjs +5 -23
  23. package/dist/es/components/scrollbar/scrollbar.vue.d.ts +1 -1
  24. package/dist/es/components/splitter-panel/splitter-panel.d.ts +0 -1
  25. package/dist/es/components/splitter-panel/splitter-panel.mjs +20 -32
  26. package/dist/es/components/splitter-panel/splitter-panel.vue.d.ts +1 -4
  27. package/dist/es/components/transfer-panel/index.css +1 -1
  28. package/dist/es/components/transfer-panel/transfer-panel.mjs +5 -2
  29. package/dist/es/index.mjs +1 -1
  30. package/dist/index.css +112 -87
  31. package/package.json +1 -1
@@ -9,6 +9,7 @@ export interface IDialogProps {
9
9
  fullscreenHeight?: string | number;
10
10
  fullscreen?: boolean;
11
11
  boxPadding?: boolean;
12
- padding?: number;
12
+ padding?: string;
13
+ viewMargin?: string;
13
14
  width?: string | number;
14
15
  }
@@ -417,7 +417,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
417
417
  fullscreenHeight: {},
418
418
  fullscreen: { type: Boolean, default: false },
419
419
  boxPadding: { type: Boolean, default: true },
420
- padding: { default: 16 },
420
+ padding: { default: "0px" },
421
+ viewMargin: { default: "12px" },
421
422
  width: { default: "960px" }
422
423
  },
423
424
  emits: ["update:modelValue", "closed"],
@@ -466,7 +467,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
466
467
  "show-close": false,
467
468
  fullscreen: unref(isFullscreen),
468
469
  "close-on-click-modal": false,
469
- class: [unref($style).main, { [unref($style)["box-padding"]]: __props.boxPadding }],
470
+ class: unref($style).main,
471
+ style: {
472
+ "--vc-dialog-boxPadding": __props.boxPadding ? "block" : "none",
473
+ "--vc-dialog-padding": __props.padding
474
+ },
470
475
  onClosed: handleClosed
471
476
  }), createSlots({
472
477
  header: withCtx(({ close, titleId, titleClass }) => [
@@ -507,15 +512,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
507
512
  "max-height": unref(myMaxHeight),
508
513
  height: __props.height,
509
514
  always: "",
510
- "view-class": unref($style)["scrollbar-view"],
511
- padding: __props.padding,
515
+ "view-margin": __props.viewMargin,
512
516
  "fill-height": false
513
517
  }, {
514
518
  default: withCtx(() => [
515
519
  renderSlot(_ctx.$slots, "default")
516
520
  ]),
517
521
  _: 3
518
- }, 8, ["max-height", "height", "view-class", "padding"])
522
+ }, 8, ["max-height", "height", "view-margin"])
519
523
  ]),
520
524
  _: 2
521
525
  }, [
@@ -536,23 +540,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
536
540
  ]),
537
541
  key: "0"
538
542
  } : void 0
539
- ]), 1040, ["modelValue", "width", "fullscreen", "class"])) : createCommentVNode("", true);
543
+ ]), 1040, ["modelValue", "width", "fullscreen", "class", "style"])) : createCommentVNode("", true);
540
544
  };
541
545
  }
542
546
  });
543
547
 
544
- /* unplugin-vue-components disabled */const main = "_main_15a30_1";
545
- const header = "_header_15a30_48";
546
- const title = "_title_15a30_77";
547
- const buttons = "_buttons_15a30_86";
548
+ /* unplugin-vue-components disabled */const main = "_main_k37nc_1";
549
+ const header = "_header_k37nc_48";
550
+ const title = "_title_k37nc_77";
551
+ const buttons = "_buttons_k37nc_82";
548
552
  const style0 = {
549
553
  main: main,
550
554
  header: header,
551
- "box-padding": "_box-padding_15a30_57",
555
+ "box-padding": "_box-padding_k37nc_57",
552
556
  title: title,
553
- "scrollbar-view": "_scrollbar-view_15a30_82",
554
557
  buttons: buttons,
555
- "icon-button": "_icon-button_15a30_90"
558
+ "icon-button": "_icon-button_k37nc_86"
556
559
  };
557
560
 
558
561
  const cssModules = {
@@ -22,13 +22,14 @@ declare const __VLS_component: import('vue').DefineComponent<IDialogProps, {}, {
22
22
  }>, {
23
23
  title: string;
24
24
  width: string | number;
25
+ viewMargin: string;
25
26
  maxHeight: string | number;
26
- padding: number;
27
27
  showFullscreen: boolean;
28
28
  showDefaultFooter: boolean;
29
29
  lazy: boolean;
30
30
  fullscreen: boolean;
31
31
  boxPadding: boolean;
32
+ padding: string;
32
33
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
34
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
35
  export default _default;
@@ -1,28 +1,28 @@
1
1
  /* source: src/components/dialog/dialog.vue */
2
- :root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:0.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:16px;--el-dialog-border-radius:var(--el-border-radius-base);background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;margin:var(--el-dialog-margin-top,15vh) auto 50px;overflow-wrap:break-word;padding:var(--el-dialog-padding-primary);position:relative;width:var(--el-dialog-width,50%)}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;border-radius:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{bottom:0;left:0;margin:0;overflow:auto;position:fixed;right:0;top:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px))}.el-dialog__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:48px;outline:none;padding:0;position:absolute;right:0;top:0;width:48px}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{color:var(--el-text-color-primary);font-size:var(--el-dialog-title-font-size);line-height:var(--el-dialog-font-line-height)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{box-sizing:border-box;padding-top:var(--el-dialog-padding-primary);text-align:right}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-modal-dialog.is-penetrable{pointer-events:none}.el-modal-dialog.is-penetrable .el-dialog{pointer-events:auto}.el-overlay-dialog{bottom:0;left:0;overflow:auto;position:fixed;right:0;top:0}.el-overlay-dialog.is-closing .el-dialog{pointer-events:none}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes dialog-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}div._main_15a30_1 {
2
+ :root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:0.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:16px;--el-dialog-border-radius:var(--el-border-radius-base);background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;margin:var(--el-dialog-margin-top,15vh) auto 50px;overflow-wrap:break-word;padding:var(--el-dialog-padding-primary);position:relative;width:var(--el-dialog-width,50%)}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;border-radius:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{bottom:0;left:0;margin:0;overflow:auto;position:fixed;right:0;top:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px))}.el-dialog__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:48px;outline:none;padding:0;position:absolute;right:0;top:0;width:48px}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{color:var(--el-text-color-primary);font-size:var(--el-dialog-title-font-size);line-height:var(--el-dialog-font-line-height)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{box-sizing:border-box;padding-top:var(--el-dialog-padding-primary);text-align:right}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-modal-dialog.is-penetrable{pointer-events:none}.el-modal-dialog.is-penetrable .el-dialog{pointer-events:auto}.el-overlay-dialog{bottom:0;left:0;overflow:auto;position:fixed;right:0;top:0}.el-overlay-dialog.is-closing .el-dialog{pointer-events:none}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes dialog-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}div._main_k37nc_1 {
3
3
  --el-dialog-padding-primary: 0;
4
4
  display: flex;
5
5
  flex-direction: column;
6
6
  }
7
- div._main_15a30_1 .el-dialog__header {
7
+ div._main_k37nc_1 .el-dialog__header {
8
8
  padding: 8px 16px;
9
9
  margin-right: 0;
10
10
  border-bottom: 1px solid var(--el-border-color-light);
11
11
  }
12
- div._main_15a30_1 .el-dialog__body {
12
+ div._main_k37nc_1 .el-dialog__body {
13
13
  flex-grow: 1;
14
- padding: 0;
14
+ padding: var(--vc-dialog-padding);
15
15
  display: flex;
16
16
  flex-direction: column;
17
17
  }
18
- div._main_15a30_1 .el-dialog__footer {
18
+ div._main_k37nc_1 .el-dialog__footer {
19
19
  padding: 8px 16px;
20
20
  border-top: 1px solid var(--el-border-color-light);
21
21
  }
22
- div._main_15a30_1 > .el-dialog__body > .el-scrollbar {
22
+ div._main_k37nc_1 > .el-dialog__body > .el-scrollbar {
23
23
  position: relative;
24
24
  }
25
- div._main_15a30_1 > .el-dialog__body > .el-scrollbar::before {
25
+ div._main_k37nc_1 > .el-dialog__body > .el-scrollbar::before {
26
26
  content: "";
27
27
  position: absolute;
28
28
  top: 0;
@@ -30,11 +30,11 @@ div._main_15a30_1 > .el-dialog__body > .el-scrollbar::before {
30
30
  width: calc(100% - 8px);
31
31
  height: 100%;
32
32
  background: var(--el-bg-color);
33
- height: 16px;
33
+ height: 12px;
34
34
  z-index: 3;
35
- display: none;
35
+ display: var(--vc-dialog-boxPadding);
36
36
  }
37
- div._main_15a30_1 > .el-dialog__body > .el-scrollbar::after {
37
+ div._main_k37nc_1 > .el-dialog__body > .el-scrollbar::after {
38
38
  content: "";
39
39
  position: absolute;
40
40
  bottom: 0;
@@ -42,48 +42,45 @@ div._main_15a30_1 > .el-dialog__body > .el-scrollbar::after {
42
42
  width: calc(100% - 8px);
43
43
  height: 100%;
44
44
  background: var(--el-bg-color);
45
- height: 16px;
45
+ height: 12px;
46
46
  z-index: 3;
47
- display: none;
47
+ display: var(--vc-dialog-boxPadding);
48
48
  }
49
- div._main_15a30_1 ._header_15a30_48 h4 {
49
+ div._main_k37nc_1 ._header_k37nc_48 h4 {
50
50
  font-size: 1.2em;
51
51
  font-weight: 600;
52
52
  line-height: 1;
53
53
  }
54
- div._main_15a30_1 ._header_15a30_48 {
54
+ div._main_k37nc_1 ._header_k37nc_48 {
55
55
  line-height: 1;
56
56
  }
57
- ._box-padding_15a30_57 > .el-dialog__body > .el-scrollbar {
57
+ ._box-padding_k37nc_57 > .el-dialog__body > .el-scrollbar {
58
58
  position: relative;
59
59
  }
60
- ._box-padding_15a30_57 > .el-dialog__body > .el-scrollbar::before {
61
- display: "block";
60
+ ._box-padding_k37nc_57 > .el-dialog__body > .el-scrollbar::before {
61
+ display: block;
62
62
  }
63
- ._box-padding_15a30_57 > .el-dialog__body > .el-scrollbar::after {
64
- display: "block";
63
+ ._box-padding_k37nc_57 > .el-dialog__body > .el-scrollbar::after {
64
+ display: block;
65
65
  }
66
- ._header_15a30_48 {
66
+ ._header_k37nc_48 {
67
67
  display: flex;
68
68
  flex-direction: row;
69
69
  justify-content: space-between;
70
70
  }
71
- ._header_15a30_48 h4 {
71
+ ._header_k37nc_48 h4 {
72
72
  padding: 0;
73
73
  margin: 0 !important;
74
74
  }
75
- ._title_15a30_77 {
75
+ ._title_k37nc_77 {
76
76
  display: flex;
77
77
  align-items: center;
78
78
  }
79
- ._scrollbar-view_15a30_82 {
80
- padding: 16px;
81
- }
82
- ._buttons_15a30_86 {
79
+ ._buttons_k37nc_82 {
83
80
  display: flex;
84
81
  column-gap: 8px;
85
82
  }
86
- ._buttons_15a30_86 button._icon-button_15a30_90 {
83
+ ._buttons_k37nc_82 button._icon-button_k37nc_86 {
87
84
  padding: 8px;
88
85
  font-size: 1.2em;
89
86
  border: 0;
@@ -0,0 +1,14 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ data: {
3
+ type: ObjectConstructor;
4
+ default: () => {};
5
+ };
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
7
+ data: {
8
+ type: ObjectConstructor;
9
+ default: () => {};
10
+ };
11
+ }>> & Readonly<{}>, {
12
+ data: Record<string, any>;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
14
+ export default _default;
@@ -0,0 +1,19 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {
5
+ direction: string;
6
+ }): any;
7
+ };
8
+ refs: {};
9
+ rootEl: any;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -41,12 +41,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  renderSlot(_ctx.$slots, "action")
42
42
  ], 2)) : createCommentVNode("", true)
43
43
  ], 2),
44
- createVNode(Component$2, { always: "" }, {
44
+ createVNode(Component$2, {
45
+ always: "",
46
+ class: normalizeClass(_ctx.$style.scrollbar)
47
+ }, {
45
48
  default: withCtx(() => [
46
49
  renderSlot(_ctx.$slots, "default")
47
50
  ]),
48
51
  _: 3
49
- })
52
+ }, 8, ["class"])
50
53
  ], 2)), [
51
54
  [_directive_loading, __props.loading]
52
55
  ]);
@@ -54,13 +57,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
57
  }
55
58
  });
56
59
 
57
- /* unplugin-vue-components disabled */const header = "_header_4odhg_8";
58
- const icon = "_icon_4odhg_26";
60
+ /* unplugin-vue-components disabled */const header = "_header_1xzxe_8";
61
+ const icon = "_icon_1xzxe_26";
62
+ const scrollbar = "_scrollbar_1xzxe_32";
59
63
  const style0 = {
60
- "explorer-container": "_explorer-container_4odhg_1",
64
+ "explorer-container": "_explorer-container_1xzxe_1",
61
65
  header: header,
62
- "header-container": "_header-container_4odhg_22",
63
- icon: icon
66
+ "header-container": "_header-container_1xzxe_22",
67
+ icon: icon,
68
+ scrollbar: scrollbar
64
69
  };
65
70
 
66
71
  const cssModules = {
@@ -1,11 +1,11 @@
1
1
  /* source: src/components/explorer-container/explorer-container.vue */
2
- ._explorer-container_4odhg_1 {
2
+ ._explorer-container_1xzxe_1 {
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  flex-grow: 1;
6
6
  height: 100px;
7
7
  }
8
- ._header_4odhg_8 {
8
+ ._header_1xzxe_8 {
9
9
  display: flex;
10
10
  align-items: center;
11
11
  justify-content: space-between;
@@ -18,11 +18,14 @@
18
18
  flex-wrap: wrap;
19
19
  row-gap: 8px;
20
20
  }
21
- ._header-container_4odhg_22 {
21
+ ._header-container_1xzxe_22 {
22
22
  font-size: var(--el-font-size-medium);
23
23
  }
24
- ._icon_4odhg_26 {
24
+ ._icon_1xzxe_26 {
25
25
  margin-right: 4px;
26
26
  font-size: 1.1em;
27
27
  transform: translateY(1px);
28
+ }
29
+ ._scrollbar_1xzxe_32 {
30
+ margin: 0 -8px;
28
31
  }
@@ -109,7 +109,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
109
109
  })) : createCommentVNode("", true)
110
110
  ], 2)
111
111
  ], 2),
112
- createVNode(Component$3, { always: "" }, {
112
+ createVNode(Component$3, {
113
+ always: "",
114
+ class: normalizeClass(_ctx.$style.scrollbar)
115
+ }, {
113
116
  default: withCtx(() => [
114
117
  createVNode(unref(ElForm), mergeProps({
115
118
  ref_key: "formRef",
@@ -119,16 +122,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
119
122
  rules: __props.form.rules,
120
123
  disabled: __props.disabled || !unref(isEditing) || !__props.editable,
121
124
  "require-asterisk-position": "right",
122
- "label-position": __props.labelPosition
125
+ "label-position": __props.labelPosition,
126
+ class: _ctx.$style.form
123
127
  }), {
124
128
  default: withCtx(() => [
125
129
  renderSlot(_ctx.$slots, "default")
126
130
  ]),
127
131
  _: 3
128
- }, 16, ["model", "rules", "disabled", "label-position"])
132
+ }, 16, ["model", "rules", "disabled", "label-position", "class"])
129
133
  ]),
130
134
  _: 3
131
- })
135
+ }, 8, ["class"])
132
136
  ], 2)), [
133
137
  [_directive_loading, __props.loading]
134
138
  ]);
@@ -136,15 +140,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
136
140
  }
137
141
  });
138
142
 
139
- /* unplugin-vue-components disabled */const header = "_header_2wrpk_8";
140
- const icon = "_icon_2wrpk_25";
141
- const actions = "_actions_2wrpk_31";
143
+ /* unplugin-vue-components disabled */const header = "_header_1gcms_8";
144
+ const icon = "_icon_1gcms_25";
145
+ const actions = "_actions_1gcms_31";
146
+ const form = "_form_1gcms_40";
147
+ const scrollbar = "_scrollbar_1gcms_49";
142
148
  const style0 = {
143
- "explorer-form": "_explorer-form_2wrpk_1",
149
+ "explorer-form": "_explorer-form_1gcms_1",
144
150
  header: header,
145
- "header-container": "_header-container_2wrpk_21",
151
+ "header-container": "_header-container_1gcms_21",
146
152
  icon: icon,
147
- actions: actions
153
+ actions: actions,
154
+ form: form,
155
+ scrollbar: scrollbar
148
156
  };
149
157
 
150
158
  const cssModules = {
@@ -1,11 +1,11 @@
1
1
  /* source: src/components/explorer-form/explorer-form.vue */
2
- ._explorer-form_2wrpk_1 {
2
+ ._explorer-form_1gcms_1 {
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  flex-grow: 1;
6
6
  height: 100px;
7
7
  }
8
- ._header_2wrpk_8 {
8
+ ._header_1gcms_8 {
9
9
  display: flex;
10
10
  align-items: center;
11
11
  justify-content: space-between;
@@ -17,19 +17,30 @@
17
17
  flex-wrap: wrap;
18
18
  row-gap: 8px;
19
19
  }
20
- ._header-container_2wrpk_21 {
20
+ ._header-container_1gcms_21 {
21
21
  font-size: var(--el-font-size-medium);
22
22
  }
23
- ._icon_2wrpk_25 {
23
+ ._icon_1gcms_25 {
24
24
  margin-right: 4px;
25
25
  font-size: var(--el-font-size-extra-large);
26
26
  transform: translateY(1px);
27
27
  }
28
- ._actions_2wrpk_31 {
28
+ ._actions_1gcms_31 {
29
29
  display: flex;
30
30
  align-items: center;
31
31
  gap: 8px;
32
32
  }
33
- ._actions_2wrpk_31 .el-button {
33
+ ._actions_1gcms_31 .el-button {
34
34
  margin-left: 0 !important;
35
+ }
36
+ ._form_1gcms_40 {
37
+ display: flex;
38
+ flex-grow: 1;
39
+ align-items: flex-start;
40
+ }
41
+ ._form_1gcms_40 > .el-row {
42
+ flex-grow: 1;
43
+ }
44
+ ._scrollbar_1gcms_49 {
45
+ margin: 0 -8px;
35
46
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
- import { defineComponent, ref, computed, createBlock, openBlock, withCtx, withDirectives, createElementBlock, createCommentVNode, createElementVNode, Fragment, renderList, unref, normalizeClass, renderSlot, createTextVNode, toDisplayString, mergeProps, vShow, createVNode } from 'vue';
3
+ import { defineComponent, ref, computed, createBlock, openBlock, normalizeClass, withCtx, withDirectives, createElementBlock, createCommentVNode, createElementVNode, Fragment, renderList, unref, renderSlot, createTextVNode, toDisplayString, mergeProps, vShow, createVNode } from 'vue';
4
4
  import { Loading } from '@element-plus/icons-vue';
5
5
  import { C as Component$3 } from '../button/button.mjs';
6
6
  import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2.mjs';
@@ -59,7 +59,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
59
59
  });
60
60
  return (_ctx, _cache) => {
61
61
  const _component_ElIcon = ElIcon;
62
- return openBlock(), createBlock(Component$1, { always: "" }, {
62
+ return openBlock(), createBlock(Component$1, {
63
+ always: "",
64
+ class: normalizeClass(_ctx.$style.scrollbar)
65
+ }, {
63
66
  default: withCtx(() => [
64
67
  withDirectives(createElementVNode("div", null, [
65
68
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(myData), (item, index) => {
@@ -98,11 +101,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
98
101
  ref_for: true
99
102
  }, actionsMapping[action], {
100
103
  confirm: action === "remove" ? __props.confirmParams(item) : void 0,
104
+ class: action === "remove" ? _ctx.$style.remove : void 0,
101
105
  link: "",
102
106
  icon: { type: "el", name: actionsMapping[action].icon },
103
107
  stop: "",
104
108
  onClick: ($event) => emits(action, item.value, item)
105
- }), null, 16, ["confirm", "icon", "onClick"]))
109
+ }), null, 16, ["confirm", "class", "icon", "onClick"]))
106
110
  ], 64);
107
111
  }), 128))
108
112
  ], 2)) : createCommentVNode("", true)
@@ -129,19 +133,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
129
133
  ], 2)) : createCommentVNode("", true)
130
134
  ]),
131
135
  _: 3
132
- });
136
+ }, 8, ["class"]);
133
137
  };
134
138
  }
135
139
  });
136
140
 
137
- /* unplugin-vue-components disabled */const item = "_item_1xqvz_1";
138
- const actions = "_actions_1xqvz_16";
139
- const active = "_active_1xqvz_20";
140
- const label = "_label_1xqvz_25";
141
- const icon = "_icon_1xqvz_31";
142
- const remove = "_remove_1xqvz_48";
143
- const empty = "_empty_1xqvz_52";
144
- const loading = "_loading_1xqvz_53";
141
+ /* unplugin-vue-components disabled */const item = "_item_1xtjk_1";
142
+ const actions = "_actions_1xtjk_16";
143
+ const active = "_active_1xtjk_20";
144
+ const label = "_label_1xtjk_25";
145
+ const icon = "_icon_1xtjk_31";
146
+ const remove = "_remove_1xtjk_48";
147
+ const empty = "_empty_1xtjk_52";
148
+ const loading = "_loading_1xtjk_53";
149
+ const scrollbar = "_scrollbar_1xtjk_61";
145
150
  const style0 = {
146
151
  item: item,
147
152
  actions: actions,
@@ -150,7 +155,8 @@ const style0 = {
150
155
  icon: icon,
151
156
  remove: remove,
152
157
  empty: empty,
153
- loading: loading
158
+ loading: loading,
159
+ scrollbar: scrollbar
154
160
  };
155
161
 
156
162
  const cssModules = {
@@ -1,5 +1,5 @@
1
1
  /* source: src/components/explorer-list/explorer-list.vue */
2
- ._item_1xqvz_1 {
2
+ ._item_1xtjk_1 {
3
3
  padding: 4px 8px;
4
4
  cursor: pointer;
5
5
  display: flex;
@@ -11,45 +11,48 @@
11
11
  box-sizing: border-box;
12
12
  line-height: 1;
13
13
  }
14
- ._item_1xqvz_1:hover {
14
+ ._item_1xtjk_1:hover {
15
15
  background-color: var(--el-color-primary-light-9);
16
16
  }
17
- ._item_1xqvz_1:hover ._actions_1xqvz_16 {
17
+ ._item_1xtjk_1:hover ._actions_1xtjk_16 {
18
18
  display: inline-flex;
19
19
  align-items: flex-start;
20
20
  }
21
- ._item_1xqvz_1._active_1xqvz_20 {
21
+ ._item_1xtjk_1._active_1xtjk_20 {
22
22
  color: var(--el-color-primary);
23
23
  background-color: var(--el-color-primary-light-9);
24
24
  }
25
- ._label_1xqvz_25 {
25
+ ._label_1xtjk_25 {
26
26
  overflow: hidden;
27
27
  text-overflow: ellipsis;
28
28
  white-space: nowrap;
29
29
  }
30
- ._icon_1xqvz_31 {
30
+ ._icon_1xtjk_31 {
31
31
  margin-right: 4px;
32
32
  }
33
- ._actions_1xqvz_16 {
33
+ ._actions_1xtjk_16 {
34
34
  display: none;
35
35
  column-gap: 4px;
36
36
  }
37
- ._actions_1xqvz_16 > button {
37
+ ._actions_1xtjk_16 > button {
38
38
  margin-left: 0 !important;
39
39
  font-size: 1.2em;
40
40
  border: 1px solid var(--el-border-color-light) !important;
41
41
  }
42
- ._actions_1xqvz_16 > button:hover {
42
+ ._actions_1xtjk_16 > button:hover {
43
43
  border-color: var(--el-border-color-dark) !important;
44
44
  }
45
- ._remove_1xqvz_48 {
45
+ ._remove_1xtjk_48 {
46
46
  transform: translateY(-1px);
47
47
  }
48
- ._empty_1xqvz_52,
49
- ._loading_1xqvz_53 {
48
+ ._empty_1xtjk_52,
49
+ ._loading_1xtjk_53 {
50
50
  padding: 4px 8px;
51
51
  display: flex;
52
52
  align-items: center;
53
53
  column-gap: 4px;
54
54
  color: var(--el-text-color-secondary);
55
+ }
56
+ ._scrollbar_1xtjk_61 {
57
+ margin: 0 -8px;
55
58
  }
@@ -51,6 +51,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
51
  }
52
52
  function fixLabelPosition() {
53
53
  const formItems = formRef.value?.$el.querySelectorAll(".el-form-item");
54
+ if (!formItems) {
55
+ return;
56
+ }
54
57
  if (props.labelPosition === "top") {
55
58
  formItems.forEach((formItem) => formItem.classList.add("el-form-item--label-top"));
56
59
  }
@@ -137,13 +140,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
137
140
  disabled: __props.disabled || !unref(isEditing)
138
141
  }, __props.formProps, {
139
142
  model: __props.form.fields,
140
- rules: __props.form.rules
143
+ rules: __props.form.rules,
144
+ class: _ctx.$style.form
141
145
  }), {
142
146
  default: withCtx(() => [
143
147
  renderSlot(_ctx.$slots, "default")
144
148
  ]),
145
149
  _: 3
146
- }, 16, ["label-position", "disabled", "model", "rules"])), [
150
+ }, 16, ["label-position", "disabled", "model", "rules", "class"])), [
147
151
  [_directive_loading, __props.loading]
148
152
  ])
149
153
  ]),
@@ -153,9 +157,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
153
157
  }
154
158
  });
155
159
 
156
- /* unplugin-vue-components disabled */const icon = "_icon_ygryy_1";
160
+ /* unplugin-vue-components disabled */const icon = "_icon_1g5hj_1";
161
+ const form = "_form_1g5hj_6";
157
162
  const style0 = {
158
- icon: icon
163
+ icon: icon,
164
+ form: form
159
165
  };
160
166
 
161
167
  const cssModules = {
@@ -1,5 +1,13 @@
1
1
  /* source: src/components/explorer-modal-form/explorer-modal-form.vue */
2
- ._icon_ygryy_1 {
2
+ ._icon_1g5hj_1 {
3
3
  margin-right: 4px;
4
4
  font-size: var(--el-font-size-extra-large);
5
+ }
6
+ ._form_1g5hj_6 {
7
+ display: flex;
8
+ flex-grow: 1;
9
+ align-items: flex-start;
10
+ }
11
+ ._form_1g5hj_6 > .el-row {
12
+ flex-grow: 1;
5
13
  }