@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,9 +1,8 @@
|
|
|
1
1
|
import { withInstall } from '@das-fed/utils';
|
|
2
|
-
import { getVar, setThemeRule } from '@das-fed/web';
|
|
3
|
-
import { useAttrs, inject, ref, watch, computed, reactive, onMounted, onUnmounted, defineComponent, openBlock, createElementBlock, normalizeClass,
|
|
4
|
-
import { DasTreeSelectRef,
|
|
2
|
+
import { getVarValue, getVar, setThemeRule } from '@das-fed/web';
|
|
3
|
+
import { useAttrs, inject, ref, watch, computed, reactive, onMounted, onUnmounted, defineComponent, useCssVars, unref, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, withDirectives, createTextVNode, toDisplayString, createCommentVNode, createBlock, mergeProps, createSlots, withCtx, createVNode, renderSlot, Fragment, Teleport } from 'vue';
|
|
4
|
+
import { DasTreeSelectRef, DasTreeSelect, DasSelectInput, DasInputDialogSelect, DasInput, DasRadio, DasCheckbox, DasSwitch, DasSelect, DasTooltip, DasIcon, DasDatePicker, DasRangePicker, DasTimePicker, DasTimeRangePicker, DasCascader, DasColorPicker, DasInputNumber, vDasTooltip } from '@das-fed/ui';
|
|
5
5
|
import { useModelValue } from '@das-fed/utils/vue';
|
|
6
|
-
import { vHoverInside } from '@das-fed/utils/directive';
|
|
7
6
|
import '@das-fed/ui/global/theme';
|
|
8
7
|
|
|
9
8
|
const useShowComponent = (props) => {
|
|
@@ -18563,10 +18562,8 @@ const useFormLabelWidth = (labelLength, labelPosition, alignType, isSearchForm,
|
|
|
18563
18562
|
return "fit-content";
|
|
18564
18563
|
}
|
|
18565
18564
|
let length = 4;
|
|
18566
|
-
if (typeof labelLength === "string")
|
|
18567
|
-
|
|
18568
|
-
else if (typeof labelLength === "number")
|
|
18569
|
-
length = labelLength;
|
|
18565
|
+
if (typeof labelLength === "string") length = parseInt(labelLength);
|
|
18566
|
+
else if (typeof labelLength === "number") length = labelLength;
|
|
18570
18567
|
const width = `${length * 12}px`;
|
|
18571
18568
|
return width;
|
|
18572
18569
|
};
|
|
@@ -18577,7 +18574,6 @@ const useForm = (formItemProps, emit, isShow) => {
|
|
|
18577
18574
|
const formProps = formContext.props;
|
|
18578
18575
|
const className = attrs.class;
|
|
18579
18576
|
const propName = attrs.prop;
|
|
18580
|
-
const isHoverIn = ref(false);
|
|
18581
18577
|
const labelPosition = formItemProps.labelPosition || formProps.labelPosition || "";
|
|
18582
18578
|
const labelLength = formItemProps.labelLength || formProps.labelLength || 4;
|
|
18583
18579
|
let contentWidth = (formItemProps.contentWidth ?? formProps.contentWidth ?? 230) + "px";
|
|
@@ -18627,9 +18623,13 @@ const useForm = (formItemProps, emit, isShow) => {
|
|
|
18627
18623
|
const errored = computed(() => {
|
|
18628
18624
|
return innerError.value !== "";
|
|
18629
18625
|
});
|
|
18630
|
-
watch(
|
|
18631
|
-
|
|
18632
|
-
|
|
18626
|
+
watch(
|
|
18627
|
+
innerValue,
|
|
18628
|
+
(newValue, oldValue) => {
|
|
18629
|
+
resetError();
|
|
18630
|
+
},
|
|
18631
|
+
{ deep: true }
|
|
18632
|
+
);
|
|
18633
18633
|
watch(selectModelValue, (newValue, oldValue) => {
|
|
18634
18634
|
resetError();
|
|
18635
18635
|
});
|
|
@@ -18637,12 +18637,11 @@ const useForm = (formItemProps, emit, isShow) => {
|
|
|
18637
18637
|
innerError.value = "";
|
|
18638
18638
|
emit("update:error", "");
|
|
18639
18639
|
};
|
|
18640
|
-
const preInnertVal = ref(
|
|
18640
|
+
const preInnertVal = ref(void 0);
|
|
18641
18641
|
const changeHandler = (val, val2) => {
|
|
18642
18642
|
validate();
|
|
18643
18643
|
if (isShow("treeSelect") || isShow("inputNumber")) {
|
|
18644
|
-
if (JSON.stringify(val) === JSON.stringify(preInnertVal.value))
|
|
18645
|
-
return;
|
|
18644
|
+
if (JSON.stringify(val) === JSON.stringify(preInnertVal.value)) return;
|
|
18646
18645
|
preInnertVal.value = lodashExports.cloneDeep(val);
|
|
18647
18646
|
}
|
|
18648
18647
|
emit("update:modelValue", val);
|
|
@@ -18659,8 +18658,7 @@ const useForm = (formItemProps, emit, isShow) => {
|
|
|
18659
18658
|
const validate = async () => {
|
|
18660
18659
|
if (propName && rules.value.length > 0) {
|
|
18661
18660
|
rules.value.forEach((rule) => {
|
|
18662
|
-
if (!rule.type && typeof innerValue.value === "number")
|
|
18663
|
-
rule.type = "number";
|
|
18661
|
+
if (!rule.type && typeof innerValue.value === "number") rule.type = "number";
|
|
18664
18662
|
});
|
|
18665
18663
|
const validator = new Schema({
|
|
18666
18664
|
[propName]: rules.value
|
|
@@ -18676,9 +18674,6 @@ const useForm = (formItemProps, emit, isShow) => {
|
|
|
18676
18674
|
});
|
|
18677
18675
|
}
|
|
18678
18676
|
};
|
|
18679
|
-
const mouseEnterAndLeave = (flag, e) => {
|
|
18680
|
-
isHoverIn.value = flag;
|
|
18681
|
-
};
|
|
18682
18677
|
const formItemContext = reactive({
|
|
18683
18678
|
timeStamp: Date.now(),
|
|
18684
18679
|
propName,
|
|
@@ -18706,16 +18701,74 @@ const useForm = (formItemProps, emit, isShow) => {
|
|
|
18706
18701
|
marginBottom,
|
|
18707
18702
|
formProps,
|
|
18708
18703
|
className,
|
|
18709
|
-
isHoverIn,
|
|
18710
18704
|
inputHandler,
|
|
18711
18705
|
changeHandler,
|
|
18712
|
-
selectChangeHandler
|
|
18713
|
-
|
|
18706
|
+
selectChangeHandler
|
|
18707
|
+
};
|
|
18708
|
+
};
|
|
18709
|
+
|
|
18710
|
+
const useError = (props) => {
|
|
18711
|
+
const $dasFormItem = ref();
|
|
18712
|
+
const isHoverInInput = ref(false);
|
|
18713
|
+
const errorModelWidth = ref(0);
|
|
18714
|
+
const errorModelPosition = ref({
|
|
18715
|
+
x: 0,
|
|
18716
|
+
y: 0
|
|
18717
|
+
});
|
|
18718
|
+
const errorModalBaseSyle = computed(() => {
|
|
18719
|
+
return {
|
|
18720
|
+
"font-size": "12px",
|
|
18721
|
+
"background-color": getVarValue("--das-ui-special-range-picker-overlay-error-bg-color").value,
|
|
18722
|
+
"box-shadow": "0px 4px 10px 0px rgba(0, 0, 0, 0.2)",
|
|
18723
|
+
"border-radius": "1px",
|
|
18724
|
+
padding: "2px 8px",
|
|
18725
|
+
"box-sizing": "border-box",
|
|
18726
|
+
"z-index": props.errorModelZIndex
|
|
18727
|
+
};
|
|
18728
|
+
});
|
|
18729
|
+
const errorModelStyle = computed(() => {
|
|
18730
|
+
return {
|
|
18731
|
+
...errorModalBaseSyle.value,
|
|
18732
|
+
width: errorModelWidth.value + "px",
|
|
18733
|
+
position: "fixed",
|
|
18734
|
+
visibility: "visible",
|
|
18735
|
+
top: errorModelPosition.value.y + "px",
|
|
18736
|
+
left: errorModelPosition.value.x + "px"
|
|
18737
|
+
};
|
|
18738
|
+
});
|
|
18739
|
+
const errorLabelStyle = ref({
|
|
18740
|
+
display: "block",
|
|
18741
|
+
"text-align": "left",
|
|
18742
|
+
color: getVarValue("--das-ui-special-range-picker-error").value,
|
|
18743
|
+
"white-space": "break-spaces",
|
|
18744
|
+
"word-break": "break-all"
|
|
18745
|
+
});
|
|
18746
|
+
const getErrorModalPosition = () => {
|
|
18747
|
+
errorModelWidth.value = $dasFormItem.value?.clientWidth;
|
|
18748
|
+
const { top, left } = $dasFormItem.value?.getBoundingClientRect();
|
|
18749
|
+
console.log(top, left, "=============");
|
|
18750
|
+
const height = $dasFormItem.value?.clientHeight;
|
|
18751
|
+
errorModelPosition.value.x = left;
|
|
18752
|
+
errorModelPosition.value.y = top + height;
|
|
18753
|
+
};
|
|
18754
|
+
const errorModalInputMouseEnter = () => {
|
|
18755
|
+
getErrorModalPosition();
|
|
18756
|
+
isHoverInInput.value = true;
|
|
18757
|
+
};
|
|
18758
|
+
const errorModallInputMouseLeave = () => {
|
|
18759
|
+
isHoverInInput.value = false;
|
|
18760
|
+
};
|
|
18761
|
+
return {
|
|
18762
|
+
$dasFormItem,
|
|
18763
|
+
isHoverInInput,
|
|
18764
|
+
errorModalBaseSyle,
|
|
18765
|
+
errorModelStyle,
|
|
18766
|
+
errorLabelStyle,
|
|
18767
|
+
errorModalInputMouseEnter,
|
|
18768
|
+
errorModallInputMouseLeave
|
|
18714
18769
|
};
|
|
18715
18770
|
};
|
|
18716
18771
|
|
|
18717
|
-
const _hoisted_1 = { class: "label-context" };
|
|
18718
|
-
const _hoisted_2 = { key: 0 };
|
|
18719
18772
|
const __default__ = {
|
|
18720
18773
|
inheritAttrs: false
|
|
18721
18774
|
};
|
|
@@ -18746,10 +18799,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18746
18799
|
rules: { type: null, required: false, default: [] },
|
|
18747
18800
|
tooltipAttrs: { type: null, required: false },
|
|
18748
18801
|
labelMarginRight: { type: String, required: false },
|
|
18749
|
-
showColon: { type: Boolean, required: false }
|
|
18802
|
+
showColon: { type: Boolean, required: false },
|
|
18803
|
+
errorModelZIndex: { type: Number, required: false, default: 2e3 }
|
|
18750
18804
|
},
|
|
18751
18805
|
emits: ["update:modelValue", "update:optionValue", "update:error", "change", "input", "select-change"],
|
|
18752
18806
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
18807
|
+
useCssVars((_ctx) => ({
|
|
18808
|
+
"13d30b83-contentWidth": unref(contentWidth)
|
|
18809
|
+
}));
|
|
18753
18810
|
const formItemProps = __props;
|
|
18754
18811
|
const emit = __emit;
|
|
18755
18812
|
const $treeSelect = DasTreeSelectRef();
|
|
@@ -18768,447 +18825,551 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18768
18825
|
marginRight,
|
|
18769
18826
|
marginBottom,
|
|
18770
18827
|
className,
|
|
18771
|
-
isHoverIn,
|
|
18772
18828
|
inputHandler,
|
|
18773
18829
|
changeHandler,
|
|
18774
|
-
selectChangeHandler
|
|
18775
|
-
mouseEnterAndLeave
|
|
18830
|
+
selectChangeHandler
|
|
18776
18831
|
} = useForm(formItemProps, emit, isShow);
|
|
18832
|
+
const {
|
|
18833
|
+
$dasFormItem,
|
|
18834
|
+
isHoverInInput,
|
|
18835
|
+
errorModalBaseSyle,
|
|
18836
|
+
errorModelStyle,
|
|
18837
|
+
errorLabelStyle,
|
|
18838
|
+
errorModalInputMouseEnter,
|
|
18839
|
+
errorModallInputMouseLeave
|
|
18840
|
+
} = useError(formItemProps);
|
|
18777
18841
|
__expose({ $treeSelect });
|
|
18778
|
-
|
|
18779
|
-
return
|
|
18842
|
+
const __returned__ = { formItemProps, emit, $treeSelect, isShow, innerError, selectModelValue, errored, erroredMode, innerValue, labelWidth, formLabelMarginRight, contentWidth, flexConfig, formProps, marginRight, marginBottom, className, inputHandler, changeHandler, selectChangeHandler, $dasFormItem, isHoverInInput, errorModalBaseSyle, errorModelStyle, errorLabelStyle, errorModalInputMouseEnter, errorModallInputMouseLeave, get DasTreeSelect() {
|
|
18843
|
+
return DasTreeSelect;
|
|
18844
|
+
}, get DasSelectInput() {
|
|
18845
|
+
return DasSelectInput;
|
|
18846
|
+
}, get DasInputDialogSelect() {
|
|
18847
|
+
return DasInputDialogSelect;
|
|
18848
|
+
}, get DasInput() {
|
|
18849
|
+
return DasInput;
|
|
18850
|
+
}, get DasRadio() {
|
|
18851
|
+
return DasRadio;
|
|
18852
|
+
}, get DasCheckbox() {
|
|
18853
|
+
return DasCheckbox;
|
|
18854
|
+
}, get DasSwitch() {
|
|
18855
|
+
return DasSwitch;
|
|
18856
|
+
}, get DasSelect() {
|
|
18857
|
+
return DasSelect;
|
|
18858
|
+
}, get DasTooltip() {
|
|
18859
|
+
return DasTooltip;
|
|
18860
|
+
}, get DasIcon() {
|
|
18861
|
+
return DasIcon;
|
|
18862
|
+
}, get DasDatePicker() {
|
|
18863
|
+
return DasDatePicker;
|
|
18864
|
+
}, get DasRangePicker() {
|
|
18865
|
+
return DasRangePicker;
|
|
18866
|
+
}, get DasTimePicker() {
|
|
18867
|
+
return DasTimePicker;
|
|
18868
|
+
}, get DasTimeRangePicker() {
|
|
18869
|
+
return DasTimeRangePicker;
|
|
18870
|
+
}, get DasCascader() {
|
|
18871
|
+
return DasCascader;
|
|
18872
|
+
}, get DasColorPicker() {
|
|
18873
|
+
return DasColorPicker;
|
|
18874
|
+
}, get DasInputNumber() {
|
|
18875
|
+
return DasInputNumber;
|
|
18876
|
+
}, get vDasTooltip() {
|
|
18877
|
+
return vDasTooltip;
|
|
18878
|
+
} };
|
|
18879
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
18880
|
+
return __returned__;
|
|
18881
|
+
}
|
|
18882
|
+
});
|
|
18883
|
+
|
|
18884
|
+
var _export_sfc = (sfc, props) => {
|
|
18885
|
+
const target = sfc.__vccOpts || sfc;
|
|
18886
|
+
for (const [key, val] of props) {
|
|
18887
|
+
target[key] = val;
|
|
18888
|
+
}
|
|
18889
|
+
return target;
|
|
18890
|
+
};
|
|
18891
|
+
|
|
18892
|
+
const _hoisted_1 = { class: "label-context" };
|
|
18893
|
+
const _hoisted_2 = { key: 0 };
|
|
18894
|
+
const _hoisted_3 = {
|
|
18895
|
+
key: 0,
|
|
18896
|
+
class: "error-label"
|
|
18897
|
+
};
|
|
18898
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18899
|
+
return openBlock(), createElementBlock(
|
|
18900
|
+
"div",
|
|
18901
|
+
{
|
|
18902
|
+
class: normalizeClass(["das-ui-form-item", [$setup.className, $setup.formProps.labelPosition, $setup.formProps.alignType, { "flex-layout": $setup.contentWidth === "" }]]),
|
|
18903
|
+
style: normalizeStyle({ marginRight: $setup.marginRight, marginBottom: $setup.marginBottom, alignItems: $props.alignItems, flex: $setup.flexConfig, "min-width": 0 })
|
|
18904
|
+
},
|
|
18905
|
+
[
|
|
18906
|
+
createElementVNode(
|
|
18780
18907
|
"div",
|
|
18781
18908
|
{
|
|
18782
|
-
class:
|
|
18783
|
-
style: normalizeStyle({
|
|
18909
|
+
class: "das-ui-form-item-label",
|
|
18910
|
+
style: normalizeStyle({ width: $setup.labelWidth, marginRight: $setup.formLabelMarginRight })
|
|
18784
18911
|
},
|
|
18785
18912
|
[
|
|
18786
18913
|
createElementVNode(
|
|
18787
18914
|
"div",
|
|
18788
18915
|
{
|
|
18789
|
-
class: "
|
|
18790
|
-
style: normalizeStyle({ width: unref(labelWidth), marginRight: unref(formLabelMarginRight) })
|
|
18791
|
-
},
|
|
18792
|
-
[
|
|
18793
|
-
createElementVNode(
|
|
18794
|
-
"div",
|
|
18795
|
-
{
|
|
18796
|
-
class: normalizeClass(["label", { "required-mark": _ctx.required, "has-help": _ctx.helpMessage }])
|
|
18797
|
-
},
|
|
18798
|
-
[
|
|
18799
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
|
|
18800
|
-
createTextVNode(
|
|
18801
|
-
toDisplayString(_ctx.label),
|
|
18802
|
-
1
|
|
18803
|
-
/* TEXT */
|
|
18804
|
-
)
|
|
18805
|
-
])), [
|
|
18806
|
-
[unref(vDasTooltip)]
|
|
18807
|
-
]),
|
|
18808
|
-
_ctx.showColon ? (openBlock(), createElementBlock("span", _hoisted_2, "\uFF1A")) : createCommentVNode("v-if", true),
|
|
18809
|
-
_ctx.helpMessage || _ctx.$slots.helpContent ? (openBlock(), createBlock(unref(DasTooltip), mergeProps({
|
|
18810
|
-
key: 1,
|
|
18811
|
-
effect: "light",
|
|
18812
|
-
placement: "top-start",
|
|
18813
|
-
content: _ctx.helpMessage
|
|
18814
|
-
}, _ctx.tooltipAttrs), createSlots({
|
|
18815
|
-
default: withCtx(() => [
|
|
18816
|
-
createVNode(unref(DasIcon), {
|
|
18817
|
-
class: normalizeClass(["help-icon", { "no-required": !_ctx.required }]),
|
|
18818
|
-
iconColor: "#666",
|
|
18819
|
-
size: "medium",
|
|
18820
|
-
icon: "form-tips"
|
|
18821
|
-
}, null, 8, ["class"])
|
|
18822
|
-
]),
|
|
18823
|
-
_: 2
|
|
18824
|
-
/* DYNAMIC */
|
|
18825
|
-
}, [
|
|
18826
|
-
_ctx.$slots.helpContent ? {
|
|
18827
|
-
name: "content",
|
|
18828
|
-
fn: withCtx(() => [
|
|
18829
|
-
renderSlot(_ctx.$slots, "helpContent", {}, void 0, true)
|
|
18830
|
-
]),
|
|
18831
|
-
key: "0"
|
|
18832
|
-
} : void 0
|
|
18833
|
-
]), 1040, ["content"])) : createCommentVNode("v-if", true)
|
|
18834
|
-
],
|
|
18835
|
-
2
|
|
18836
|
-
/* CLASS */
|
|
18837
|
-
)
|
|
18838
|
-
],
|
|
18839
|
-
4
|
|
18840
|
-
/* STYLE */
|
|
18841
|
-
),
|
|
18842
|
-
withDirectives((openBlock(), createElementBlock(
|
|
18843
|
-
"div",
|
|
18844
|
-
{
|
|
18845
|
-
class: "das-ui-form-container",
|
|
18846
|
-
style: normalizeStyle({ width: unref(contentWidth) })
|
|
18916
|
+
class: normalizeClass(["label", { "required-mark": $props.required, "has-help": $props.helpMessage }])
|
|
18847
18917
|
},
|
|
18848
18918
|
[
|
|
18849
|
-
|
|
18850
|
-
|
|
18851
|
-
|
|
18852
|
-
|
|
18853
|
-
|
|
18854
|
-
|
|
18855
|
-
|
|
18856
|
-
|
|
18857
|
-
|
|
18858
|
-
|
|
18859
|
-
|
|
18860
|
-
|
|
18861
|
-
|
|
18862
|
-
|
|
18919
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
|
|
18920
|
+
createTextVNode(
|
|
18921
|
+
toDisplayString($props.label),
|
|
18922
|
+
1
|
|
18923
|
+
/* TEXT */
|
|
18924
|
+
)
|
|
18925
|
+
])), [
|
|
18926
|
+
[$setup["vDasTooltip"]]
|
|
18927
|
+
]),
|
|
18928
|
+
$props.showColon ? (openBlock(), createElementBlock("span", _hoisted_2, "\uFF1A")) : createCommentVNode("v-if", true),
|
|
18929
|
+
$props.helpMessage || _ctx.$slots.helpContent ? (openBlock(), createBlock($setup["DasTooltip"], mergeProps({
|
|
18930
|
+
key: 1,
|
|
18931
|
+
effect: "light",
|
|
18932
|
+
placement: "top-start",
|
|
18933
|
+
content: $props.helpMessage
|
|
18934
|
+
}, $props.tooltipAttrs), createSlots({
|
|
18935
|
+
default: withCtx(() => [
|
|
18936
|
+
createVNode($setup["DasIcon"], {
|
|
18937
|
+
class: normalizeClass(["help-icon", { "no-required": !$props.required }]),
|
|
18938
|
+
iconColor: "#666",
|
|
18939
|
+
size: "medium",
|
|
18940
|
+
icon: "form-tips"
|
|
18941
|
+
}, null, 8, ["class"])
|
|
18942
|
+
]),
|
|
18863
18943
|
_: 2
|
|
18864
18944
|
/* DYNAMIC */
|
|
18865
18945
|
}, [
|
|
18866
|
-
_ctx.$slots.
|
|
18867
|
-
name: "
|
|
18946
|
+
_ctx.$slots.helpContent ? {
|
|
18947
|
+
name: "content",
|
|
18868
18948
|
fn: withCtx(() => [
|
|
18869
|
-
renderSlot(_ctx.$slots, "
|
|
18949
|
+
renderSlot(_ctx.$slots, "helpContent", {}, void 0, true)
|
|
18870
18950
|
]),
|
|
18871
18951
|
key: "0"
|
|
18872
|
-
} : void 0,
|
|
18873
|
-
_ctx.$slots.prefix ? {
|
|
18874
|
-
name: "prefix",
|
|
18875
|
-
fn: withCtx(() => [
|
|
18876
|
-
renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
18877
|
-
]),
|
|
18878
|
-
key: "1"
|
|
18879
|
-
} : void 0,
|
|
18880
|
-
_ctx.$slots.prepend ? {
|
|
18881
|
-
name: "prepend",
|
|
18882
|
-
fn: withCtx(() => [
|
|
18883
|
-
renderSlot(_ctx.$slots, "prepend", {}, void 0, true)
|
|
18884
|
-
]),
|
|
18885
|
-
key: "2"
|
|
18886
|
-
} : void 0,
|
|
18887
|
-
_ctx.$slots.append ? {
|
|
18888
|
-
name: "append",
|
|
18889
|
-
fn: withCtx(() => [
|
|
18890
|
-
renderSlot(_ctx.$slots, "append", {}, void 0, true)
|
|
18891
|
-
]),
|
|
18892
|
-
key: "3"
|
|
18893
18952
|
} : void 0
|
|
18894
|
-
]), 1040, ["
|
|
18953
|
+
]), 1040, ["content"])) : createCommentVNode("v-if", true)
|
|
18954
|
+
],
|
|
18955
|
+
2
|
|
18956
|
+
/* CLASS */
|
|
18957
|
+
)
|
|
18958
|
+
],
|
|
18959
|
+
4
|
|
18960
|
+
/* STYLE */
|
|
18961
|
+
),
|
|
18962
|
+
createElementVNode(
|
|
18963
|
+
"div",
|
|
18964
|
+
{
|
|
18965
|
+
ref: "$dasFormItem",
|
|
18966
|
+
class: "das-ui-form-container",
|
|
18967
|
+
style: normalizeStyle({ width: $setup.contentWidth }),
|
|
18968
|
+
onMouseenter: _cache[16] || (_cache[16] = (...args) => $setup.errorModalInputMouseEnter && $setup.errorModalInputMouseEnter(...args)),
|
|
18969
|
+
onMouseleave: _cache[17] || (_cache[17] = (...args) => $setup.errorModallInputMouseLeave && $setup.errorModallInputMouseLeave(...args))
|
|
18970
|
+
},
|
|
18971
|
+
[
|
|
18972
|
+
createCommentVNode(" \u8F93\u5165\u6846 "),
|
|
18973
|
+
$setup.isShow("input", "textarea", "password") ? (openBlock(), createBlock($setup["DasInput"], mergeProps({
|
|
18974
|
+
key: 0,
|
|
18975
|
+
modelValue: $setup.innerValue,
|
|
18976
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.innerValue = $event),
|
|
18977
|
+
style: { "margin-bottom": "0" },
|
|
18978
|
+
isView: $props.isView,
|
|
18979
|
+
disabled: $props.disabled,
|
|
18980
|
+
type: $props.type,
|
|
18981
|
+
error: $setup.errored,
|
|
18982
|
+
width: $setup.contentWidth,
|
|
18983
|
+
onInput: $setup.inputHandler,
|
|
18984
|
+
onChange: $setup.changeHandler
|
|
18985
|
+
}, _ctx.$attrs), createSlots({
|
|
18986
|
+
_: 2
|
|
18987
|
+
/* DYNAMIC */
|
|
18988
|
+
}, [
|
|
18989
|
+
_ctx.$slots.suffix ? {
|
|
18990
|
+
name: "suffix",
|
|
18991
|
+
fn: withCtx(() => [
|
|
18992
|
+
renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
18993
|
+
]),
|
|
18994
|
+
key: "0"
|
|
18995
|
+
} : void 0,
|
|
18996
|
+
_ctx.$slots.prefix ? {
|
|
18997
|
+
name: "prefix",
|
|
18998
|
+
fn: withCtx(() => [
|
|
18999
|
+
renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
19000
|
+
]),
|
|
19001
|
+
key: "1"
|
|
19002
|
+
} : void 0,
|
|
19003
|
+
_ctx.$slots.prepend ? {
|
|
19004
|
+
name: "prepend",
|
|
19005
|
+
fn: withCtx(() => [
|
|
19006
|
+
renderSlot(_ctx.$slots, "prepend", {}, void 0, true)
|
|
19007
|
+
]),
|
|
19008
|
+
key: "2"
|
|
19009
|
+
} : void 0,
|
|
19010
|
+
_ctx.$slots.append ? {
|
|
19011
|
+
name: "append",
|
|
19012
|
+
fn: withCtx(() => [
|
|
19013
|
+
renderSlot(_ctx.$slots, "append", {}, void 0, true)
|
|
19014
|
+
]),
|
|
19015
|
+
key: "3"
|
|
19016
|
+
} : void 0
|
|
19017
|
+
]), 1040, ["modelValue", "isView", "disabled", "type", "error", "width", "onInput", "onChange"])) : $setup.isShow("radio") ? (openBlock(), createElementBlock(
|
|
19018
|
+
Fragment,
|
|
19019
|
+
{ key: 1 },
|
|
19020
|
+
[
|
|
19021
|
+
createCommentVNode(" \u5355\u9009\u6846 "),
|
|
19022
|
+
createVNode($setup["DasRadio"], mergeProps({
|
|
19023
|
+
modelValue: $setup.innerValue,
|
|
19024
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $setup.innerValue = $event),
|
|
19025
|
+
isView: $props.isView,
|
|
19026
|
+
disabled: $props.disabled,
|
|
19027
|
+
radioType: "group",
|
|
19028
|
+
options: $props.options,
|
|
19029
|
+
defaultProps: {
|
|
19030
|
+
value: $props.optionsValueKey,
|
|
19031
|
+
label: $props.optionsLabelKey
|
|
19032
|
+
},
|
|
19033
|
+
onChange: $setup.changeHandler
|
|
19034
|
+
}, _ctx.$attrs), null, 16, ["modelValue", "isView", "disabled", "options", "defaultProps", "onChange"])
|
|
19035
|
+
],
|
|
19036
|
+
2112
|
|
19037
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19038
|
+
)) : $setup.isShow("checkbox") ? (openBlock(), createElementBlock(
|
|
19039
|
+
Fragment,
|
|
19040
|
+
{ key: 2 },
|
|
19041
|
+
[
|
|
19042
|
+
createCommentVNode(" \u591A\u9009\u6846 "),
|
|
19043
|
+
createVNode($setup["DasCheckbox"], mergeProps({
|
|
19044
|
+
modelValue: $setup.innerValue,
|
|
19045
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $setup.innerValue = $event),
|
|
19046
|
+
isView: $props.isView,
|
|
19047
|
+
disabled: $props.disabled,
|
|
19048
|
+
checkboxType: "group",
|
|
19049
|
+
options: $props.options,
|
|
19050
|
+
defaultProps: {
|
|
19051
|
+
value: $props.optionsValueKey,
|
|
19052
|
+
label: $props.optionsLabelKey
|
|
19053
|
+
},
|
|
19054
|
+
onChange: $setup.changeHandler
|
|
19055
|
+
}, _ctx.$attrs), null, 16, ["modelValue", "isView", "disabled", "options", "defaultProps", "onChange"])
|
|
19056
|
+
],
|
|
19057
|
+
2112
|
|
19058
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19059
|
+
)) : $setup.isShow("switch") ? (openBlock(), createElementBlock(
|
|
19060
|
+
Fragment,
|
|
19061
|
+
{ key: 3 },
|
|
19062
|
+
[
|
|
19063
|
+
createCommentVNode(" \u5F00\u5173 "),
|
|
19064
|
+
createVNode($setup["DasSwitch"], mergeProps({
|
|
19065
|
+
modelValue: $setup.innerValue,
|
|
19066
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $setup.innerValue = $event),
|
|
19067
|
+
disabled: $props.disabled,
|
|
19068
|
+
onChange: $setup.changeHandler
|
|
19069
|
+
}, _ctx.$attrs), null, 16, ["modelValue", "disabled", "onChange"])
|
|
19070
|
+
],
|
|
19071
|
+
2112
|
|
19072
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19073
|
+
)) : $setup.isShow("select") ? (openBlock(), createElementBlock(
|
|
19074
|
+
Fragment,
|
|
19075
|
+
{ key: 4 },
|
|
19076
|
+
[
|
|
19077
|
+
createCommentVNode(" \u4E0B\u62C9\u6846 "),
|
|
19078
|
+
createVNode($setup["DasSelect"], mergeProps({
|
|
19079
|
+
modelValue: $setup.innerValue,
|
|
19080
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $setup.innerValue = $event),
|
|
19081
|
+
isView: $props.isView,
|
|
19082
|
+
disabled: $props.disabled,
|
|
19083
|
+
error: $setup.errored,
|
|
19084
|
+
size: "small",
|
|
19085
|
+
options: $props.options,
|
|
19086
|
+
width: "100%",
|
|
19087
|
+
fieldNames: {
|
|
19088
|
+
value: $props.optionsValueKey,
|
|
19089
|
+
label: $props.optionsLabelKey
|
|
19090
|
+
},
|
|
19091
|
+
onChange: $setup.changeHandler
|
|
19092
|
+
}, _ctx.$attrs), null, 16, ["modelValue", "isView", "disabled", "error", "options", "fieldNames", "onChange"])
|
|
19093
|
+
],
|
|
19094
|
+
2112
|
|
19095
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19096
|
+
)) : $setup.isShow("cascader") ? (openBlock(), createElementBlock(
|
|
19097
|
+
Fragment,
|
|
19098
|
+
{ key: 5 },
|
|
19099
|
+
[
|
|
19100
|
+
createCommentVNode(" \u7EA7\u8054\u9009\u62E9\u5668 "),
|
|
19101
|
+
createVNode($setup["DasCascader"], mergeProps({
|
|
19102
|
+
modelValue: $setup.innerValue,
|
|
19103
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $setup.innerValue = $event),
|
|
19104
|
+
isView: $props.isView,
|
|
19105
|
+
disabled: $props.disabled,
|
|
19106
|
+
error: $setup.errored,
|
|
19107
|
+
size: "small",
|
|
19108
|
+
options: $props.options,
|
|
19109
|
+
width: "100%",
|
|
19110
|
+
onChange: $setup.changeHandler
|
|
19111
|
+
}, _ctx.$attrs), null, 16, ["modelValue", "isView", "disabled", "error", "options", "onChange"])
|
|
19112
|
+
],
|
|
19113
|
+
2112
|
|
19114
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19115
|
+
)) : $setup.isShow("treeSelect") ? (openBlock(), createElementBlock(
|
|
19116
|
+
Fragment,
|
|
19117
|
+
{ key: 6 },
|
|
19118
|
+
[
|
|
19119
|
+
createCommentVNode(" \u4E0B\u62C9\u6811 "),
|
|
19120
|
+
createVNode($setup["DasTreeSelect"], mergeProps({
|
|
19121
|
+
ref: "$treeSelect",
|
|
19122
|
+
modelValue: $setup.innerValue,
|
|
19123
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $setup.innerValue = $event),
|
|
19124
|
+
data: $props.options,
|
|
19125
|
+
size: "small",
|
|
19126
|
+
width: "100%",
|
|
19127
|
+
isView: $props.isView,
|
|
19128
|
+
disabled: $props.disabled,
|
|
19129
|
+
error: $setup.errored,
|
|
19130
|
+
onChange: $setup.changeHandler
|
|
19131
|
+
}, _ctx.$attrs), null, 16, ["modelValue", "data", "isView", "disabled", "error", "onChange"])
|
|
19132
|
+
],
|
|
19133
|
+
2112
|
|
19134
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19135
|
+
)) : $setup.isShow("colorPicker") ? (openBlock(), createElementBlock(
|
|
19136
|
+
Fragment,
|
|
19137
|
+
{ key: 7 },
|
|
19138
|
+
[
|
|
19139
|
+
createCommentVNode(" \u989C\u8272\u9009\u62E9\u5668 "),
|
|
19140
|
+
createVNode($setup["DasColorPicker"], mergeProps({
|
|
19141
|
+
modelValue: $setup.innerValue,
|
|
19142
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $setup.innerValue = $event),
|
|
19143
|
+
options: $props.options,
|
|
19144
|
+
width: "100%",
|
|
19145
|
+
onChange: $setup.changeHandler,
|
|
19146
|
+
disabled: $props.disabled,
|
|
19147
|
+
error: $setup.errored,
|
|
19148
|
+
isView: $props.isView
|
|
19149
|
+
}, _ctx.$attrs), null, 16, ["modelValue", "options", "onChange", "disabled", "error", "isView"])
|
|
19150
|
+
],
|
|
19151
|
+
2112
|
|
19152
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19153
|
+
)) : $setup.isShow("inputNumber") ? (openBlock(), createElementBlock(
|
|
19154
|
+
Fragment,
|
|
19155
|
+
{ key: 8 },
|
|
19156
|
+
[
|
|
19157
|
+
createCommentVNode(" \u6B65\u8FDB\u5668 "),
|
|
19158
|
+
createVNode($setup["DasInputNumber"], mergeProps({
|
|
19159
|
+
modelValue: $setup.innerValue,
|
|
19160
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $setup.innerValue = $event),
|
|
19161
|
+
width: "100%",
|
|
19162
|
+
onInput: $setup.inputHandler,
|
|
19163
|
+
onChange: $setup.changeHandler,
|
|
19164
|
+
disabled: $props.disabled,
|
|
19165
|
+
error: $setup.errored,
|
|
19166
|
+
isView: $props.isView
|
|
19167
|
+
}, _ctx.$attrs), null, 16, ["modelValue", "onInput", "onChange", "disabled", "error", "isView"])
|
|
19168
|
+
],
|
|
19169
|
+
2112
|
|
19170
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19171
|
+
)) : $setup.isShow("selectInput") ? (openBlock(), createElementBlock(
|
|
19172
|
+
Fragment,
|
|
19173
|
+
{ key: 9 },
|
|
19174
|
+
[
|
|
19175
|
+
createCommentVNode(" \u641C\u7D22\u7EC4\u4EF6 "),
|
|
19176
|
+
createVNode($setup["DasSelectInput"], mergeProps({
|
|
19177
|
+
width: "100%",
|
|
19178
|
+
modelValue: $setup.innerValue,
|
|
19179
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $setup.innerValue = $event),
|
|
19180
|
+
isView: $props.isView,
|
|
19181
|
+
error: $setup.errored,
|
|
19182
|
+
disabled: $props.disabled,
|
|
19183
|
+
optionValue: $setup.selectModelValue,
|
|
19184
|
+
"onUpdate:optionValue": _cache[10] || (_cache[10] = ($event) => $setup.selectModelValue = $event),
|
|
19185
|
+
options: $props.options,
|
|
19186
|
+
optionsLabelKey: $props.optionsLabelKey,
|
|
19187
|
+
optionsValueKey: $props.optionsValueKey,
|
|
19188
|
+
onInputChange: $setup.changeHandler,
|
|
19189
|
+
onDasInput: $setup.inputHandler,
|
|
19190
|
+
onSelectChange: $setup.selectChangeHandler
|
|
19191
|
+
}, _ctx.$attrs), null, 16, ["modelValue", "isView", "error", "disabled", "optionValue", "options", "optionsLabelKey", "optionsValueKey", "onInputChange", "onDasInput", "onSelectChange"])
|
|
19192
|
+
],
|
|
19193
|
+
2112
|
|
19194
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19195
|
+
)) : $setup.isShow("inputDialogSelect") ? (openBlock(), createElementBlock(
|
|
19196
|
+
Fragment,
|
|
19197
|
+
{ key: 10 },
|
|
19198
|
+
[
|
|
19199
|
+
createCommentVNode(" \u5F39\u7A97\u9009\u62E9 "),
|
|
19200
|
+
createVNode($setup["DasInputDialogSelect"], mergeProps({
|
|
19201
|
+
style: { "width": "100px", "flex": "1" },
|
|
19202
|
+
size: "auto",
|
|
19203
|
+
isView: $props.isView,
|
|
19204
|
+
disabled: $props.disabled,
|
|
19205
|
+
error: $setup.errored,
|
|
19206
|
+
"selected-options": $props.options,
|
|
19207
|
+
modelValue: $setup.innerValue,
|
|
19208
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $setup.innerValue = $event)
|
|
19209
|
+
}, _ctx.$attrs, {
|
|
19210
|
+
optionsLabelKey: $props.optionsLabelKey,
|
|
19211
|
+
optionsValueKey: $props.optionsValueKey,
|
|
19212
|
+
onChange: $setup.changeHandler
|
|
19213
|
+
}), null, 16, ["isView", "disabled", "error", "selected-options", "modelValue", "optionsLabelKey", "optionsValueKey", "onChange"])
|
|
19214
|
+
],
|
|
19215
|
+
2112
|
|
19216
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19217
|
+
)) : $setup.isShow("date", "dateTime", "week", "month", "quarter", "year") ? (openBlock(), createElementBlock(
|
|
19218
|
+
Fragment,
|
|
19219
|
+
{ key: 11 },
|
|
19220
|
+
[
|
|
19221
|
+
createCommentVNode(" \u65E5\u671F\u9009\u62E9\u5668 "),
|
|
19222
|
+
createVNode($setup["DasDatePicker"], mergeProps({
|
|
19223
|
+
"show-time": $props.type === "dateTime",
|
|
19224
|
+
picker: $props.type !== "dateTime" ? $props.type : "date",
|
|
19225
|
+
modelValue: $setup.innerValue,
|
|
19226
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $setup.innerValue = $event),
|
|
19227
|
+
size: "small",
|
|
19228
|
+
width: "100%",
|
|
19229
|
+
disabled: $props.disabled,
|
|
19230
|
+
isView: $props.isView,
|
|
19231
|
+
error: $setup.errored,
|
|
19232
|
+
onChange: $setup.changeHandler
|
|
19233
|
+
}, _ctx.$attrs), null, 16, ["show-time", "picker", "modelValue", "disabled", "isView", "error", "onChange"])
|
|
19234
|
+
],
|
|
19235
|
+
2112
|
|
19236
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19237
|
+
)) : $setup.isShow("dateRange", "dateTimeRange", "weekRange", "monthRange", "yearRange") ? (openBlock(), createElementBlock(
|
|
19238
|
+
Fragment,
|
|
19239
|
+
{ key: 12 },
|
|
19240
|
+
[
|
|
19241
|
+
createCommentVNode(" \u65E5\u671F\u8303\u56F4\u9009\u62E9\u5668 "),
|
|
19242
|
+
createVNode($setup["DasRangePicker"], mergeProps({
|
|
19243
|
+
"show-time": $props.type === "dateTimeRange",
|
|
19244
|
+
picker: $props.type !== "dateTimeRange" ? $props.type.slice(0, -5) : "date",
|
|
19245
|
+
modelValue: $setup.innerValue,
|
|
19246
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $setup.innerValue = $event),
|
|
19247
|
+
size: "small",
|
|
19248
|
+
width: "100%",
|
|
19249
|
+
disabled: $props.disabled,
|
|
19250
|
+
isView: $props.isView,
|
|
19251
|
+
error: $setup.errored,
|
|
19252
|
+
onChange: $setup.changeHandler
|
|
19253
|
+
}, _ctx.$attrs), null, 16, ["show-time", "picker", "modelValue", "disabled", "isView", "error", "onChange"])
|
|
19254
|
+
],
|
|
19255
|
+
2112
|
|
19256
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19257
|
+
)) : $setup.isShow("time") ? (openBlock(), createElementBlock(
|
|
19258
|
+
Fragment,
|
|
19259
|
+
{ key: 13 },
|
|
19260
|
+
[
|
|
19261
|
+
createCommentVNode(" \u65F6\u95F4\u9009\u62E9\u5668 "),
|
|
19262
|
+
createVNode($setup["DasTimePicker"], mergeProps({
|
|
19263
|
+
modelValue: $setup.innerValue,
|
|
19264
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $setup.innerValue = $event),
|
|
19265
|
+
size: "small",
|
|
19266
|
+
width: "100%",
|
|
19267
|
+
disabled: $props.disabled,
|
|
19268
|
+
isView: $props.isView,
|
|
19269
|
+
onChange: $setup.changeHandler
|
|
19270
|
+
}, _ctx.$attrs), null, 16, ["modelValue", "disabled", "isView", "onChange"])
|
|
19271
|
+
],
|
|
19272
|
+
2112
|
|
19273
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19274
|
+
)) : $setup.isShow("timeRange") ? (openBlock(), createElementBlock(
|
|
19275
|
+
Fragment,
|
|
19276
|
+
{ key: 14 },
|
|
19277
|
+
[
|
|
19278
|
+
createCommentVNode(" \u65F6\u95F4\u8303\u56F4\u9009\u62E9\u5668 "),
|
|
19279
|
+
createVNode($setup["DasTimeRangePicker"], mergeProps({
|
|
19280
|
+
modelValue: $setup.innerValue,
|
|
19281
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => $setup.innerValue = $event),
|
|
19282
|
+
size: "small",
|
|
19283
|
+
width: "100%",
|
|
19284
|
+
disabled: $props.disabled,
|
|
19285
|
+
isView: $props.isView,
|
|
19286
|
+
onChange: $setup.changeHandler
|
|
19287
|
+
}, _ctx.$attrs), null, 16, ["modelValue", "disabled", "isView", "onChange"])
|
|
19288
|
+
],
|
|
19289
|
+
2112
|
|
19290
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19291
|
+
)) : createCommentVNode("v-if", true),
|
|
19292
|
+
createCommentVNode(" \u63D2\u69FD "),
|
|
19293
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
19294
|
+
createCommentVNode(" \u63D0\u793A "),
|
|
19295
|
+
$setup.errored && !!$setup.innerError ? (openBlock(), createElementBlock(
|
|
19296
|
+
Fragment,
|
|
19297
|
+
{ key: 15 },
|
|
19298
|
+
[
|
|
19299
|
+
$setup.erroredMode === "default" ? withDirectives((openBlock(), createElementBlock("div", _hoisted_3, [
|
|
19300
|
+
createTextVNode(
|
|
19301
|
+
toDisplayString($setup.innerError),
|
|
19302
|
+
1
|
|
19303
|
+
/* TEXT */
|
|
19304
|
+
)
|
|
19305
|
+
])), [
|
|
19306
|
+
[$setup["vDasTooltip"]]
|
|
19307
|
+
]) : $setup.isHoverInInput ? (openBlock(), createElementBlock(
|
|
18895
19308
|
Fragment,
|
|
18896
19309
|
{ key: 1 },
|
|
18897
19310
|
[
|
|
18898
|
-
|
|
18899
|
-
|
|
18900
|
-
|
|
18901
|
-
|
|
18902
|
-
|
|
18903
|
-
|
|
18904
|
-
|
|
18905
|
-
|
|
18906
|
-
|
|
18907
|
-
|
|
18908
|
-
|
|
18909
|
-
|
|
18910
|
-
|
|
18911
|
-
|
|
18912
|
-
|
|
18913
|
-
|
|
18914
|
-
|
|
18915
|
-
|
|
18916
|
-
|
|
18917
|
-
|
|
18918
|
-
|
|
18919
|
-
|
|
18920
|
-
|
|
18921
|
-
|
|
18922
|
-
"
|
|
18923
|
-
|
|
18924
|
-
|
|
18925
|
-
|
|
18926
|
-
|
|
18927
|
-
defaultProps: {
|
|
18928
|
-
value: _ctx.optionsValueKey,
|
|
18929
|
-
label: _ctx.optionsLabelKey
|
|
18930
|
-
},
|
|
18931
|
-
onChange: unref(changeHandler)
|
|
18932
|
-
}, _ctx.$attrs), null, 16, ["modelValue", "isView", "disabled", "options", "defaultProps", "onChange"])
|
|
18933
|
-
],
|
|
18934
|
-
2112
|
|
18935
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
18936
|
-
)) : unref(isShow)("switch") ? (openBlock(), createElementBlock(
|
|
18937
|
-
Fragment,
|
|
18938
|
-
{ key: 3 },
|
|
18939
|
-
[
|
|
18940
|
-
createCommentVNode(" \u5F00\u5173 "),
|
|
18941
|
-
createVNode(unref(DasSwitch), mergeProps({
|
|
18942
|
-
modelValue: unref(innerValue),
|
|
18943
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(innerValue) ? innerValue.value = $event : null),
|
|
18944
|
-
disabled: _ctx.disabled,
|
|
18945
|
-
onChange: unref(changeHandler)
|
|
18946
|
-
}, _ctx.$attrs), null, 16, ["modelValue", "disabled", "onChange"])
|
|
18947
|
-
],
|
|
18948
|
-
2112
|
|
18949
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
18950
|
-
)) : unref(isShow)("select") ? (openBlock(), createElementBlock(
|
|
18951
|
-
Fragment,
|
|
18952
|
-
{ key: 4 },
|
|
18953
|
-
[
|
|
18954
|
-
createCommentVNode(" \u4E0B\u62C9\u6846 "),
|
|
18955
|
-
createVNode(unref(DasSelect), mergeProps({
|
|
18956
|
-
modelValue: unref(innerValue),
|
|
18957
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(innerValue) ? innerValue.value = $event : null),
|
|
18958
|
-
isView: _ctx.isView,
|
|
18959
|
-
disabled: _ctx.disabled,
|
|
18960
|
-
error: unref(errored),
|
|
18961
|
-
size: "small",
|
|
18962
|
-
options: _ctx.options,
|
|
18963
|
-
width: "100%",
|
|
18964
|
-
fieldNames: {
|
|
18965
|
-
value: _ctx.optionsValueKey,
|
|
18966
|
-
label: _ctx.optionsLabelKey
|
|
19311
|
+
$setup.isHoverInInput ? (openBlock(), createBlock(Teleport, {
|
|
19312
|
+
key: 0,
|
|
19313
|
+
to: "body"
|
|
19314
|
+
}, [
|
|
19315
|
+
createElementVNode(
|
|
19316
|
+
"div",
|
|
19317
|
+
{
|
|
19318
|
+
style: normalizeStyle($setup.errorModelStyle)
|
|
19319
|
+
},
|
|
19320
|
+
[
|
|
19321
|
+
createElementVNode(
|
|
19322
|
+
"span",
|
|
19323
|
+
{
|
|
19324
|
+
style: normalizeStyle($setup.errorLabelStyle)
|
|
19325
|
+
},
|
|
19326
|
+
toDisplayString($setup.innerError),
|
|
19327
|
+
5
|
|
19328
|
+
/* TEXT, STYLE */
|
|
19329
|
+
)
|
|
19330
|
+
],
|
|
19331
|
+
4
|
|
19332
|
+
/* STYLE */
|
|
19333
|
+
)
|
|
19334
|
+
])) : (openBlock(), createElementBlock(
|
|
19335
|
+
"div",
|
|
19336
|
+
{
|
|
19337
|
+
key: 1,
|
|
19338
|
+
style: normalizeStyle($setup.errorModalBaseSyle),
|
|
19339
|
+
class: "das-form-item-overlay-error-label-content"
|
|
18967
19340
|
},
|
|
18968
|
-
|
|
18969
|
-
|
|
18970
|
-
|
|
18971
|
-
|
|
18972
|
-
|
|
18973
|
-
|
|
18974
|
-
|
|
18975
|
-
|
|
18976
|
-
|
|
18977
|
-
|
|
18978
|
-
|
|
18979
|
-
|
|
18980
|
-
|
|
18981
|
-
|
|
18982
|
-
disabled: _ctx.disabled,
|
|
18983
|
-
error: unref(errored),
|
|
18984
|
-
size: "small",
|
|
18985
|
-
options: _ctx.options,
|
|
18986
|
-
width: "100%",
|
|
18987
|
-
onChange: unref(changeHandler)
|
|
18988
|
-
}, _ctx.$attrs), null, 16, ["modelValue", "isView", "disabled", "error", "options", "onChange"])
|
|
18989
|
-
],
|
|
18990
|
-
2112
|
|
18991
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
18992
|
-
)) : unref(isShow)("treeSelect") ? (openBlock(), createElementBlock(
|
|
18993
|
-
Fragment,
|
|
18994
|
-
{ key: 6 },
|
|
18995
|
-
[
|
|
18996
|
-
createCommentVNode(" \u4E0B\u62C9\u6811 "),
|
|
18997
|
-
createVNode(unref(DasTreeSelect), mergeProps({
|
|
18998
|
-
ref_key: "$treeSelect",
|
|
18999
|
-
ref: $treeSelect,
|
|
19000
|
-
modelValue: unref(innerValue),
|
|
19001
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(innerValue) ? innerValue.value = $event : null),
|
|
19002
|
-
data: _ctx.options,
|
|
19003
|
-
size: "small",
|
|
19004
|
-
width: "100%",
|
|
19005
|
-
isView: _ctx.isView,
|
|
19006
|
-
disabled: _ctx.disabled,
|
|
19007
|
-
error: unref(errored),
|
|
19008
|
-
onChange: unref(changeHandler)
|
|
19009
|
-
}, _ctx.$attrs), null, 16, ["modelValue", "data", "isView", "disabled", "error", "onChange"])
|
|
19010
|
-
],
|
|
19011
|
-
2112
|
|
19012
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19013
|
-
)) : unref(isShow)("colorPicker") ? (openBlock(), createElementBlock(
|
|
19014
|
-
Fragment,
|
|
19015
|
-
{ key: 7 },
|
|
19016
|
-
[
|
|
19017
|
-
createCommentVNode(" \u989C\u8272\u9009\u62E9\u5668 "),
|
|
19018
|
-
createVNode(unref(DasColorPicker), mergeProps({
|
|
19019
|
-
modelValue: unref(innerValue),
|
|
19020
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => isRef(innerValue) ? innerValue.value = $event : null),
|
|
19021
|
-
options: _ctx.options,
|
|
19022
|
-
width: "100%",
|
|
19023
|
-
onChange: unref(changeHandler),
|
|
19024
|
-
disabled: _ctx.disabled,
|
|
19025
|
-
error: unref(errored),
|
|
19026
|
-
isView: _ctx.isView
|
|
19027
|
-
}, _ctx.$attrs), null, 16, ["modelValue", "options", "onChange", "disabled", "error", "isView"])
|
|
19028
|
-
],
|
|
19029
|
-
2112
|
|
19030
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19031
|
-
)) : unref(isShow)("inputNumber") ? (openBlock(), createElementBlock(
|
|
19032
|
-
Fragment,
|
|
19033
|
-
{ key: 8 },
|
|
19034
|
-
[
|
|
19035
|
-
createCommentVNode(" \u6B65\u8FDB\u5668 "),
|
|
19036
|
-
createVNode(unref(DasInputNumber), mergeProps({
|
|
19037
|
-
modelValue: unref(innerValue),
|
|
19038
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(innerValue) ? innerValue.value = $event : null),
|
|
19039
|
-
width: "100%",
|
|
19040
|
-
onChange: unref(changeHandler),
|
|
19041
|
-
disabled: _ctx.disabled,
|
|
19042
|
-
error: unref(errored),
|
|
19043
|
-
isView: _ctx.isView
|
|
19044
|
-
}, _ctx.$attrs), null, 16, ["modelValue", "onChange", "disabled", "error", "isView"])
|
|
19045
|
-
],
|
|
19046
|
-
2112
|
|
19047
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19048
|
-
)) : unref(isShow)("selectInput") ? (openBlock(), createElementBlock(
|
|
19049
|
-
Fragment,
|
|
19050
|
-
{ key: 9 },
|
|
19051
|
-
[
|
|
19052
|
-
createCommentVNode(" \u641C\u7D22\u7EC4\u4EF6 "),
|
|
19053
|
-
createVNode(unref(DasSelectInput), mergeProps({
|
|
19054
|
-
width: "100%",
|
|
19055
|
-
modelValue: unref(innerValue),
|
|
19056
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(innerValue) ? innerValue.value = $event : null),
|
|
19057
|
-
isView: _ctx.isView,
|
|
19058
|
-
error: unref(errored),
|
|
19059
|
-
disabled: _ctx.disabled,
|
|
19060
|
-
optionValue: unref(selectModelValue),
|
|
19061
|
-
"onUpdate:optionValue": _cache[10] || (_cache[10] = ($event) => isRef(selectModelValue) ? selectModelValue.value = $event : null),
|
|
19062
|
-
options: _ctx.options,
|
|
19063
|
-
optionsLabelKey: _ctx.optionsLabelKey,
|
|
19064
|
-
optionsValueKey: _ctx.optionsValueKey,
|
|
19065
|
-
onInputChange: unref(changeHandler),
|
|
19066
|
-
onDasInput: unref(inputHandler),
|
|
19067
|
-
onSelectChange: unref(selectChangeHandler)
|
|
19068
|
-
}, _ctx.$attrs), null, 16, ["modelValue", "isView", "error", "disabled", "optionValue", "options", "optionsLabelKey", "optionsValueKey", "onInputChange", "onDasInput", "onSelectChange"])
|
|
19069
|
-
],
|
|
19070
|
-
2112
|
|
19071
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19072
|
-
)) : unref(isShow)("inputDialogSelect") ? (openBlock(), createElementBlock(
|
|
19073
|
-
Fragment,
|
|
19074
|
-
{ key: 10 },
|
|
19075
|
-
[
|
|
19076
|
-
createCommentVNode(" \u5F39\u7A97\u9009\u62E9 "),
|
|
19077
|
-
createVNode(unref(DasInputDialogSelect), mergeProps({
|
|
19078
|
-
style: { "width": "100px", "flex": "1" },
|
|
19079
|
-
size: "auto",
|
|
19080
|
-
isView: _ctx.isView,
|
|
19081
|
-
disabled: _ctx.disabled,
|
|
19082
|
-
error: unref(errored),
|
|
19083
|
-
"selected-options": _ctx.options,
|
|
19084
|
-
modelValue: unref(innerValue),
|
|
19085
|
-
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => isRef(innerValue) ? innerValue.value = $event : null)
|
|
19086
|
-
}, _ctx.$attrs, {
|
|
19087
|
-
optionsLabelKey: _ctx.optionsLabelKey,
|
|
19088
|
-
optionsValueKey: _ctx.optionsValueKey
|
|
19089
|
-
}), null, 16, ["isView", "disabled", "error", "selected-options", "modelValue", "optionsLabelKey", "optionsValueKey"])
|
|
19341
|
+
[
|
|
19342
|
+
createElementVNode(
|
|
19343
|
+
"span",
|
|
19344
|
+
{
|
|
19345
|
+
style: normalizeStyle($setup.errorLabelStyle)
|
|
19346
|
+
},
|
|
19347
|
+
toDisplayString($setup.innerError),
|
|
19348
|
+
5
|
|
19349
|
+
/* TEXT, STYLE */
|
|
19350
|
+
)
|
|
19351
|
+
],
|
|
19352
|
+
4
|
|
19353
|
+
/* STYLE */
|
|
19354
|
+
))
|
|
19090
19355
|
],
|
|
19091
|
-
|
|
19092
|
-
/* STABLE_FRAGMENT
|
|
19093
|
-
)) :
|
|
19094
|
-
Fragment,
|
|
19095
|
-
{ key: 11 },
|
|
19096
|
-
[
|
|
19097
|
-
createCommentVNode(" \u65E5\u671F\u9009\u62E9\u5668 "),
|
|
19098
|
-
createVNode(unref(DasDatePicker), mergeProps({
|
|
19099
|
-
"show-time": _ctx.type === "dateTime",
|
|
19100
|
-
picker: _ctx.type !== "dateTime" ? _ctx.type : "date",
|
|
19101
|
-
modelValue: unref(innerValue),
|
|
19102
|
-
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => isRef(innerValue) ? innerValue.value = $event : null),
|
|
19103
|
-
size: "small",
|
|
19104
|
-
width: "100%",
|
|
19105
|
-
disabled: _ctx.disabled,
|
|
19106
|
-
isView: _ctx.isView,
|
|
19107
|
-
error: unref(errored),
|
|
19108
|
-
onChange: unref(changeHandler)
|
|
19109
|
-
}, _ctx.$attrs), null, 16, ["show-time", "picker", "modelValue", "disabled", "isView", "error", "onChange"])
|
|
19110
|
-
],
|
|
19111
|
-
2112
|
|
19112
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19113
|
-
)) : unref(isShow)("dateRange", "dateTimeRange", "weekRange", "monthRange", "yearRange") ? (openBlock(), createElementBlock(
|
|
19114
|
-
Fragment,
|
|
19115
|
-
{ key: 12 },
|
|
19116
|
-
[
|
|
19117
|
-
createCommentVNode(" \u65E5\u671F\u8303\u56F4\u9009\u62E9\u5668 "),
|
|
19118
|
-
createVNode(unref(DasRangePicker), mergeProps({
|
|
19119
|
-
"show-time": _ctx.type === "dateTimeRange",
|
|
19120
|
-
picker: _ctx.type !== "dateTimeRange" ? _ctx.type.slice(0, -5) : "date",
|
|
19121
|
-
modelValue: unref(innerValue),
|
|
19122
|
-
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => isRef(innerValue) ? innerValue.value = $event : null),
|
|
19123
|
-
size: "small",
|
|
19124
|
-
width: "100%",
|
|
19125
|
-
disabled: _ctx.disabled,
|
|
19126
|
-
isView: _ctx.isView,
|
|
19127
|
-
error: unref(errored),
|
|
19128
|
-
onChange: unref(changeHandler)
|
|
19129
|
-
}, _ctx.$attrs), null, 16, ["show-time", "picker", "modelValue", "disabled", "isView", "error", "onChange"])
|
|
19130
|
-
],
|
|
19131
|
-
2112
|
|
19132
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19133
|
-
)) : unref(isShow)("time") ? (openBlock(), createElementBlock(
|
|
19134
|
-
Fragment,
|
|
19135
|
-
{ key: 13 },
|
|
19136
|
-
[
|
|
19137
|
-
createCommentVNode(" \u65F6\u95F4\u9009\u62E9\u5668 "),
|
|
19138
|
-
createVNode(unref(DasTimePicker), mergeProps({
|
|
19139
|
-
modelValue: unref(innerValue),
|
|
19140
|
-
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => isRef(innerValue) ? innerValue.value = $event : null),
|
|
19141
|
-
size: "small",
|
|
19142
|
-
width: "100%",
|
|
19143
|
-
disabled: _ctx.disabled,
|
|
19144
|
-
isView: _ctx.isView,
|
|
19145
|
-
onChange: unref(changeHandler)
|
|
19146
|
-
}, _ctx.$attrs), null, 16, ["modelValue", "disabled", "isView", "onChange"])
|
|
19147
|
-
],
|
|
19148
|
-
2112
|
|
19149
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19150
|
-
)) : unref(isShow)("timeRange") ? (openBlock(), createElementBlock(
|
|
19151
|
-
Fragment,
|
|
19152
|
-
{ key: 14 },
|
|
19153
|
-
[
|
|
19154
|
-
createCommentVNode(" \u65F6\u95F4\u8303\u56F4\u9009\u62E9\u5668 "),
|
|
19155
|
-
createVNode(unref(DasTimeRangePicker), mergeProps({
|
|
19156
|
-
modelValue: unref(innerValue),
|
|
19157
|
-
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => isRef(innerValue) ? innerValue.value = $event : null),
|
|
19158
|
-
size: "small",
|
|
19159
|
-
width: "100%",
|
|
19160
|
-
disabled: _ctx.disabled,
|
|
19161
|
-
isView: _ctx.isView,
|
|
19162
|
-
onChange: unref(changeHandler)
|
|
19163
|
-
}, _ctx.$attrs), null, 16, ["modelValue", "disabled", "isView", "onChange"])
|
|
19164
|
-
],
|
|
19165
|
-
2112
|
|
19166
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
19167
|
-
)) : createCommentVNode("v-if", true),
|
|
19168
|
-
createCommentVNode(" \u63D2\u69FD "),
|
|
19169
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
19170
|
-
createCommentVNode(" \u63D0\u793A "),
|
|
19171
|
-
withDirectives((openBlock(), createElementBlock(
|
|
19172
|
-
"div",
|
|
19173
|
-
{
|
|
19174
|
-
class: normalizeClass([unref(erroredMode) === "default" ? "error-label" : "error-label--overlay"])
|
|
19175
|
-
},
|
|
19176
|
-
[
|
|
19177
|
-
createTextVNode(
|
|
19178
|
-
toDisplayString(unref(innerError)),
|
|
19179
|
-
1
|
|
19180
|
-
/* TEXT */
|
|
19181
|
-
)
|
|
19182
|
-
],
|
|
19183
|
-
2
|
|
19184
|
-
/* CLASS */
|
|
19185
|
-
)), [
|
|
19186
|
-
[vShow, (unref(erroredMode) === "default" || unref(erroredMode) === "overlay" && unref(isHoverIn)) && unref(errored)],
|
|
19187
|
-
[unref(vDasTooltip)]
|
|
19188
|
-
])
|
|
19356
|
+
64
|
|
19357
|
+
/* STABLE_FRAGMENT */
|
|
19358
|
+
)) : createCommentVNode("v-if", true)
|
|
19189
19359
|
],
|
|
19190
|
-
|
|
19191
|
-
/*
|
|
19192
|
-
)),
|
|
19193
|
-
[unref(vHoverInside), unref(mouseEnterAndLeave)]
|
|
19194
|
-
])
|
|
19360
|
+
64
|
|
19361
|
+
/* STABLE_FRAGMENT */
|
|
19362
|
+
)) : createCommentVNode("v-if", true)
|
|
19195
19363
|
],
|
|
19196
|
-
|
|
19197
|
-
/*
|
|
19198
|
-
)
|
|
19199
|
-
|
|
19200
|
-
|
|
19201
|
-
|
|
19202
|
-
|
|
19203
|
-
|
|
19204
|
-
|
|
19205
|
-
for (const [key, val] of props) {
|
|
19206
|
-
target[key] = val;
|
|
19207
|
-
}
|
|
19208
|
-
return target;
|
|
19209
|
-
};
|
|
19210
|
-
|
|
19211
|
-
var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-13d30b83"], ["__file", "E:\\company-code\\v6r3\\framework-3\\packages\\das-ui\\packages\\components\\form-item\\src\\Index.vue"]]);
|
|
19364
|
+
36
|
|
19365
|
+
/* STYLE, NEED_HYDRATION */
|
|
19366
|
+
)
|
|
19367
|
+
],
|
|
19368
|
+
6
|
|
19369
|
+
/* CLASS, STYLE */
|
|
19370
|
+
);
|
|
19371
|
+
}
|
|
19372
|
+
var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-13d30b83"], ["__file", "/Users/xiecp/das/das-fe/framework/packages/das-ui/packages/components/form-item/src/Index.vue"]]);
|
|
19212
19373
|
|
|
19213
19374
|
var theme = {
|
|
19214
19375
|
"--das-ui-form-error-label-color": { light: "#fb2323" },
|