@das-fed/ui 1.1.4 → 6.3.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/global/icons/index.local.js +1 -1
- package/global/style/index.css +1 -1
- package/global/style/scrollbar.css +22 -22
- package/global/theme/index.js +12 -12
- package/global/theme/module/color.js +31 -31
- package/global/theme/module/fontSize.js +5 -5
- package/global/theme/module/scrollbar.js +6 -6
- package/package.json +15 -9
- package/packages/business-components/app-container/index.js +154 -147
- package/packages/business-components/change-enterprises/index.css +1 -0
- package/packages/business-components/change-enterprises/index.js +241 -0
- package/packages/business-components/change-pwd/index.css +1 -0
- package/packages/business-components/change-pwd/index.js +330 -0
- package/packages/business-components/currency-page/index.css +1 -0
- package/packages/business-components/currency-page/index.js +99 -0
- package/packages/business-components/device-panel/index.css +1 -0
- package/packages/business-components/device-panel/index.js +115939 -0
- package/packages/business-components/echarts/index.js +93 -122
- package/packages/business-components/export-button/index.js +73 -66
- package/packages/business-components/import-button/index.js +213 -170
- package/packages/business-components/index.js +8 -1
- package/packages/business-components/layout-breadcrumb/index.js +82 -66
- package/packages/business-components/model-table-dialog/index.js +299 -289
- package/packages/business-components/process-configuration/index.css +1 -0
- package/packages/business-components/process-configuration/index.js +612 -0
- package/packages/business-components/process-form/index.css +1 -0
- package/packages/business-components/process-form/index.js +524 -0
- package/packages/business-components/process-search-form/index.js +73 -315
- package/packages/business-components/process-table/index.css +1 -1
- package/packages/business-components/process-table/index.js +186 -152
- package/packages/business-components/urgent-panel/index.css +1 -0
- package/packages/business-components/urgent-panel/index.js +3914 -0
- package/packages/business-components/user-org-dialog/index.js +466 -375
- package/packages/business-components/video-dialog/index.css +1 -0
- package/packages/business-components/video-dialog/index.js +1041 -0
- package/packages/business.js +1 -2
- package/packages/components/alert/index.js +449 -633
- package/packages/components/audio-video/index.css +1 -1
- package/packages/components/audio-video/index.js +312 -126
- package/packages/components/autocomplete/index.css +1 -1
- package/packages/components/autocomplete/index.js +312 -2923
- package/packages/components/breadcrumb/index.js +97 -82
- package/packages/components/button/index.css +1 -1
- package/packages/components/button/index.js +646 -787
- package/packages/components/calendar/index.css +1 -1
- package/packages/components/calendar/index.js +655 -3879
- package/packages/components/cascader/index.js +209 -203
- package/packages/components/checkbox/index.css +1 -1
- package/packages/components/checkbox/index.js +710 -872
- package/packages/components/collapse-panel/index.css +1 -1
- package/packages/components/collapse-panel/index.js +419 -601
- package/packages/components/collapse-transition/index.js +23 -21
- package/packages/components/collaspe/index.css +1 -1
- package/packages/components/collaspe/index.js +413 -595
- package/packages/components/color-picker/index.css +1 -1
- package/packages/components/color-picker/index.js +176 -133
- package/packages/components/custom-search-item/index.js +43 -37
- package/packages/components/date-picker/index.js +1338 -1459
- package/packages/components/dialog/index.js +429 -215
- package/packages/components/dimple-layout/index.css +1 -1
- package/packages/components/dimple-layout/index.js +1298 -1794
- package/packages/components/drawer/index.js +105 -77
- package/packages/components/dropdown/index.js +129 -109
- package/packages/components/edit-table/index.css +1 -1
- package/packages/components/edit-table/index.js +868 -752
- package/packages/components/empty/index.js +83 -78
- package/packages/components/form/index.js +22 -15
- package/packages/components/form-item/index.css +1 -1
- package/packages/components/form-item/index.js +601 -440
- package/packages/components/icon/index.css +1 -1
- package/packages/components/icon/index.js +38 -22
- package/packages/components/image-preview/index.css +1 -0
- package/packages/components/image-preview/index.js +2714 -0
- package/packages/components/image-upload/index.js +601 -765
- package/packages/components/image-viewer/index.css +1 -1
- package/packages/components/image-viewer/index.js +909 -990
- package/packages/components/index.js +2 -2
- package/packages/components/input/index.css +1 -1
- package/packages/components/input/index.js +284 -256
- package/packages/components/input-dialog-select/index.css +1 -1
- package/packages/components/input-dialog-select/index.js +179 -156
- package/packages/components/input-number/index.css +1 -1
- package/packages/components/input-number/index.js +157 -170
- package/packages/components/live-player/index.css +1 -0
- package/packages/components/live-player/index.js +170 -0
- package/packages/components/loading/index.js +17 -26
- package/packages/components/map/index.css +1 -1
- package/packages/components/map/index.js +18913 -461
- package/packages/components/menu-aside/index.css +1 -1
- package/packages/components/menu-aside/index.js +648 -713
- package/packages/components/menu-header/index.js +446 -629
- package/packages/components/message/index.js +25 -16
- package/packages/components/notification/index.js +386 -575
- package/packages/components/overlay/index.js +112 -103
- package/packages/components/pagination/index.js +260 -330
- package/packages/components/popover/index.js +104 -93
- package/packages/components/popup-mask/index.css +1 -1
- package/packages/components/popup-mask/index.js +77 -72
- package/packages/components/preview/index.js +33 -28
- package/packages/components/progress/index.js +214 -221
- package/packages/components/radio/index.css +1 -1
- package/packages/components/radio/index.js +699 -862
- package/packages/components/radio-tabs/index.js +144 -107
- package/packages/components/rich-editor/index.css +1 -1
- package/packages/components/rich-editor/index.js +105 -106
- package/packages/components/scrollbar/index.css +3 -2
- package/packages/components/scrollbar/index.js +2262 -1201
- package/packages/components/search/index.js +500 -664
- package/packages/components/search-form/index.css +1 -1
- package/packages/components/search-form/index.js +724 -626
- package/packages/components/select/index.css +1 -1
- package/packages/components/select/index.js +1052 -950
- package/packages/components/select-input/index.js +63 -53
- package/packages/components/select-list/index.css +1 -1
- package/packages/components/select-list/index.js +258 -235
- package/packages/components/special-range-picker-month/index.css +1 -1
- package/packages/components/special-range-picker-month/index.js +3068 -72555
- package/packages/components/special-range-picker-year/index.css +1 -1
- package/packages/components/special-range-picker-year/index.js +345 -339
- package/packages/components/spin/index.js +415 -594
- package/packages/components/split-panel/index.css +1 -1
- package/packages/components/split-panel/index.js +146 -127
- package/packages/components/step/index.js +414 -597
- package/packages/components/steps/index.js +407 -590
- package/packages/components/switch/index.js +23 -23
- package/packages/components/table/index.css +1 -1
- package/packages/components/table/index.js +80813 -27734
- package/packages/components/tabs/index.css +1 -1
- package/packages/components/tabs/index.js +620 -813
- package/packages/components/tag/index.js +63 -63
- package/packages/components/text-tooltip/index.css +9 -0
- package/packages/components/text-tooltip/index.js +2739 -33
- package/packages/components/time-line/index.js +464 -643
- package/packages/components/tooltip/index.css +1 -1
- package/packages/components/tooltip/index.js +108 -79
- package/packages/components/tree/index.css +1 -1
- package/packages/components/tree/index.js +840 -809
- package/packages/components/tree-select/index.js +271 -303
- package/packages/components/tree-table/index.js +461 -352
- package/packages/components/upload/index.js +682 -858
- package/packages/components/virtual-tree/index.css +1 -1
- package/packages/components/virtual-tree/index.js +144 -126
- package/packages/index.d.ts +1 -0
- package/packages/index.js +2 -2
- package/style/business.css +11 -4
- package/style/index.css +52 -42
- package/packages/business-components/low-code/index.css +0 -1
- package/packages/business-components/low-code/index.js +0 -60
- package/packages/components/audio-video-player/index.css +0 -1
- package/packages/components/audio-video-player/index.js +0 -83
- package/packages/components/table-column/index.css +0 -1
- package/packages/components/table-column/index.js +0 -82021
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-split-panel[data-v-68d2bc5a]{border:1px solid var(--das-ui-split-panel-color-line);display:flex;flex-direction:row;height:100%;overflow:hidden;width:100%}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-first[data-v-68d2bc5a]{height:100%;overflow:hidden}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-second[data-v-68d2bc5a]{flex:1;height:100%;min-width:0;overflow:hidden}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-mid[data-v-68d2bc5a]{position:
|
|
1
|
+
.das-ui-split-panel[data-v-68d2bc5a]{border:1px solid var(--das-ui-split-panel-color-line);display:flex;flex-direction:row;height:100%;overflow:hidden;position:relative;width:100%}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-first[data-v-68d2bc5a]{height:100%;overflow:hidden}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-second[data-v-68d2bc5a]{flex:1;height:100%;min-width:0;overflow:hidden}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-mid[data-v-68d2bc5a]{height:100%;position:absolute;z-index:20}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-mid[data-v-68d2bc5a][data-v-68d2bc5a]:hover .das-split-panel-btn[data-v-68d2bc5a]{border-color:var(--das-ui-split-panel-color-btn)}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-mid[data-v-68d2bc5a] .das-split-panel-line[data-v-68d2bc5a]{border-right:1px solid transparent;cursor:auto;height:100%;z-index:20}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-mid[data-v-68d2bc5a] .das-split-panel-line[data-v-68d2bc5a].hide[data-v-68d2bc5a]{display:none}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-mid[data-v-68d2bc5a] .das-split-panel-line[data-v-68d2bc5a] .das-split-panel-divider[data-v-68d2bc5a]{background-image:linear-gradient(90deg,transparent 0,transparent 45%,var(--das-ui-split-panel-color-line) 45.6%,var(--das-ui-split-panel-color-line) 62.5%,transparent 62.6%,transparent 100%);height:100%;padding:0 2px;position:absolute;transform:translate(-50%);width:1px}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-mid[data-v-68d2bc5a] .das-split-panel-line[data-v-68d2bc5a].canDrag[data-v-68d2bc5a]{cursor:col-resize}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-mid[data-v-68d2bc5a] .das-split-panel-btn[data-v-68d2bc5a]{border:1px solid transparent;box-sizing:border-box;color:var(--das-ui-split-panel-color-btn);cursor:pointer;height:20px;padding:1px 2px;position:absolute;top:50%;transform:translateY(-50%);width:20px;z-index:5}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-mid[data-v-68d2bc5a] .das-split-panel-btn[data-v-68d2bc5a][data-v-68d2bc5a]:hover{border-color:var(--das-ui-split-panel-color-primary);color:var(--das-ui-split-panel-color-primary)}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-mid[data-v-68d2bc5a] .das-split-panel-btn[data-v-68d2bc5a].left[data-v-68d2bc5a]{border-radius:50% 0 0 50%;border-right:none;right:0}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-mid[data-v-68d2bc5a] .das-split-panel-btn[data-v-68d2bc5a].right[data-v-68d2bc5a]{border-left:none;border-radius:0 50% 50% 0;left:0}.das-ui-split-panel[data-v-68d2bc5a] .das-split-panel-mid[data-v-68d2bc5a] .das-split-panel-btn[data-v-68d2bc5a].isBase[data-v-68d2bc5a]{background:var(--das-ui-split-panel-color-btn);color:#fff}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref as ref$1, computed, watch as watch$1, onMounted as onMounted$1, openBlock, createElementBlock, normalizeStyle, createElementVNode, renderSlot, normalizeClass, createVNode,
|
|
1
|
+
import { defineComponent, ref as ref$1, computed, watch as watch$1, onMounted as onMounted$1, openBlock, createElementBlock, normalizeStyle, createElementVNode, renderSlot, normalizeClass, createVNode, createCommentVNode, withModifiers, pushScopeId, popScopeId } from 'vue';
|
|
2
2
|
import { withInstall } from '@das-fed/utils';
|
|
3
3
|
import { DasIcon } from '@das-fed/ui';
|
|
4
4
|
import { getCurrentScope, onScopeDispose, unref, getCurrentInstance, onMounted, nextTick, ref, watch } from 'vue-demi';
|
|
@@ -17348,7 +17348,7 @@ const functionsMap = [
|
|
|
17348
17348
|
];
|
|
17349
17349
|
function useFullscreen(target, options = {}) {
|
|
17350
17350
|
const { document = defaultDocument, autoExit = false } = options;
|
|
17351
|
-
const targetRef =
|
|
17351
|
+
const targetRef = (document == null ? void 0 : document.querySelector("html"));
|
|
17352
17352
|
const isFullscreen = ref(false);
|
|
17353
17353
|
let map = functionsMap[0];
|
|
17354
17354
|
const isSupported = useSupported(() => {
|
|
@@ -17459,15 +17459,6 @@ __spreadValues({
|
|
|
17459
17459
|
linear: identity
|
|
17460
17460
|
}, _TransitionPresets);
|
|
17461
17461
|
|
|
17462
|
-
const _withScopeId = (n) => (pushScopeId("data-v-68d2bc5a"), n = n(), popScopeId(), n);
|
|
17463
|
-
const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
17464
|
-
"div",
|
|
17465
|
-
{ class: "das-split-panel-divider" },
|
|
17466
|
-
null,
|
|
17467
|
-
-1
|
|
17468
|
-
/* HOISTED */
|
|
17469
|
-
));
|
|
17470
|
-
const _hoisted_2 = { class: "das-split-panel-second" };
|
|
17471
17462
|
const __default__ = {
|
|
17472
17463
|
name: "DasSplitPanel"
|
|
17473
17464
|
};
|
|
@@ -17495,11 +17486,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17495
17486
|
const splitLineWidth = computed(() => {
|
|
17496
17487
|
console.log("\u5206\u5272\u7EBF\u5BBD\u5EA6");
|
|
17497
17488
|
console.dir($splitLine?.value);
|
|
17498
|
-
if (!$splitLine?.value)
|
|
17499
|
-
return 1;
|
|
17489
|
+
if (!$splitLine?.value) return 1;
|
|
17500
17490
|
return Number($splitLine?.value?.offsetWidth) - 2 || 1;
|
|
17501
17491
|
});
|
|
17502
|
-
computed(() => {
|
|
17492
|
+
const splitLineWidthCSS = computed(() => {
|
|
17503
17493
|
return splitLineWidth.value + "px";
|
|
17504
17494
|
});
|
|
17505
17495
|
const resizeObserver = ref$1(null);
|
|
@@ -17515,27 +17505,31 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17515
17505
|
const firstPanelStyle = computed(() => {
|
|
17516
17506
|
return { width: currWidthCSS.value };
|
|
17517
17507
|
});
|
|
17508
|
+
const panelLineStyle = computed(() => {
|
|
17509
|
+
return { left: currWidthCSS.value };
|
|
17510
|
+
});
|
|
17518
17511
|
const isLeftBase = ref$1(false);
|
|
17519
17512
|
const isRightBase = ref$1(false);
|
|
17520
|
-
watch$1(currWidth, (newVal, old) => {
|
|
17521
|
-
if (newVal === 0) {
|
|
17522
|
-
isLeftBase.value = true;
|
|
17523
|
-
} else {
|
|
17524
|
-
isLeftBase.value = false;
|
|
17525
|
-
}
|
|
17526
|
-
if (newVal === panelWidth?.value) {
|
|
17527
|
-
isRightBase.value = true;
|
|
17528
|
-
} else {
|
|
17529
|
-
isRightBase.value = false;
|
|
17530
|
-
}
|
|
17531
|
-
});
|
|
17532
17513
|
watch$1(
|
|
17533
|
-
|
|
17534
|
-
(newVal) => {
|
|
17535
|
-
|
|
17536
|
-
|
|
17537
|
-
|
|
17514
|
+
currWidth,
|
|
17515
|
+
(newVal, old) => {
|
|
17516
|
+
if (newVal === 0) {
|
|
17517
|
+
isLeftBase.value = true;
|
|
17518
|
+
} else {
|
|
17519
|
+
isLeftBase.value = false;
|
|
17520
|
+
}
|
|
17521
|
+
if (newVal === panelWidth?.value) {
|
|
17522
|
+
isRightBase.value = true;
|
|
17523
|
+
} else {
|
|
17524
|
+
isRightBase.value = false;
|
|
17525
|
+
}
|
|
17526
|
+
},
|
|
17527
|
+
{ immediate: true }
|
|
17538
17528
|
);
|
|
17529
|
+
watch$1(isFullscreen, (newVal) => {
|
|
17530
|
+
console.log("isFullscreen", newVal);
|
|
17531
|
+
onResize();
|
|
17532
|
+
});
|
|
17539
17533
|
const toLeft = () => {
|
|
17540
17534
|
if (currWidth.value > defaultWidth.value) {
|
|
17541
17535
|
currWidth.value = defaultWidth.value;
|
|
@@ -17560,8 +17554,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17560
17554
|
startWidth: 0
|
|
17561
17555
|
});
|
|
17562
17556
|
const lineMouseDown = (e) => {
|
|
17563
|
-
if (!props.canDrag)
|
|
17564
|
-
return;
|
|
17557
|
+
if (!props.canDrag) return;
|
|
17565
17558
|
mouse.value.mouseFlag = true;
|
|
17566
17559
|
mouse.value.startX = e.clientX;
|
|
17567
17560
|
mouse.value.startWidth = currWidth.value;
|
|
@@ -17571,8 +17564,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17571
17564
|
};
|
|
17572
17565
|
const lineMouseMove = (e) => {
|
|
17573
17566
|
e.preventDefault();
|
|
17574
|
-
if (!mouse.value.mouseFlag)
|
|
17575
|
-
return;
|
|
17567
|
+
if (!mouse.value.mouseFlag) return;
|
|
17576
17568
|
let moveX = e.clientX;
|
|
17577
17569
|
let x = moveX - mouse.value.startX;
|
|
17578
17570
|
let newX = mouse.value.startWidth + x;
|
|
@@ -17626,13 +17618,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17626
17618
|
const reset = () => {
|
|
17627
17619
|
initWidth();
|
|
17628
17620
|
};
|
|
17621
|
+
let firstInit = ref$1(true);
|
|
17629
17622
|
const onResize = () => {
|
|
17630
17623
|
console.log("onresize");
|
|
17631
17624
|
let flag = false;
|
|
17632
17625
|
if (isRightBase.value) {
|
|
17633
17626
|
flag = true;
|
|
17634
17627
|
}
|
|
17635
|
-
|
|
17628
|
+
if (!$splitPanel?.value) return;
|
|
17636
17629
|
panelWidth.value = Number($splitPanel?.value?.offsetWidth - splitLineWidth?.value) || 0;
|
|
17637
17630
|
currFirstMin.value = getWidth(panelWidth.value, props.firstMin);
|
|
17638
17631
|
currFirstMax.value = panelWidth.value - getWidth(panelWidth.value, props.secondMin);
|
|
@@ -17642,6 +17635,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17642
17635
|
}
|
|
17643
17636
|
if (reloadFlag.value === true) {
|
|
17644
17637
|
initWidth();
|
|
17638
|
+
if (firstInit.value) {
|
|
17639
|
+
firstInit.value = false;
|
|
17640
|
+
return;
|
|
17641
|
+
}
|
|
17645
17642
|
reloadFlag.value = false;
|
|
17646
17643
|
}
|
|
17647
17644
|
};
|
|
@@ -17649,122 +17646,144 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17649
17646
|
reloadFlag.value = true;
|
|
17650
17647
|
resizeObserver.value = new ResizeObserver(lodashExports.debounce(onResize, 30));
|
|
17651
17648
|
resizeObserver.value?.observe($splitPanel?.value);
|
|
17649
|
+
onResize();
|
|
17652
17650
|
});
|
|
17653
17651
|
__expose({
|
|
17654
17652
|
toLeft,
|
|
17655
17653
|
toRight,
|
|
17656
17654
|
reset
|
|
17657
17655
|
});
|
|
17658
|
-
|
|
17659
|
-
return
|
|
17656
|
+
const __returned__ = { isFullscreen, props, $emit, $splitPanel, $splitLine, splitLineWidth, splitLineWidthCSS, resizeObserver, panelWidth, currFirstMin, currFirstMax, defaultWidth, currWidth, reloadFlag, currWidthCSS, firstPanelStyle, panelLineStyle, isLeftBase, isRightBase, toLeft, toRight, mouse, lineMouseDown, lineMouseMove, lineMouseUp, getWidth, initWidth, reset, get firstInit() {
|
|
17657
|
+
return firstInit;
|
|
17658
|
+
}, set firstInit(v) {
|
|
17659
|
+
firstInit = v;
|
|
17660
|
+
}, onResize, get DasIcon() {
|
|
17661
|
+
return DasIcon;
|
|
17662
|
+
} };
|
|
17663
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
17664
|
+
return __returned__;
|
|
17665
|
+
}
|
|
17666
|
+
});
|
|
17667
|
+
|
|
17668
|
+
var _export_sfc = (sfc, props) => {
|
|
17669
|
+
const target = sfc.__vccOpts || sfc;
|
|
17670
|
+
for (const [key, val] of props) {
|
|
17671
|
+
target[key] = val;
|
|
17672
|
+
}
|
|
17673
|
+
return target;
|
|
17674
|
+
};
|
|
17675
|
+
|
|
17676
|
+
const _withScopeId = (n) => (pushScopeId("data-v-68d2bc5a"), n = n(), popScopeId(), n);
|
|
17677
|
+
const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
17678
|
+
"div",
|
|
17679
|
+
{ class: "das-split-panel-divider" },
|
|
17680
|
+
null,
|
|
17681
|
+
-1
|
|
17682
|
+
/* HOISTED */
|
|
17683
|
+
));
|
|
17684
|
+
const _hoisted_2 = { class: "das-split-panel-second" };
|
|
17685
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17686
|
+
return openBlock(), createElementBlock(
|
|
17687
|
+
"div",
|
|
17688
|
+
{
|
|
17689
|
+
class: "das-ui-split-panel",
|
|
17690
|
+
ref: "$splitPanel",
|
|
17691
|
+
style: normalizeStyle($props.boxStyle)
|
|
17692
|
+
},
|
|
17693
|
+
[
|
|
17694
|
+
createElementVNode(
|
|
17660
17695
|
"div",
|
|
17661
17696
|
{
|
|
17662
|
-
class: "das-
|
|
17663
|
-
|
|
17664
|
-
ref: $splitPanel,
|
|
17665
|
-
style: normalizeStyle(_ctx.boxStyle)
|
|
17697
|
+
class: "das-split-panel-first",
|
|
17698
|
+
style: normalizeStyle($setup.firstPanelStyle)
|
|
17666
17699
|
},
|
|
17667
17700
|
[
|
|
17701
|
+
renderSlot(_ctx.$slots, "firstSlot", {}, void 0, true)
|
|
17702
|
+
],
|
|
17703
|
+
4
|
|
17704
|
+
/* STYLE */
|
|
17705
|
+
),
|
|
17706
|
+
createElementVNode(
|
|
17707
|
+
"div",
|
|
17708
|
+
{
|
|
17709
|
+
class: "das-split-panel-mid",
|
|
17710
|
+
ref: "$splitLine",
|
|
17711
|
+
style: normalizeStyle($setup.panelLineStyle)
|
|
17712
|
+
},
|
|
17713
|
+
[
|
|
17714
|
+
$props.canFold ? (openBlock(), createElementBlock("span", {
|
|
17715
|
+
key: 0,
|
|
17716
|
+
onClick: $setup.toLeft
|
|
17717
|
+
}, [
|
|
17718
|
+
renderSlot(_ctx.$slots, "leftBtn", {}, () => [
|
|
17719
|
+
createElementVNode(
|
|
17720
|
+
"span",
|
|
17721
|
+
{
|
|
17722
|
+
class: normalizeClass(["das-split-panel-btn left", [$setup.isRightBase ? "isBase" : ""]])
|
|
17723
|
+
},
|
|
17724
|
+
[
|
|
17725
|
+
createVNode($setup["DasIcon"], {
|
|
17726
|
+
icon: "shuzuofanye",
|
|
17727
|
+
size: "medium"
|
|
17728
|
+
})
|
|
17729
|
+
],
|
|
17730
|
+
2
|
|
17731
|
+
/* CLASS */
|
|
17732
|
+
)
|
|
17733
|
+
], true)
|
|
17734
|
+
])) : createCommentVNode("v-if", true),
|
|
17668
17735
|
createElementVNode(
|
|
17669
17736
|
"div",
|
|
17670
17737
|
{
|
|
17671
|
-
class: "das-split-panel-
|
|
17672
|
-
|
|
17738
|
+
class: normalizeClass(["das-split-panel-line", { hide: $setup.isLeftBase || $setup.isRightBase, canDrag: $setup.props.canDrag }]),
|
|
17739
|
+
onDragstart: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
17740
|
+
}, ["stop", "prevent"])),
|
|
17741
|
+
onMousedown: withModifiers($setup.lineMouseDown, ["prevent"]),
|
|
17742
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
17743
|
+
}, ["stop", "prevent"]))
|
|
17673
17744
|
},
|
|
17674
17745
|
[
|
|
17675
|
-
|
|
17746
|
+
createCommentVNode(' <slot name="splitLine"> '),
|
|
17747
|
+
_hoisted_1,
|
|
17748
|
+
createCommentVNode(" </slot> ")
|
|
17676
17749
|
],
|
|
17677
|
-
|
|
17678
|
-
/*
|
|
17750
|
+
34
|
|
17751
|
+
/* CLASS, NEED_HYDRATION */
|
|
17679
17752
|
),
|
|
17680
|
-
|
|
17681
|
-
|
|
17682
|
-
|
|
17683
|
-
|
|
17684
|
-
|
|
17685
|
-
ref: $splitLine
|
|
17686
|
-
},
|
|
17687
|
-
[
|
|
17688
|
-
_ctx.canFold ? (openBlock(), createElementBlock("span", {
|
|
17689
|
-
key: 0,
|
|
17690
|
-
onClick: toLeft
|
|
17691
|
-
}, [
|
|
17692
|
-
renderSlot(_ctx.$slots, "leftBtn", {}, () => [
|
|
17693
|
-
createElementVNode(
|
|
17694
|
-
"span",
|
|
17695
|
-
{
|
|
17696
|
-
class: normalizeClass(["das-split-panel-btn left", [isRightBase.value ? "isBase" : ""]])
|
|
17697
|
-
},
|
|
17698
|
-
[
|
|
17699
|
-
createVNode(unref$1(DasIcon), {
|
|
17700
|
-
icon: "shuzuofanye",
|
|
17701
|
-
size: "medium"
|
|
17702
|
-
})
|
|
17703
|
-
],
|
|
17704
|
-
2
|
|
17705
|
-
/* CLASS */
|
|
17706
|
-
)
|
|
17707
|
-
], true)
|
|
17708
|
-
])) : createCommentVNode("v-if", true),
|
|
17753
|
+
$props.canFold ? (openBlock(), createElementBlock("span", {
|
|
17754
|
+
key: 1,
|
|
17755
|
+
onClick: $setup.toRight
|
|
17756
|
+
}, [
|
|
17757
|
+
renderSlot(_ctx.$slots, "rightBtn", {}, () => [
|
|
17709
17758
|
createElementVNode(
|
|
17710
|
-
"
|
|
17759
|
+
"span",
|
|
17711
17760
|
{
|
|
17712
|
-
class: normalizeClass(["das-split-panel-
|
|
17713
|
-
onMousedown: lineMouseDown
|
|
17761
|
+
class: normalizeClass(["das-split-panel-btn right", [$setup.isLeftBase ? "isBase" : ""]])
|
|
17714
17762
|
},
|
|
17715
17763
|
[
|
|
17716
|
-
|
|
17717
|
-
|
|
17718
|
-
|
|
17764
|
+
createVNode($setup["DasIcon"], {
|
|
17765
|
+
icon: "shuyoufanye",
|
|
17766
|
+
size: "medium"
|
|
17767
|
+
})
|
|
17719
17768
|
],
|
|
17720
|
-
|
|
17721
|
-
/* CLASS
|
|
17722
|
-
)
|
|
17723
|
-
|
|
17724
|
-
|
|
17725
|
-
onClick: toRight
|
|
17726
|
-
}, [
|
|
17727
|
-
renderSlot(_ctx.$slots, "rightBtn", {}, () => [
|
|
17728
|
-
createElementVNode(
|
|
17729
|
-
"span",
|
|
17730
|
-
{
|
|
17731
|
-
class: normalizeClass(["das-split-panel-btn right", [isLeftBase.value ? "isBase" : ""]])
|
|
17732
|
-
},
|
|
17733
|
-
[
|
|
17734
|
-
createVNode(unref$1(DasIcon), {
|
|
17735
|
-
icon: "shuyoufanye",
|
|
17736
|
-
size: "medium"
|
|
17737
|
-
})
|
|
17738
|
-
],
|
|
17739
|
-
2
|
|
17740
|
-
/* CLASS */
|
|
17741
|
-
)
|
|
17742
|
-
], true)
|
|
17743
|
-
])) : createCommentVNode("v-if", true)
|
|
17744
|
-
],
|
|
17745
|
-
512
|
|
17746
|
-
/* NEED_PATCH */
|
|
17747
|
-
),
|
|
17748
|
-
createElementVNode("div", _hoisted_2, [
|
|
17749
|
-
renderSlot(_ctx.$slots, "secondSlot", {}, void 0, true)
|
|
17750
|
-
])
|
|
17769
|
+
2
|
|
17770
|
+
/* CLASS */
|
|
17771
|
+
)
|
|
17772
|
+
], true)
|
|
17773
|
+
])) : createCommentVNode("v-if", true)
|
|
17751
17774
|
],
|
|
17752
17775
|
4
|
|
17753
17776
|
/* STYLE */
|
|
17754
|
-
)
|
|
17755
|
-
|
|
17756
|
-
|
|
17757
|
-
|
|
17758
|
-
|
|
17759
|
-
|
|
17760
|
-
|
|
17761
|
-
|
|
17762
|
-
|
|
17763
|
-
|
|
17764
|
-
return target;
|
|
17765
|
-
};
|
|
17766
|
-
|
|
17767
|
-
var splitPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-68d2bc5a"], ["__file", "E:\\company-code\\v6r3\\framework-3\\packages\\das-ui\\packages\\components\\split-panel\\src\\Index.vue"]]);
|
|
17777
|
+
),
|
|
17778
|
+
createElementVNode("div", _hoisted_2, [
|
|
17779
|
+
renderSlot(_ctx.$slots, "secondSlot", {}, void 0, true)
|
|
17780
|
+
])
|
|
17781
|
+
],
|
|
17782
|
+
4
|
|
17783
|
+
/* STYLE */
|
|
17784
|
+
);
|
|
17785
|
+
}
|
|
17786
|
+
var splitPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-68d2bc5a"], ["__file", "/Users/xiecp/das/das-fe/framework/packages/das-ui/packages/components/split-panel/src/Index.vue"]]);
|
|
17768
17787
|
|
|
17769
17788
|
var theme = {
|
|
17770
17789
|
"--das-ui-split-panel-color-primary": "#5582F3",
|