3h1-ui 2.14.33 → 2.14.35
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/es/index.js +412 -141
- package/es/style.css +29 -18
- package/lib/index.js +411 -140
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, nextTick, createVNode, defineComponent, ref, computed, unref, watchEffect, watch, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, createSlots, renderSlot, normalizeProps, guardReactiveProps, createElementVNode, onMounted, normalizeClass, createCommentVNode, normalizeStyle, Transition, toHandlers, useSlots, withDirectives, vShow, getCurrentInstance, inject, onUnmounted, provide, onBeforeUnmount, resolveDynamicComponent, reactive, toRef, toRefs, TransitionGroup, getCurrentScope, onScopeDispose, readonly, isVNode, shallowReactive, toRaw, shallowRef, withKeys, withModifiers, render as render$1, resolveDirective, useAttrs as useAttrs$2, pushScopeId, popScopeId, isRef, useCssVars } from "vue";
|
|
2
2
|
import { Radio, Select, Tree, TreeSelect, Cascader, Transfer, Input, Tooltip, Skeleton, Popover, Pagination, Empty, Button as Button$1, Table as Table$1, Form, FormItem, DatePicker, InputNumber, AutoComplete, Switch, Checkbox, Slider, Rate, TimePicker, Col, Popconfirm, Modal as Modal$2, Row, Dropdown, Menu, MenuItem, MenuDivider, Divider as Divider$1, Spin, PageHeader, Space, CheckboxGroup, Image, Badge, Tag, FormItemRest, Drawer, Upload, Avatar, Descriptions, DescriptionsItem } from "ant-design-vue";
|
|
3
|
-
import {
|
|
3
|
+
import { isFunction as isFunction$4, isString as isString$3, isArray as isArray$3, getSlot as getSlot$1, addClass as addClass$1, removeClass as removeClass$1, getPopupContainer as getPopupContainer$1, triggerWindowResize, off, on, addResizeListener, removeResizeListener, isNumber as isNumber$2, isBoolean, isNull, extendSlots as extendSlots$1, withInstall as withInstall$4, isObject as isObject$3, dateUtil, isNullOrUnDef, isDef as isDef$1, error as error$1, deepMerge as deepMerge$1, getDynamicProps, buildProps, createBEM, forEach as forEach$1, isClient as isClient$1, filter, treeToList, eachTree, isEmpty, isServer, buildUUID, formatToDate, isMap as isMap$2, findNodeAll, getViewportOffset, warn as warn$1, isNullAndUnDef, dataURLtoBlob, deepMergeObjects } from "@shy-plugins/utils";
|
|
4
4
|
import { useAttrs as useAttrs$1, useRuleFormItem, useTimeoutFn as useTimeoutFn$2, useScrollTo as useScrollTo$1, useIntersectionObserver, useCopyToClipboard, useMessage, usePagination as usePagination$2, createContext as createContext$1, useContext as useContext$2, useBreakpoint, useI18n as useI18n$1, useContentHeight, useDesign as useDesign$1, useWindowSizeFn as useWindowSizeFn$1, onMountedOrActivated, useEventListener as useEventListener$1 } from "@shy-plugins/use";
|
|
5
5
|
import { zxcvbn } from "@zxcvbn-ts/core";
|
|
6
6
|
import Iconify from "@purge-icons/generated";
|
|
@@ -3709,11 +3709,25 @@ const _sfc_main$1l = defineComponent({
|
|
|
3709
3709
|
type: [Boolean],
|
|
3710
3710
|
default: false
|
|
3711
3711
|
},
|
|
3712
|
-
numberToString:
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3712
|
+
numberToString: {
|
|
3713
|
+
type: Boolean
|
|
3714
|
+
},
|
|
3715
|
+
resultField: {
|
|
3716
|
+
type: String,
|
|
3717
|
+
default: ""
|
|
3718
|
+
},
|
|
3719
|
+
labelField: {
|
|
3720
|
+
type: String,
|
|
3721
|
+
default: "label"
|
|
3722
|
+
},
|
|
3723
|
+
valueField: {
|
|
3724
|
+
type: String,
|
|
3725
|
+
default: "value"
|
|
3726
|
+
},
|
|
3727
|
+
immediate: {
|
|
3728
|
+
type: Boolean,
|
|
3729
|
+
default: true
|
|
3730
|
+
}
|
|
3717
3731
|
},
|
|
3718
3732
|
emits: ["options-change", "change"],
|
|
3719
3733
|
setup(props2, { emit }) {
|
|
@@ -3895,8 +3909,12 @@ const _sfc_main$1j = defineComponent({
|
|
|
3895
3909
|
inheritAttrs: false,
|
|
3896
3910
|
props: {
|
|
3897
3911
|
value: [Array, Object, String, Number],
|
|
3898
|
-
numberToString:
|
|
3899
|
-
|
|
3912
|
+
numberToString: {
|
|
3913
|
+
type: Boolean
|
|
3914
|
+
},
|
|
3915
|
+
stringToNumber: {
|
|
3916
|
+
type: Boolean
|
|
3917
|
+
},
|
|
3900
3918
|
api: {
|
|
3901
3919
|
type: Function,
|
|
3902
3920
|
default: null
|
|
@@ -3907,11 +3925,26 @@ const _sfc_main$1j = defineComponent({
|
|
|
3907
3925
|
default: () => ({})
|
|
3908
3926
|
},
|
|
3909
3927
|
// support xxx.xxx.xx
|
|
3910
|
-
resultField:
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3928
|
+
resultField: {
|
|
3929
|
+
type: String,
|
|
3930
|
+
default: ""
|
|
3931
|
+
},
|
|
3932
|
+
labelField: {
|
|
3933
|
+
type: String,
|
|
3934
|
+
default: "label"
|
|
3935
|
+
},
|
|
3936
|
+
valueField: {
|
|
3937
|
+
type: String,
|
|
3938
|
+
default: "value"
|
|
3939
|
+
},
|
|
3940
|
+
immediate: {
|
|
3941
|
+
type: Boolean,
|
|
3942
|
+
default: true
|
|
3943
|
+
},
|
|
3944
|
+
alwaysLoad: {
|
|
3945
|
+
type: Boolean,
|
|
3946
|
+
default: false
|
|
3947
|
+
}
|
|
3915
3948
|
},
|
|
3916
3949
|
emits: ["options-change", "change", "update:value"],
|
|
3917
3950
|
setup(props2, { emit }) {
|
|
@@ -4067,7 +4100,10 @@ const _sfc_main$1i = defineComponent({
|
|
|
4067
4100
|
},
|
|
4068
4101
|
params: { type: Object },
|
|
4069
4102
|
immediate: { type: Boolean, default: true },
|
|
4070
|
-
resultField:
|
|
4103
|
+
resultField: {
|
|
4104
|
+
type: String,
|
|
4105
|
+
default: ""
|
|
4106
|
+
},
|
|
4071
4107
|
afterFetch: { type: Function }
|
|
4072
4108
|
},
|
|
4073
4109
|
emits: ["options-change", "change"],
|
|
@@ -4159,7 +4195,10 @@ const _sfc_main$1h = defineComponent({
|
|
|
4159
4195
|
},
|
|
4160
4196
|
params: { type: Object },
|
|
4161
4197
|
immediate: { type: Boolean, default: true },
|
|
4162
|
-
resultField:
|
|
4198
|
+
resultField: {
|
|
4199
|
+
type: String,
|
|
4200
|
+
default: ""
|
|
4201
|
+
}
|
|
4163
4202
|
},
|
|
4164
4203
|
emits: ["options-change", "change"],
|
|
4165
4204
|
setup(props2, { attrs, emit }) {
|
|
@@ -4272,13 +4311,33 @@ const _sfc_main$1g = defineComponent({
|
|
|
4272
4311
|
type: Function,
|
|
4273
4312
|
default: null
|
|
4274
4313
|
},
|
|
4275
|
-
numberToString:
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4314
|
+
numberToString: {
|
|
4315
|
+
type: Boolean
|
|
4316
|
+
},
|
|
4317
|
+
resultField: {
|
|
4318
|
+
type: String,
|
|
4319
|
+
default: ""
|
|
4320
|
+
},
|
|
4321
|
+
labelField: {
|
|
4322
|
+
type: String,
|
|
4323
|
+
default: "label"
|
|
4324
|
+
},
|
|
4325
|
+
valueField: {
|
|
4326
|
+
type: String,
|
|
4327
|
+
default: "value"
|
|
4328
|
+
},
|
|
4329
|
+
childrenField: {
|
|
4330
|
+
type: String,
|
|
4331
|
+
default: "children"
|
|
4332
|
+
},
|
|
4333
|
+
asyncFetchParamKey: {
|
|
4334
|
+
type: String,
|
|
4335
|
+
default: "parentCode"
|
|
4336
|
+
},
|
|
4337
|
+
immediate: {
|
|
4338
|
+
type: Boolean,
|
|
4339
|
+
default: true
|
|
4340
|
+
},
|
|
4282
4341
|
// init fetch params
|
|
4283
4342
|
initFetchParams: {
|
|
4284
4343
|
type: Object,
|
|
@@ -4460,12 +4519,26 @@ const _sfc_main$1f = defineComponent({
|
|
|
4460
4519
|
},
|
|
4461
4520
|
params: { type: Object },
|
|
4462
4521
|
dataSource: { type: Array },
|
|
4463
|
-
immediate:
|
|
4464
|
-
|
|
4522
|
+
immediate: {
|
|
4523
|
+
type: Boolean,
|
|
4524
|
+
default: true
|
|
4525
|
+
},
|
|
4526
|
+
alwaysLoad: {
|
|
4527
|
+
type: Boolean
|
|
4528
|
+
},
|
|
4465
4529
|
afterFetch: { type: Function },
|
|
4466
|
-
resultField:
|
|
4467
|
-
|
|
4468
|
-
|
|
4530
|
+
resultField: {
|
|
4531
|
+
type: String,
|
|
4532
|
+
default: ""
|
|
4533
|
+
},
|
|
4534
|
+
labelField: {
|
|
4535
|
+
type: String,
|
|
4536
|
+
default: "title"
|
|
4537
|
+
},
|
|
4538
|
+
valueField: {
|
|
4539
|
+
type: String,
|
|
4540
|
+
default: "key"
|
|
4541
|
+
},
|
|
4469
4542
|
showSearch: { type: Boolean, default: false },
|
|
4470
4543
|
disabled: { type: Boolean, default: false },
|
|
4471
4544
|
filterOption: {
|
|
@@ -4570,9 +4643,16 @@ const _sfc_main$1e = defineComponent({
|
|
|
4570
4643
|
name: "StrengthMeter",
|
|
4571
4644
|
components: { InputPassword: Input.Password },
|
|
4572
4645
|
props: {
|
|
4573
|
-
value:
|
|
4574
|
-
|
|
4575
|
-
|
|
4646
|
+
value: {
|
|
4647
|
+
type: String
|
|
4648
|
+
},
|
|
4649
|
+
showInput: {
|
|
4650
|
+
type: Boolean,
|
|
4651
|
+
default: true
|
|
4652
|
+
},
|
|
4653
|
+
disabled: {
|
|
4654
|
+
type: Boolean
|
|
4655
|
+
}
|
|
4576
4656
|
},
|
|
4577
4657
|
emits: ["score-change", "change"],
|
|
4578
4658
|
setup(props2, { emit }) {
|
|
@@ -4607,7 +4687,7 @@ const _sfc_main$1e = defineComponent({
|
|
|
4607
4687
|
};
|
|
4608
4688
|
}
|
|
4609
4689
|
});
|
|
4610
|
-
const
|
|
4690
|
+
const StrengthMeter_vue_vue_type_style_index_0_scoped_c8d77eaa_lang = "";
|
|
4611
4691
|
const _hoisted_1$w = ["data-score"];
|
|
4612
4692
|
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4613
4693
|
const _component_InputPassword = resolveComponent("InputPassword");
|
|
@@ -4639,7 +4719,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4639
4719
|
], 2)
|
|
4640
4720
|
], 2);
|
|
4641
4721
|
}
|
|
4642
|
-
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$L], ["__scopeId", "data-v-
|
|
4722
|
+
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$L], ["__scopeId", "data-v-c8d77eaa"]]);
|
|
4643
4723
|
const _sfc_main$1d = defineComponent({
|
|
4644
4724
|
name: "SvgIcon",
|
|
4645
4725
|
props: {
|
|
@@ -4693,16 +4773,26 @@ const _sfc_main$1c = defineComponent({
|
|
|
4693
4773
|
components: { SvgIcon },
|
|
4694
4774
|
props: {
|
|
4695
4775
|
// icon name
|
|
4696
|
-
icon:
|
|
4776
|
+
icon: {
|
|
4777
|
+
type: String
|
|
4778
|
+
},
|
|
4697
4779
|
// icon color
|
|
4698
|
-
color:
|
|
4780
|
+
color: {
|
|
4781
|
+
type: String
|
|
4782
|
+
},
|
|
4699
4783
|
// icon size
|
|
4700
4784
|
size: {
|
|
4701
4785
|
type: [String, Number],
|
|
4702
4786
|
default: 16
|
|
4703
4787
|
},
|
|
4704
|
-
spin:
|
|
4705
|
-
|
|
4788
|
+
spin: {
|
|
4789
|
+
type: Boolean,
|
|
4790
|
+
default: false
|
|
4791
|
+
},
|
|
4792
|
+
prefix: {
|
|
4793
|
+
type: String,
|
|
4794
|
+
default: ""
|
|
4795
|
+
}
|
|
4706
4796
|
},
|
|
4707
4797
|
setup(props2) {
|
|
4708
4798
|
const elRef = ref(null);
|
|
@@ -4710,7 +4800,12 @@ const _sfc_main$1c = defineComponent({
|
|
|
4710
4800
|
var _a2;
|
|
4711
4801
|
return (_a2 = props2.icon) == null ? void 0 : _a2.endsWith(SVG_END_WITH_FLAG);
|
|
4712
4802
|
});
|
|
4713
|
-
const getSvgIcon = computed(
|
|
4803
|
+
const getSvgIcon = computed(
|
|
4804
|
+
() => {
|
|
4805
|
+
var _a2;
|
|
4806
|
+
return ((_a2 = props2.icon) == null ? void 0 : _a2.replace(SVG_END_WITH_FLAG, "")) || "";
|
|
4807
|
+
}
|
|
4808
|
+
);
|
|
4714
4809
|
const getIconRef = computed(
|
|
4715
4810
|
() => `${props2.prefix ? props2.prefix + ":" : ""}${props2.icon}`
|
|
4716
4811
|
);
|
|
@@ -7547,8 +7642,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
7547
7642
|
};
|
|
7548
7643
|
}
|
|
7549
7644
|
});
|
|
7550
|
-
const
|
|
7551
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-
|
|
7645
|
+
const Table_vue_vue_type_style_index_0_scoped_c82f1009_lang = "";
|
|
7646
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-c82f1009"]]);
|
|
7552
7647
|
const componentMap$2 = /* @__PURE__ */ new Map();
|
|
7553
7648
|
componentMap$2.set("Input", Input);
|
|
7554
7649
|
componentMap$2.set("InputGroup", Input.Group);
|
|
@@ -8208,14 +8303,25 @@ const _sfc_main$X = defineComponent({
|
|
|
8208
8303
|
FormItem: Form.Item,
|
|
8209
8304
|
BasicButton: _sfc_main$Z,
|
|
8210
8305
|
[Col.name]: Col,
|
|
8211
|
-
Button: Button$1
|
|
8212
|
-
SearchOutlined: SearchOutlined$1
|
|
8306
|
+
Button: Button$1
|
|
8213
8307
|
},
|
|
8214
8308
|
props: {
|
|
8215
|
-
showActionButtonGroup:
|
|
8216
|
-
|
|
8217
|
-
|
|
8218
|
-
|
|
8309
|
+
showActionButtonGroup: {
|
|
8310
|
+
type: Boolean,
|
|
8311
|
+
default: true
|
|
8312
|
+
},
|
|
8313
|
+
showResetButton: {
|
|
8314
|
+
type: Boolean,
|
|
8315
|
+
default: true
|
|
8316
|
+
},
|
|
8317
|
+
showSubmitButton: {
|
|
8318
|
+
type: Boolean,
|
|
8319
|
+
default: true
|
|
8320
|
+
},
|
|
8321
|
+
showAdvancedButton: {
|
|
8322
|
+
type: Boolean,
|
|
8323
|
+
default: true
|
|
8324
|
+
},
|
|
8219
8325
|
resetButtonOptions: {
|
|
8220
8326
|
type: Object,
|
|
8221
8327
|
default: () => ({})
|
|
@@ -8228,9 +8334,16 @@ const _sfc_main$X = defineComponent({
|
|
|
8228
8334
|
type: Object,
|
|
8229
8335
|
default: () => ({})
|
|
8230
8336
|
},
|
|
8231
|
-
actionSpan:
|
|
8232
|
-
|
|
8233
|
-
|
|
8337
|
+
actionSpan: {
|
|
8338
|
+
type: Number,
|
|
8339
|
+
default: 6
|
|
8340
|
+
},
|
|
8341
|
+
isAdvanced: {
|
|
8342
|
+
type: Boolean
|
|
8343
|
+
},
|
|
8344
|
+
hideAdvanceBtn: {
|
|
8345
|
+
type: Boolean
|
|
8346
|
+
}
|
|
8234
8347
|
},
|
|
8235
8348
|
// emits: ['toggle-advanced'],
|
|
8236
8349
|
setup(props2) {
|
|
@@ -8429,14 +8542,14 @@ function useFormValues({
|
|
|
8429
8542
|
return { handleFormValues, initDefault };
|
|
8430
8543
|
}
|
|
8431
8544
|
const BASIC_COL_LEN = 24;
|
|
8432
|
-
|
|
8545
|
+
const useAdvanced = ({
|
|
8433
8546
|
advanceState,
|
|
8434
8547
|
emit,
|
|
8435
8548
|
getProps,
|
|
8436
8549
|
getSchema,
|
|
8437
8550
|
formModel,
|
|
8438
8551
|
defaultValueRef
|
|
8439
|
-
}) {
|
|
8552
|
+
}) => {
|
|
8440
8553
|
const vm = getCurrentInstance();
|
|
8441
8554
|
const { realWidthRef, screenEnum, screenRef } = useBreakpoint();
|
|
8442
8555
|
const getEmptySpan = computed(() => {
|
|
@@ -8552,7 +8665,7 @@ function useAdvanced({
|
|
|
8552
8665
|
advanceState.isAdvanced = !advanceState.isAdvanced;
|
|
8553
8666
|
}
|
|
8554
8667
|
return { handleToggleAdvanced, fieldsIsAdvancedMap };
|
|
8555
|
-
}
|
|
8668
|
+
};
|
|
8556
8669
|
function useFormEvents({
|
|
8557
8670
|
emit,
|
|
8558
8671
|
getProps,
|
|
@@ -8625,7 +8738,7 @@ function useFormEvents({
|
|
|
8625
8738
|
});
|
|
8626
8739
|
}
|
|
8627
8740
|
});
|
|
8628
|
-
validateFields(validKeys).catch((
|
|
8741
|
+
validateFields(validKeys).catch(() => {
|
|
8629
8742
|
});
|
|
8630
8743
|
}
|
|
8631
8744
|
async function removeSchemaByField(fields) {
|
|
@@ -10148,10 +10261,12 @@ const basicProps$4 = {
|
|
|
10148
10261
|
type: Array,
|
|
10149
10262
|
default: () => []
|
|
10150
10263
|
},
|
|
10151
|
-
compact:
|
|
10264
|
+
compact: {
|
|
10265
|
+
type: Boolean
|
|
10266
|
+
},
|
|
10152
10267
|
// 表单配置规则
|
|
10153
10268
|
schemas: {
|
|
10154
|
-
type:
|
|
10269
|
+
type: Array,
|
|
10155
10270
|
default: () => []
|
|
10156
10271
|
},
|
|
10157
10272
|
mergeDynamicData: {
|
|
@@ -10164,21 +10279,38 @@ const basicProps$4 = {
|
|
|
10164
10279
|
baseColProps: {
|
|
10165
10280
|
type: Object
|
|
10166
10281
|
},
|
|
10167
|
-
autoSetPlaceHolder:
|
|
10282
|
+
autoSetPlaceHolder: {
|
|
10283
|
+
type: Boolean,
|
|
10284
|
+
default: true
|
|
10285
|
+
},
|
|
10168
10286
|
// 在INPUT组件上单击回车时,是否自动提交
|
|
10169
|
-
autoSubmitOnEnter:
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
|
|
10173
|
-
|
|
10174
|
-
|
|
10287
|
+
autoSubmitOnEnter: {
|
|
10288
|
+
type: Boolean,
|
|
10289
|
+
default: false
|
|
10290
|
+
},
|
|
10291
|
+
submitOnReset: {
|
|
10292
|
+
type: Boolean
|
|
10293
|
+
},
|
|
10294
|
+
submitOnChange: {
|
|
10295
|
+
type: Boolean
|
|
10296
|
+
},
|
|
10297
|
+
size: {
|
|
10298
|
+
type: String,
|
|
10299
|
+
default: "default"
|
|
10300
|
+
},
|
|
10301
|
+
// // 禁用表单
|
|
10302
|
+
disabled: {
|
|
10303
|
+
type: Boolean
|
|
10304
|
+
},
|
|
10175
10305
|
emptySpan: {
|
|
10176
10306
|
type: [Number, Object],
|
|
10177
10307
|
default: 0
|
|
10178
10308
|
},
|
|
10179
|
-
// 是否显示收起展开按钮
|
|
10180
|
-
showAdvancedButton:
|
|
10181
|
-
|
|
10309
|
+
// // 是否显示收起展开按钮
|
|
10310
|
+
showAdvancedButton: {
|
|
10311
|
+
type: Boolean
|
|
10312
|
+
},
|
|
10313
|
+
// // 转化时间
|
|
10182
10314
|
transformDateFunc: {
|
|
10183
10315
|
type: Function,
|
|
10184
10316
|
default: (date) => {
|
|
@@ -10186,39 +10318,84 @@ const basicProps$4 = {
|
|
|
10186
10318
|
return ((_a2 = date == null ? void 0 : date.format) == null ? void 0 : _a2.call(date, "YYYY-MM-DD HH:mm:ss")) ?? date;
|
|
10187
10319
|
}
|
|
10188
10320
|
},
|
|
10189
|
-
rulesMessageJoinLabel:
|
|
10190
|
-
|
|
10191
|
-
|
|
10192
|
-
|
|
10193
|
-
|
|
10194
|
-
|
|
10195
|
-
|
|
10196
|
-
|
|
10197
|
-
|
|
10198
|
-
//
|
|
10199
|
-
|
|
10321
|
+
rulesMessageJoinLabel: {
|
|
10322
|
+
type: Boolean,
|
|
10323
|
+
default: true
|
|
10324
|
+
},
|
|
10325
|
+
// // 超过3行自动折叠
|
|
10326
|
+
autoAdvancedLine: {
|
|
10327
|
+
type: Number,
|
|
10328
|
+
default: 3
|
|
10329
|
+
},
|
|
10330
|
+
// // 不受折叠影响的行数
|
|
10331
|
+
alwaysShowLines: {
|
|
10332
|
+
type: Number,
|
|
10333
|
+
default: 1
|
|
10334
|
+
},
|
|
10335
|
+
// // 是否显示操作按钮
|
|
10336
|
+
showActionButtonGroup: {
|
|
10337
|
+
type: Boolean,
|
|
10338
|
+
default: true
|
|
10339
|
+
},
|
|
10340
|
+
// // 操作列Col配置
|
|
10341
|
+
actionColOptions: {
|
|
10342
|
+
type: Object
|
|
10343
|
+
},
|
|
10344
|
+
// // 显示重置按钮
|
|
10345
|
+
showResetButton: {
|
|
10346
|
+
type: Boolean,
|
|
10347
|
+
default: true
|
|
10348
|
+
},
|
|
10200
10349
|
// 是否聚焦第一个输入框,只在第一个表单项为input的时候作用
|
|
10201
|
-
autoFocusFirstItem:
|
|
10350
|
+
autoFocusFirstItem: {
|
|
10351
|
+
type: Boolean
|
|
10352
|
+
},
|
|
10202
10353
|
// 重置按钮配置
|
|
10203
|
-
resetButtonOptions:
|
|
10204
|
-
|
|
10205
|
-
|
|
10206
|
-
//
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
//
|
|
10212
|
-
|
|
10213
|
-
|
|
10214
|
-
|
|
10354
|
+
resetButtonOptions: {
|
|
10355
|
+
type: Object
|
|
10356
|
+
},
|
|
10357
|
+
// // 显示确认按钮
|
|
10358
|
+
showSubmitButton: {
|
|
10359
|
+
type: Boolean,
|
|
10360
|
+
default: true
|
|
10361
|
+
},
|
|
10362
|
+
// // 确认按钮配置
|
|
10363
|
+
submitButtonOptions: {
|
|
10364
|
+
type: Object
|
|
10365
|
+
},
|
|
10366
|
+
// // 自定义重置函数
|
|
10367
|
+
resetFunc: {
|
|
10368
|
+
type: Function
|
|
10369
|
+
},
|
|
10370
|
+
submitFunc: {
|
|
10371
|
+
type: Function
|
|
10372
|
+
},
|
|
10373
|
+
// // 以下为默认props
|
|
10374
|
+
hideRequiredMark: {
|
|
10375
|
+
type: Boolean
|
|
10376
|
+
},
|
|
10377
|
+
labelCol: {
|
|
10378
|
+
type: Object
|
|
10379
|
+
},
|
|
10380
|
+
layout: {
|
|
10381
|
+
type: String,
|
|
10382
|
+
default: "horizontal"
|
|
10383
|
+
},
|
|
10215
10384
|
tableAction: {
|
|
10216
10385
|
type: Object
|
|
10217
10386
|
},
|
|
10218
|
-
wrapperCol:
|
|
10219
|
-
|
|
10220
|
-
|
|
10221
|
-
|
|
10387
|
+
wrapperCol: {
|
|
10388
|
+
type: Object
|
|
10389
|
+
},
|
|
10390
|
+
colon: {
|
|
10391
|
+
type: Boolean
|
|
10392
|
+
},
|
|
10393
|
+
labelAlign: {
|
|
10394
|
+
type: String
|
|
10395
|
+
},
|
|
10396
|
+
rowProps: {
|
|
10397
|
+
type: Object
|
|
10398
|
+
}
|
|
10222
10399
|
};
|
|
10223
10400
|
const _sfc_main$O = defineComponent({
|
|
10224
10401
|
name: "BasicForm",
|
|
@@ -10247,7 +10424,10 @@ const _sfc_main$O = defineComponent({
|
|
|
10247
10424
|
const formElRef = ref(null);
|
|
10248
10425
|
const prefixCls2 = "shy-basic-form";
|
|
10249
10426
|
const getProps = computed(() => {
|
|
10250
|
-
return {
|
|
10427
|
+
return {
|
|
10428
|
+
...props2,
|
|
10429
|
+
...unref(propsRef)
|
|
10430
|
+
};
|
|
10251
10431
|
});
|
|
10252
10432
|
const getFormClass = computed(() => {
|
|
10253
10433
|
return [
|
|
@@ -10430,7 +10610,7 @@ const _sfc_main$O = defineComponent({
|
|
|
10430
10610
|
formModel[key2] = value;
|
|
10431
10611
|
const { validateTrigger } = unref(getBindValue);
|
|
10432
10612
|
if (!validateTrigger || validateTrigger === "change") {
|
|
10433
|
-
validateFields([key2]).catch((
|
|
10613
|
+
validateFields([key2]).catch(() => {
|
|
10434
10614
|
});
|
|
10435
10615
|
}
|
|
10436
10616
|
emit("field-value-change", key2, value);
|
|
@@ -11891,18 +12071,36 @@ const _sfc_main$I = defineComponent({
|
|
|
11891
12071
|
components: { PageFooter, PageHeader },
|
|
11892
12072
|
inheritAttrs: false,
|
|
11893
12073
|
props: {
|
|
11894
|
-
title:
|
|
11895
|
-
|
|
11896
|
-
|
|
11897
|
-
|
|
12074
|
+
title: {
|
|
12075
|
+
type: String
|
|
12076
|
+
},
|
|
12077
|
+
dense: {
|
|
12078
|
+
type: Boolean
|
|
12079
|
+
},
|
|
12080
|
+
ghost: {
|
|
12081
|
+
type: Boolean
|
|
12082
|
+
},
|
|
12083
|
+
content: {
|
|
12084
|
+
type: String
|
|
12085
|
+
},
|
|
11898
12086
|
contentStyle: {
|
|
11899
12087
|
type: Object
|
|
11900
12088
|
},
|
|
11901
|
-
contentBackground:
|
|
11902
|
-
|
|
11903
|
-
|
|
11904
|
-
|
|
11905
|
-
|
|
12089
|
+
contentBackground: {
|
|
12090
|
+
type: Boolean
|
|
12091
|
+
},
|
|
12092
|
+
contentFullHeight: {
|
|
12093
|
+
type: Boolean
|
|
12094
|
+
},
|
|
12095
|
+
contentClass: {
|
|
12096
|
+
type: String
|
|
12097
|
+
},
|
|
12098
|
+
fixedHeight: {
|
|
12099
|
+
type: Boolean
|
|
12100
|
+
},
|
|
12101
|
+
upwardSpace: {
|
|
12102
|
+
type: Object
|
|
12103
|
+
}
|
|
11906
12104
|
},
|
|
11907
12105
|
setup(props2, { slots, attrs }) {
|
|
11908
12106
|
const wrapperRef = ref(null);
|
|
@@ -12430,7 +12628,13 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
12430
12628
|
type: String,
|
|
12431
12629
|
default: ""
|
|
12432
12630
|
},
|
|
12433
|
-
index:
|
|
12631
|
+
index: {
|
|
12632
|
+
type: Number,
|
|
12633
|
+
default: 0
|
|
12634
|
+
},
|
|
12635
|
+
tableAction: {
|
|
12636
|
+
type: Object
|
|
12637
|
+
}
|
|
12434
12638
|
},
|
|
12435
12639
|
setup(props2) {
|
|
12436
12640
|
const table2 = useTableContext();
|
|
@@ -12468,14 +12672,16 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
12468
12672
|
const {
|
|
12469
12673
|
record,
|
|
12470
12674
|
column,
|
|
12471
|
-
index: index2
|
|
12675
|
+
index: index2,
|
|
12676
|
+
tableAction
|
|
12472
12677
|
} = props2;
|
|
12473
12678
|
if (isFunction$4(compProps)) {
|
|
12474
12679
|
compProps = compProps({
|
|
12475
12680
|
text: val,
|
|
12476
12681
|
record,
|
|
12477
12682
|
column,
|
|
12478
|
-
index: index2
|
|
12683
|
+
index: index2,
|
|
12684
|
+
tableAction
|
|
12479
12685
|
}) ?? {};
|
|
12480
12686
|
}
|
|
12481
12687
|
compProps.onChangeTemp = compProps.onChange;
|
|
@@ -12889,7 +13095,7 @@ const uuId = ref();
|
|
|
12889
13095
|
function isNeedRefresh() {
|
|
12890
13096
|
uuId.value = buildUUID();
|
|
12891
13097
|
}
|
|
12892
|
-
function renderEditCell(column) {
|
|
13098
|
+
function renderEditCell(column, tableAction) {
|
|
12893
13099
|
return ({ text: value, record, index: index2 }) => {
|
|
12894
13100
|
toRaw(record).onValid = async () => {
|
|
12895
13101
|
if (isArray$3(record == null ? void 0 : record.validCbs)) {
|
|
@@ -12925,6 +13131,7 @@ function renderEditCell(column) {
|
|
|
12925
13131
|
record,
|
|
12926
13132
|
column,
|
|
12927
13133
|
index: index2,
|
|
13134
|
+
tableAction,
|
|
12928
13135
|
uuId: uuId.value
|
|
12929
13136
|
});
|
|
12930
13137
|
};
|
|
@@ -13010,7 +13217,7 @@ function handleActionColumn(propsRef, columns) {
|
|
|
13010
13217
|
});
|
|
13011
13218
|
}
|
|
13012
13219
|
}
|
|
13013
|
-
function useColumns$1(propsRef, getPaginationRef) {
|
|
13220
|
+
function useColumns$1(propsRef, getPaginationRef, tableAction) {
|
|
13014
13221
|
const columnsRef = ref(unref(propsRef).columns);
|
|
13015
13222
|
let cacheColumns = unref(propsRef).columns;
|
|
13016
13223
|
const getColumnsRef = computed(() => {
|
|
@@ -13063,7 +13270,7 @@ function useColumns$1(propsRef, getPaginationRef) {
|
|
|
13063
13270
|
};
|
|
13064
13271
|
}
|
|
13065
13272
|
if ((edit || editRow) && !isDefaultAction) {
|
|
13066
|
-
column.customRender = renderEditCell(column);
|
|
13273
|
+
column.customRender = renderEditCell(column, tableAction.value);
|
|
13067
13274
|
}
|
|
13068
13275
|
if (propsRef.value.useAdvancedSearch) {
|
|
13069
13276
|
if (column.flag === "INDEX" || column.flag === "ACTION") {
|
|
@@ -15208,7 +15415,10 @@ const _sfc_main$v = defineComponent({
|
|
|
15208
15415
|
scroll: {
|
|
15209
15416
|
type: Object
|
|
15210
15417
|
},
|
|
15211
|
-
rowKey:
|
|
15418
|
+
rowKey: {
|
|
15419
|
+
type: String,
|
|
15420
|
+
default: "key"
|
|
15421
|
+
}
|
|
15212
15422
|
},
|
|
15213
15423
|
setup(props2) {
|
|
15214
15424
|
const table2 = useTableContext();
|
|
@@ -15463,7 +15673,12 @@ const useAdvancedSearch = ({ getProps, reload }) => {
|
|
|
15463
15673
|
const basicProps$3 = reactive({
|
|
15464
15674
|
clickToRowSelect: { type: Boolean, default: true },
|
|
15465
15675
|
isTreeTable: Boolean,
|
|
15466
|
-
tableSetting:
|
|
15676
|
+
tableSetting: {
|
|
15677
|
+
type: Object,
|
|
15678
|
+
default: () => {
|
|
15679
|
+
return {};
|
|
15680
|
+
}
|
|
15681
|
+
},
|
|
15467
15682
|
inset: Boolean,
|
|
15468
15683
|
sortFn: {
|
|
15469
15684
|
type: Function,
|
|
@@ -15485,7 +15700,10 @@ const basicProps$3 = reactive({
|
|
|
15485
15700
|
type: Array,
|
|
15486
15701
|
default: null
|
|
15487
15702
|
},
|
|
15488
|
-
indentSize:
|
|
15703
|
+
indentSize: {
|
|
15704
|
+
type: Number,
|
|
15705
|
+
default: 24
|
|
15706
|
+
},
|
|
15489
15707
|
canColDrag: { type: Boolean, default: true },
|
|
15490
15708
|
api: {
|
|
15491
15709
|
type: Function,
|
|
@@ -15523,11 +15741,19 @@ const basicProps$3 = reactive({
|
|
|
15523
15741
|
default: null
|
|
15524
15742
|
},
|
|
15525
15743
|
// 使用搜索表单
|
|
15526
|
-
useSearchForm:
|
|
15744
|
+
useSearchForm: {
|
|
15745
|
+
type: Boolean
|
|
15746
|
+
},
|
|
15527
15747
|
//使用高级搜索
|
|
15528
|
-
useAdvancedSearch:
|
|
15748
|
+
useAdvancedSearch: {
|
|
15749
|
+
type: Boolean,
|
|
15750
|
+
default: false
|
|
15751
|
+
},
|
|
15529
15752
|
// 使用表格内边距
|
|
15530
|
-
useTableWrapper:
|
|
15753
|
+
useTableWrapper: {
|
|
15754
|
+
type: Boolean,
|
|
15755
|
+
default: true
|
|
15756
|
+
},
|
|
15531
15757
|
// 表单配置
|
|
15532
15758
|
formConfig: {
|
|
15533
15759
|
type: Object,
|
|
@@ -15549,8 +15775,13 @@ const basicProps$3 = reactive({
|
|
|
15549
15775
|
ellipsis: { type: Boolean, default: true },
|
|
15550
15776
|
isCanResizeParent: { type: Boolean, default: false },
|
|
15551
15777
|
canResize: { type: Boolean, default: true },
|
|
15552
|
-
clearSelectOnPageChange:
|
|
15553
|
-
|
|
15778
|
+
clearSelectOnPageChange: {
|
|
15779
|
+
type: Boolean
|
|
15780
|
+
},
|
|
15781
|
+
resizeHeightOffset: {
|
|
15782
|
+
type: Number,
|
|
15783
|
+
default: 0
|
|
15784
|
+
},
|
|
15554
15785
|
rowSelection: {
|
|
15555
15786
|
type: Object,
|
|
15556
15787
|
default: null
|
|
@@ -15562,7 +15793,9 @@ const basicProps$3 = reactive({
|
|
|
15562
15793
|
titleHelpMessage: {
|
|
15563
15794
|
type: [String, Array]
|
|
15564
15795
|
},
|
|
15565
|
-
maxHeight:
|
|
15796
|
+
maxHeight: {
|
|
15797
|
+
type: Number
|
|
15798
|
+
},
|
|
15566
15799
|
dataSource: {
|
|
15567
15800
|
type: Array,
|
|
15568
15801
|
default: null
|
|
@@ -15571,12 +15804,17 @@ const basicProps$3 = reactive({
|
|
|
15571
15804
|
type: [String, Function],
|
|
15572
15805
|
default: ""
|
|
15573
15806
|
},
|
|
15574
|
-
bordered:
|
|
15807
|
+
bordered: {
|
|
15808
|
+
type: Boolean,
|
|
15809
|
+
default: false
|
|
15810
|
+
},
|
|
15575
15811
|
pagination: {
|
|
15576
15812
|
type: [Object, Boolean],
|
|
15577
15813
|
default: true
|
|
15578
15814
|
},
|
|
15579
|
-
loading:
|
|
15815
|
+
loading: {
|
|
15816
|
+
type: Boolean
|
|
15817
|
+
},
|
|
15580
15818
|
rowClassName: {
|
|
15581
15819
|
type: Function
|
|
15582
15820
|
},
|
|
@@ -15957,6 +16195,7 @@ const _sfc_main$s = defineComponent({
|
|
|
15957
16195
|
const { onChange } = unref(getProps);
|
|
15958
16196
|
onChange && isFunction$4(onChange) && onChange.call(void 0, ...args);
|
|
15959
16197
|
}
|
|
16198
|
+
const tableActionRef = computed(() => tableAction);
|
|
15960
16199
|
const {
|
|
15961
16200
|
getViewColumns,
|
|
15962
16201
|
getColumns,
|
|
@@ -15964,7 +16203,7 @@ const _sfc_main$s = defineComponent({
|
|
|
15964
16203
|
setColumns,
|
|
15965
16204
|
getColumnsRef,
|
|
15966
16205
|
getCacheColumns
|
|
15967
|
-
} = useColumns$1(getProps, getPaginationInfo);
|
|
16206
|
+
} = useColumns$1(getProps, getPaginationInfo, tableActionRef);
|
|
15968
16207
|
const { getScrollRef, redoHeight } = useTableScroll(
|
|
15969
16208
|
getProps,
|
|
15970
16209
|
tableElRef,
|
|
@@ -16381,9 +16620,17 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16381
16620
|
type: Array,
|
|
16382
16621
|
default: null
|
|
16383
16622
|
},
|
|
16384
|
-
divider:
|
|
16385
|
-
|
|
16386
|
-
|
|
16623
|
+
divider: {
|
|
16624
|
+
type: Boolean,
|
|
16625
|
+
default: true
|
|
16626
|
+
},
|
|
16627
|
+
outside: {
|
|
16628
|
+
type: Boolean
|
|
16629
|
+
},
|
|
16630
|
+
stopButtonPropagation: {
|
|
16631
|
+
type: Boolean,
|
|
16632
|
+
default: false
|
|
16633
|
+
},
|
|
16387
16634
|
showCount: {
|
|
16388
16635
|
type: Number,
|
|
16389
16636
|
default: () => 3
|
|
@@ -16413,7 +16660,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16413
16660
|
const getActions = computed(() => {
|
|
16414
16661
|
const cacheActions = [];
|
|
16415
16662
|
return (toRaw(props2.actions) || []).filter((action, _) => {
|
|
16416
|
-
if (isIfShow(action) && cacheActions.length < props2.showCount) {
|
|
16663
|
+
if (isIfShow(action) && cacheActions.length < props2.showCount - (props2.actions.length !== props2.showCount ? 1 : 0)) {
|
|
16417
16664
|
cacheActions.push(action);
|
|
16418
16665
|
return true;
|
|
16419
16666
|
} else
|
|
@@ -16435,7 +16682,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16435
16682
|
const getDropdownList = computed(() => {
|
|
16436
16683
|
const cacheActions = [];
|
|
16437
16684
|
const list = (toRaw(props2.actions) || []).filter((action, index2) => {
|
|
16438
|
-
if (isIfShow(action) && cacheActions.length < props2.showCount) {
|
|
16685
|
+
if (isIfShow(action) && cacheActions.length < props2.showCount - (props2.actions.length !== props2.showCount ? 1 : 0)) {
|
|
16439
16686
|
cacheActions.push(action);
|
|
16440
16687
|
return false;
|
|
16441
16688
|
} else if (isIfShow(action))
|
|
@@ -16553,20 +16800,35 @@ const _sfc_main$p = defineComponent({
|
|
|
16553
16800
|
name: "TableImage",
|
|
16554
16801
|
components: { AImage: Image, PreviewGroup: Image.PreviewGroup, Badge },
|
|
16555
16802
|
props: {
|
|
16556
|
-
imgList:
|
|
16557
|
-
size:
|
|
16803
|
+
imgList: { type: Array },
|
|
16804
|
+
size: {
|
|
16805
|
+
type: Number,
|
|
16806
|
+
default: 24
|
|
16807
|
+
},
|
|
16558
16808
|
// 是否简单显示(只显示第一张图片)
|
|
16559
|
-
simpleShow:
|
|
16809
|
+
simpleShow: {
|
|
16810
|
+
type: Boolean
|
|
16811
|
+
},
|
|
16560
16812
|
// 简单模式下是否显示图片数量的badge
|
|
16561
|
-
showBadge:
|
|
16813
|
+
showBadge: {
|
|
16814
|
+
type: Boolean,
|
|
16815
|
+
default: true
|
|
16816
|
+
},
|
|
16562
16817
|
// 图片间距
|
|
16563
|
-
margin:
|
|
16818
|
+
margin: {
|
|
16819
|
+
type: Number,
|
|
16820
|
+
default: 4
|
|
16821
|
+
},
|
|
16564
16822
|
// src前缀,将会附加在imgList中每一项之前
|
|
16565
|
-
srcPrefix:
|
|
16823
|
+
srcPrefix: {
|
|
16824
|
+
type: String,
|
|
16825
|
+
default: ""
|
|
16826
|
+
},
|
|
16566
16827
|
// fallback,加载失败显示图像占位符。
|
|
16567
|
-
fallback:
|
|
16568
|
-
|
|
16569
|
-
|
|
16828
|
+
fallback: {
|
|
16829
|
+
type: String,
|
|
16830
|
+
default: "data:image/png;base64,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"
|
|
16831
|
+
}
|
|
16570
16832
|
},
|
|
16571
16833
|
setup(props2) {
|
|
16572
16834
|
const getWrapStyle = computed(() => {
|
|
@@ -16635,12 +16897,15 @@ const _sfc_main$o = defineComponent({
|
|
|
16635
16897
|
name: "TableDict",
|
|
16636
16898
|
components: { Tag, Icon: Icon2 },
|
|
16637
16899
|
props: {
|
|
16638
|
-
data:
|
|
16900
|
+
data: {
|
|
16901
|
+
type: Object,
|
|
16902
|
+
required: true
|
|
16903
|
+
}
|
|
16639
16904
|
},
|
|
16640
16905
|
setup() {
|
|
16641
16906
|
}
|
|
16642
16907
|
});
|
|
16643
|
-
const
|
|
16908
|
+
const TableDict_vue_vue_type_style_index_0_scoped_21146269_lang = "";
|
|
16644
16909
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16645
16910
|
var _a2;
|
|
16646
16911
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -16669,7 +16934,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16669
16934
|
]), 1032, ["color"])
|
|
16670
16935
|
]);
|
|
16671
16936
|
}
|
|
16672
|
-
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$f], ["__scopeId", "data-v-
|
|
16937
|
+
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$f], ["__scopeId", "data-v-21146269"]]);
|
|
16673
16938
|
const index$1 = "";
|
|
16674
16939
|
var RoleEnum = /* @__PURE__ */ ((RoleEnum2) => {
|
|
16675
16940
|
RoleEnum2["SUPER"] = "super";
|
|
@@ -17368,9 +17633,15 @@ const _sfc_main$j = defineComponent({
|
|
|
17368
17633
|
name: "BasicDrawerHeader",
|
|
17369
17634
|
components: { BasicTitle: BasicTitle$1, ArrowLeftOutlined: ArrowLeftOutlined$1 },
|
|
17370
17635
|
props: {
|
|
17371
|
-
isDetail:
|
|
17372
|
-
|
|
17373
|
-
|
|
17636
|
+
isDetail: {
|
|
17637
|
+
type: Boolean
|
|
17638
|
+
},
|
|
17639
|
+
showDetailBack: {
|
|
17640
|
+
type: Boolean
|
|
17641
|
+
},
|
|
17642
|
+
title: {
|
|
17643
|
+
type: String
|
|
17644
|
+
}
|
|
17374
17645
|
},
|
|
17375
17646
|
emits: ["close"],
|
|
17376
17647
|
setup(_, { emit }) {
|