yc-pro-components 0.0.24 → 0.0.26
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/components/check-card/index.d.ts +76 -76
- package/es/components/check-card/src/index.vue.d.ts +14 -14
- package/es/components/check-card-group/index.d.ts +57 -57
- package/es/components/check-card-group/src/index.vue.d.ts +20 -20
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/descriptions/index.d.ts +39 -39
- package/es/components/descriptions/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +45 -45
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +47 -47
- package/es/components/dialog-form/src/index.vue.d.ts +11 -11
- package/es/components/display-item/index.d.ts +24 -24
- package/es/components/display-item/src/index.vue.d.ts +24 -24
- package/es/components/drawer-form/index.d.ts +31 -31
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +157 -138
- package/es/components/form/src/form-content.vue.d.ts +33 -29
- package/es/components/form/src/form-content.vue2.mjs +106 -96
- package/es/components/form/src/index.vue.d.ts +28 -25
- package/es/components/form/src/index.vue2.mjs +5 -2
- package/es/components/form/src/type.d.ts +4 -0
- package/es/components/form-item/index.d.ts +150 -150
- package/es/components/form-item/src/form-item.mjs +2 -1
- package/es/components/form-item/src/index.vue.d.ts +21 -21
- package/es/components/form-item/src/index.vue2.mjs +22 -18
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +16 -16
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +1175 -1040
- package/es/components/page/src/index.vue.d.ts +383 -338
- package/es/components/pagination/index.d.ts +38 -38
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/radio/index.d.ts +34 -34
- package/es/components/radio/src/index.vue.d.ts +26 -26
- package/es/components/render/index.d.ts +17 -17
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +494 -430
- package/es/components/search/src/index.vue.d.ts +143 -125
- package/es/components/search/src/index.vue2.mjs +3 -1
- package/es/components/search/src/type.d.ts +7 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +19 -19
- package/es/components/steps-form/src/index.vue.d.ts +1 -1
- package/es/components/table/index.d.ts +38 -38
- package/es/components/table/src/index.vue.d.ts +7 -7
- package/es/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/table/src/table-title-bar.vue2.mjs +1 -0
- package/es/components/utils/index.d.ts +15 -15
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-dialog/src/index.vue2.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue2.mjs +1 -1
- package/es/components/yc-drawer/store.d.ts +6 -6
- package/es/components/yc-more-actions/index.d.ts +6 -6
- package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/index.vue.d.ts +826 -736
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +2 -15
- package/es/components/yc-plus-tree/src/index.vue.d.ts +6 -1
- package/es/components/yc-plus-tree/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-tree/src/index.vue2.mjs +14 -6
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +3 -3
- package/index.css +54 -54
- package/index.js +160 -144
- package/index.min.css +3 -3
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +160 -144
- package/lib/components/check-card/index.d.ts +76 -76
- package/lib/components/check-card/src/index.vue.d.ts +14 -14
- package/lib/components/check-card-group/index.d.ts +57 -57
- package/lib/components/check-card-group/src/index.vue.d.ts +20 -20
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/descriptions/index.d.ts +39 -39
- package/lib/components/descriptions/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +45 -45
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +47 -47
- package/lib/components/dialog-form/src/index.vue.d.ts +11 -11
- package/lib/components/display-item/index.d.ts +24 -24
- package/lib/components/display-item/src/index.vue.d.ts +24 -24
- package/lib/components/drawer-form/index.d.ts +31 -31
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +157 -138
- package/lib/components/form/src/form-content.vue.d.ts +33 -29
- package/lib/components/form/src/form-content.vue2.js +105 -95
- package/lib/components/form/src/index.vue.d.ts +28 -25
- package/lib/components/form/src/index.vue2.js +5 -2
- package/lib/components/form/src/type.d.ts +4 -0
- package/lib/components/form-item/index.d.ts +150 -150
- package/lib/components/form-item/src/form-item.js +2 -1
- package/lib/components/form-item/src/index.vue.d.ts +21 -21
- package/lib/components/form-item/src/index.vue2.js +21 -17
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +16 -16
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +1175 -1040
- package/lib/components/page/src/index.vue.d.ts +383 -338
- package/lib/components/pagination/index.d.ts +38 -38
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/radio/index.d.ts +34 -34
- package/lib/components/radio/src/index.vue.d.ts +26 -26
- package/lib/components/render/index.d.ts +17 -17
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +494 -430
- package/lib/components/search/src/index.vue.d.ts +143 -125
- package/lib/components/search/src/index.vue2.js +3 -1
- package/lib/components/search/src/type.d.ts +7 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +19 -19
- package/lib/components/steps-form/src/index.vue.d.ts +1 -1
- package/lib/components/table/index.d.ts +38 -38
- package/lib/components/table/src/index.vue.d.ts +7 -7
- package/lib/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/table/src/table-title-bar.vue2.js +1 -0
- package/lib/components/utils/index.d.ts +15 -15
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-dialog/src/index.vue2.js +1 -1
- package/lib/components/yc-drawer/src/index.vue.js +1 -1
- package/lib/components/yc-drawer/src/index.vue2.js +1 -1
- package/lib/components/yc-drawer/store.d.ts +6 -6
- package/lib/components/yc-more-actions/index.d.ts +6 -6
- package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/index.vue.d.ts +826 -736
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +2 -15
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +6 -1
- package/lib/components/yc-plus-tree/src/index.vue.js +1 -1
- package/lib/components/yc-plus-tree/src/index.vue2.js +13 -5
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.css +3 -3
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-dialog.css +1 -1
- package/theme-chalk/plus-display-item.css +1 -1
- package/theme-chalk/plus-form.css +1 -1
- package/theme-chalk/plus-search.css +1 -1
- package/theme-chalk/plus-table.css +1 -1
- package/theme-chalk/plus-yc-dialog.css +1 -1
- package/theme-chalk/plus-yc-drawer.css +1 -1
- package/theme-chalk/plus-yc-plus-tree.css +1 -1
- package/theme-chalk/src/dialog.scss +45 -0
- package/theme-chalk/src/display-item.scss +1 -0
- package/theme-chalk/src/form.scss +20 -0
- package/theme-chalk/src/search.scss +125 -0
- package/theme-chalk/src/table.scss +10 -0
- package/theme-chalk/src/yc-dialog.scss +50 -0
- package/theme-chalk/src/yc-drawer.scss +1 -1
- package/theme-chalk/src/yc-plus-tree.scss +1 -0
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! yc-pro-components v0.0.
|
|
1
|
+
/*! yc-pro-components v0.0.26 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('element-plus')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vue', 'element-plus'], factory) :
|
|
@@ -15067,7 +15067,7 @@
|
|
|
15067
15067
|
class: "plus-table-action-bar__dropdown__link"
|
|
15068
15068
|
};
|
|
15069
15069
|
const _hoisted_2$f = { class: "plus-table-action-bar__dropdown__link" };
|
|
15070
|
-
const _hoisted_3$
|
|
15070
|
+
const _hoisted_3$c = { class: "plus-table-action-bar__more-text" };
|
|
15071
15071
|
var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
15072
15072
|
...{
|
|
15073
15073
|
name: "PlusTableActionBar"
|
|
@@ -15402,7 +15402,7 @@
|
|
|
15402
15402
|
vue.createElementVNode("span", _hoisted_2$f, [
|
|
15403
15403
|
vue.createElementVNode(
|
|
15404
15404
|
"span",
|
|
15405
|
-
_hoisted_3$
|
|
15405
|
+
_hoisted_3$c,
|
|
15406
15406
|
vue.toDisplayString(vue.unref(t)("plus.table.more")),
|
|
15407
15407
|
1
|
|
15408
15408
|
/* TEXT */
|
|
@@ -15828,7 +15828,8 @@
|
|
|
15828
15828
|
},
|
|
15829
15829
|
"input-number": {
|
|
15830
15830
|
component: elementPlus.ElInputNumber,
|
|
15831
|
-
|
|
15831
|
+
// align: 'left' 设置输入文本靠左对齐 (Element Plus 2.10.5+)
|
|
15832
|
+
props: { placeholder: "plus.field.pleaseEnter", align: "left" }
|
|
15832
15833
|
},
|
|
15833
15834
|
radio: {
|
|
15834
15835
|
component: elementPlus.ElRadioGroup,
|
|
@@ -15880,6 +15881,14 @@
|
|
|
15880
15881
|
|
|
15881
15882
|
const _hoisted_1$n = { class: "el-form-item__error" };
|
|
15882
15883
|
const _hoisted_2$e = { class: "plus-form-item__label" };
|
|
15884
|
+
const _hoisted_3$b = {
|
|
15885
|
+
key: 0,
|
|
15886
|
+
class: "plus-form-item-field"
|
|
15887
|
+
};
|
|
15888
|
+
const _hoisted_4$8 = {
|
|
15889
|
+
key: 1,
|
|
15890
|
+
class: "plus-form-item-field"
|
|
15891
|
+
};
|
|
15883
15892
|
var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
15884
15893
|
...{
|
|
15885
15894
|
name: "PlusFormItem"
|
|
@@ -16094,23 +16103,19 @@
|
|
|
16094
16103
|
"label-width": _ctx.hasLabel ? (_a = customFormItemProps.value) == null ? void 0 : _a.labelWidth : "0px"
|
|
16095
16104
|
}), vue.createSlots({
|
|
16096
16105
|
default: vue.withCtx(() => [
|
|
16097
|
-
_ctx.renderField && vue.unref(isFunction)(_ctx.renderField) ? (vue.openBlock(), vue.createElementBlock(
|
|
16098
|
-
vue.
|
|
16099
|
-
|
|
16100
|
-
|
|
16101
|
-
|
|
16102
|
-
|
|
16103
|
-
|
|
16104
|
-
|
|
16105
|
-
|
|
16106
|
-
|
|
16107
|
-
|
|
16108
|
-
|
|
16109
|
-
|
|
16110
|
-
],
|
|
16111
|
-
64
|
|
16112
|
-
/* STABLE_FRAGMENT */
|
|
16113
|
-
)) : _ctx.$slots[vue.unref(getFieldSlotName)(_ctx.prop)] ? vue.renderSlot(_ctx.$slots, vue.unref(getFieldSlotName)(_ctx.prop), vue.mergeProps({ key: 1 }, params.value, { column: props })) : _ctx.valueType === "select" && customFieldProps.value.multiple === true ? (vue.openBlock(), vue.createBlock(vue.unref(ElSelect), vue.mergeProps({
|
|
16106
|
+
_ctx.renderField && vue.unref(isFunction)(_ctx.renderField) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$b, [
|
|
16107
|
+
valueIsReady.value ? (vue.openBlock(), vue.createBlock(vue.unref(PlusRender), {
|
|
16108
|
+
key: 0,
|
|
16109
|
+
render: _ctx.renderField,
|
|
16110
|
+
params: params.value,
|
|
16111
|
+
"callback-value": state.value,
|
|
16112
|
+
"custom-field-props": customFieldProps.value,
|
|
16113
|
+
"render-type": "form",
|
|
16114
|
+
"handle-change": handleChange
|
|
16115
|
+
}, null, 8, ["render", "params", "callback-value", "custom-field-props"])) : vue.createCommentVNode("v-if", true)
|
|
16116
|
+
])) : _ctx.$slots[vue.unref(getFieldSlotName)(_ctx.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$8, [
|
|
16117
|
+
vue.renderSlot(_ctx.$slots, vue.unref(getFieldSlotName)(_ctx.prop), vue.mergeProps(params.value, { column: props }))
|
|
16118
|
+
])) : _ctx.valueType === "select" && customFieldProps.value.multiple === true ? (vue.openBlock(), vue.createBlock(vue.unref(ElSelect), vue.mergeProps({
|
|
16114
16119
|
key: 2,
|
|
16115
16120
|
ref_key: "fieldInstance",
|
|
16116
16121
|
ref: fieldInstance,
|
|
@@ -16579,6 +16584,7 @@
|
|
|
16579
16584
|
props: {
|
|
16580
16585
|
modelValue: { default: () => ({}) },
|
|
16581
16586
|
hasLabel: { type: Boolean, default: true },
|
|
16587
|
+
layout: { default: "grid" },
|
|
16582
16588
|
columns: { default: () => [] },
|
|
16583
16589
|
rowProps: { default: () => ({}) },
|
|
16584
16590
|
colProps: { default: () => ({}) },
|
|
@@ -16591,6 +16597,19 @@
|
|
|
16591
16597
|
const props = __props;
|
|
16592
16598
|
const emit = __emit;
|
|
16593
16599
|
const values = vue.ref({});
|
|
16600
|
+
const isNativeLayout = vue.computed(() => props.layout === "flex" || props.layout === "grid");
|
|
16601
|
+
const isFlexLayout = vue.computed(() => props.layout === "flex");
|
|
16602
|
+
const isGridLayout = vue.computed(() => props.layout === "grid");
|
|
16603
|
+
const layoutRowClass = vue.computed(() => ({
|
|
16604
|
+
"plus-form__row--flex": isFlexLayout.value,
|
|
16605
|
+
"plus-form__row--grid": isGridLayout.value
|
|
16606
|
+
}));
|
|
16607
|
+
const layoutItemClass = vue.computed(() => ({
|
|
16608
|
+
"plus-form__item-wrapper--flex": isFlexLayout.value,
|
|
16609
|
+
"plus-form__item-wrapper--grid": isGridLayout.value
|
|
16610
|
+
}));
|
|
16611
|
+
const rowComponent = vue.computed(() => isNativeLayout.value ? "div" : elementPlus.ElRow);
|
|
16612
|
+
const colComponent = vue.computed(() => isNativeLayout.value ? "div" : elementPlus.ElCol);
|
|
16594
16613
|
const getHasLabel = (hasLabel) => {
|
|
16595
16614
|
const has = vue.unref(hasLabel);
|
|
16596
16615
|
if (isBoolean(has)) {
|
|
@@ -16613,104 +16632,100 @@
|
|
|
16613
16632
|
emit("update:modelValue", values.value);
|
|
16614
16633
|
emit("change", values.value, column);
|
|
16615
16634
|
};
|
|
16635
|
+
const getColBinding = (item) => {
|
|
16636
|
+
if (isNativeLayout.value) return void 0;
|
|
16637
|
+
return vue.unref(item.colProps) || props.colProps;
|
|
16638
|
+
};
|
|
16616
16639
|
return (_ctx, _cache) => {
|
|
16617
|
-
return vue.openBlock(), vue.createBlock(
|
|
16618
|
-
|
|
16619
|
-
|
|
16620
|
-
|
|
16621
|
-
|
|
16622
|
-
|
|
16623
|
-
|
|
16624
|
-
|
|
16625
|
-
|
|
16626
|
-
|
|
16627
|
-
|
|
16628
|
-
|
|
16629
|
-
|
|
16630
|
-
vue.
|
|
16631
|
-
|
|
16632
|
-
|
|
16633
|
-
|
|
16634
|
-
|
|
16635
|
-
|
|
16636
|
-
|
|
16637
|
-
|
|
16638
|
-
|
|
16639
|
-
|
|
16640
|
-
|
|
16641
|
-
|
|
16642
|
-
|
|
16643
|
-
|
|
16644
|
-
|
|
16645
|
-
|
|
16646
|
-
|
|
16647
|
-
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
|
|
16651
|
-
|
|
16652
|
-
|
|
16653
|
-
onChange: (value) => handleChange(value, item)
|
|
16654
|
-
}), vue.createSlots({
|
|
16655
|
-
_: 2
|
|
16656
|
-
/* DYNAMIC */
|
|
16657
|
-
}, [
|
|
16658
|
-
_ctx.$slots[vue.unref(getLabelSlotName)(item.prop)] ? {
|
|
16659
|
-
name: vue.unref(getLabelSlotName)(item.prop),
|
|
16660
|
-
fn: vue.withCtx((data) => [
|
|
16661
|
-
vue.renderSlot(_ctx.$slots, vue.unref(getLabelSlotName)(item.prop), vue.normalizeProps(vue.guardReactiveProps(data)))
|
|
16662
|
-
]),
|
|
16663
|
-
key: "0"
|
|
16664
|
-
} : void 0,
|
|
16665
|
-
_ctx.$slots[vue.unref(getFieldSlotName)(item.prop)] ? {
|
|
16666
|
-
name: vue.unref(getFieldSlotName)(item.prop),
|
|
16667
|
-
fn: vue.withCtx((data) => [
|
|
16668
|
-
vue.renderSlot(_ctx.$slots, vue.unref(getFieldSlotName)(item.prop), vue.normalizeProps(vue.guardReactiveProps(data)))
|
|
16669
|
-
]),
|
|
16670
|
-
key: "1"
|
|
16671
|
-
} : void 0,
|
|
16672
|
-
_ctx.$slots["tooltip-icon"] ? {
|
|
16673
|
-
name: "tooltip-icon",
|
|
16674
|
-
fn: vue.withCtx(() => [
|
|
16675
|
-
vue.renderSlot(_ctx.$slots, "tooltip-icon")
|
|
16676
|
-
]),
|
|
16677
|
-
key: "2"
|
|
16678
|
-
} : void 0
|
|
16679
|
-
]), 1040, ["model-value", "clearable", "has-label", "onChange"]),
|
|
16680
|
-
vue.createCommentVNode(" el-form-item \u4E0B\u4E00\u884C\u989D\u5916\u7684\u5185\u5BB9 "),
|
|
16681
|
-
item.renderExtra || _ctx.$slots[vue.unref(getExtraSlotName)(item.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$d, [
|
|
16682
|
-
item.renderExtra && vue.unref(isFunction)(item.renderExtra) ? (vue.openBlock(), vue.createBlock(
|
|
16683
|
-
vue.resolveDynamicComponent(item.renderExtra),
|
|
16684
|
-
vue.normalizeProps(vue.mergeProps({ key: 0 }, item)),
|
|
16685
|
-
null,
|
|
16686
|
-
16
|
|
16687
|
-
/* FULL_PROPS */
|
|
16688
|
-
)) : _ctx.$slots[vue.unref(getExtraSlotName)(item.prop)] ? vue.renderSlot(_ctx.$slots, vue.unref(getExtraSlotName)(item.prop), vue.normalizeProps(vue.mergeProps({ key: 1 }, item))) : vue.createCommentVNode("v-if", true)
|
|
16689
|
-
])) : vue.createCommentVNode("v-if", true)
|
|
16690
|
-
]),
|
|
16640
|
+
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(rowComponent.value), vue.mergeProps(isNativeLayout.value ? void 0 : _ctx.rowProps, {
|
|
16641
|
+
class: ["plus-form__row", layoutRowClass.value]
|
|
16642
|
+
}), {
|
|
16643
|
+
default: vue.withCtx(() => [
|
|
16644
|
+
vue.createVNode(PlusCollapseTransition, {
|
|
16645
|
+
"collapse-duration": _ctx.collapseDuration,
|
|
16646
|
+
"collapse-transition": _ctx.collapseTransition
|
|
16647
|
+
}, {
|
|
16648
|
+
default: vue.withCtx(() => [
|
|
16649
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
16650
|
+
vue.Fragment,
|
|
16651
|
+
null,
|
|
16652
|
+
vue.renderList(_ctx.columns, (item) => {
|
|
16653
|
+
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(colComponent.value), vue.mergeProps({
|
|
16654
|
+
key: item.prop
|
|
16655
|
+
}, getColBinding(item), {
|
|
16656
|
+
class: ["plus-form__item-wrapper", layoutItemClass.value]
|
|
16657
|
+
}), {
|
|
16658
|
+
default: vue.withCtx(() => [
|
|
16659
|
+
vue.createCommentVNode(" el-form-item\u4E0A\u4E00\u884C\u7684\u5185\u5BB9 "),
|
|
16660
|
+
item.renderPrevious || _ctx.$slots[vue.unref(getPreviousSlotName)(item.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
|
|
16661
|
+
vue.unref(isFunction)(item.renderPrevious) ? (vue.openBlock(), vue.createBlock(
|
|
16662
|
+
vue.resolveDynamicComponent(item.renderPrevious),
|
|
16663
|
+
vue.normalizeProps(vue.mergeProps({ key: 0 }, item)),
|
|
16664
|
+
null,
|
|
16665
|
+
16
|
|
16666
|
+
/* FULL_PROPS */
|
|
16667
|
+
)) : _ctx.$slots[vue.unref(getPreviousSlotName)(item.prop)] ? vue.renderSlot(_ctx.$slots, vue.unref(getPreviousSlotName)(item.prop), vue.normalizeProps(vue.mergeProps({ key: 1 }, item))) : vue.createCommentVNode("v-if", true)
|
|
16668
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
16669
|
+
vue.createVNode(vue.unref(PlusFormItem), vue.mergeProps({
|
|
16670
|
+
"model-value": getModelValue(item.prop)
|
|
16671
|
+
}, item, {
|
|
16672
|
+
clearable: _ctx.clearable,
|
|
16673
|
+
"has-label": getHasLabel(item.hasLabel),
|
|
16674
|
+
onChange: (value) => handleChange(value, item)
|
|
16675
|
+
}), vue.createSlots({
|
|
16691
16676
|
_: 2
|
|
16692
16677
|
/* DYNAMIC */
|
|
16693
|
-
},
|
|
16694
|
-
|
|
16695
|
-
|
|
16696
|
-
|
|
16697
|
-
|
|
16698
|
-
|
|
16699
|
-
|
|
16700
|
-
|
|
16701
|
-
|
|
16702
|
-
|
|
16703
|
-
|
|
16704
|
-
|
|
16705
|
-
|
|
16706
|
-
|
|
16707
|
-
|
|
16708
|
-
|
|
16709
|
-
|
|
16710
|
-
|
|
16711
|
-
|
|
16712
|
-
|
|
16713
|
-
|
|
16678
|
+
}, [
|
|
16679
|
+
_ctx.$slots[vue.unref(getLabelSlotName)(item.prop)] ? {
|
|
16680
|
+
name: vue.unref(getLabelSlotName)(item.prop),
|
|
16681
|
+
fn: vue.withCtx((data) => [
|
|
16682
|
+
vue.renderSlot(_ctx.$slots, vue.unref(getLabelSlotName)(item.prop), vue.normalizeProps(vue.guardReactiveProps(data)))
|
|
16683
|
+
]),
|
|
16684
|
+
key: "0"
|
|
16685
|
+
} : void 0,
|
|
16686
|
+
_ctx.$slots[vue.unref(getFieldSlotName)(item.prop)] ? {
|
|
16687
|
+
name: vue.unref(getFieldSlotName)(item.prop),
|
|
16688
|
+
fn: vue.withCtx((data) => [
|
|
16689
|
+
vue.renderSlot(_ctx.$slots, vue.unref(getFieldSlotName)(item.prop), vue.normalizeProps(vue.guardReactiveProps(data)))
|
|
16690
|
+
]),
|
|
16691
|
+
key: "1"
|
|
16692
|
+
} : void 0,
|
|
16693
|
+
_ctx.$slots["tooltip-icon"] ? {
|
|
16694
|
+
name: "tooltip-icon",
|
|
16695
|
+
fn: vue.withCtx(() => [
|
|
16696
|
+
vue.renderSlot(_ctx.$slots, "tooltip-icon")
|
|
16697
|
+
]),
|
|
16698
|
+
key: "2"
|
|
16699
|
+
} : void 0
|
|
16700
|
+
]), 1040, ["model-value", "clearable", "has-label", "onChange"]),
|
|
16701
|
+
vue.createCommentVNode(" el-form-item \u4E0B\u4E00\u884C\u989D\u5916\u7684\u5185\u5BB9 "),
|
|
16702
|
+
item.renderExtra || _ctx.$slots[vue.unref(getExtraSlotName)(item.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$d, [
|
|
16703
|
+
item.renderExtra && vue.unref(isFunction)(item.renderExtra) ? (vue.openBlock(), vue.createBlock(
|
|
16704
|
+
vue.resolveDynamicComponent(item.renderExtra),
|
|
16705
|
+
vue.normalizeProps(vue.mergeProps({ key: 0 }, item)),
|
|
16706
|
+
null,
|
|
16707
|
+
16
|
|
16708
|
+
/* FULL_PROPS */
|
|
16709
|
+
)) : _ctx.$slots[vue.unref(getExtraSlotName)(item.prop)] ? vue.renderSlot(_ctx.$slots, vue.unref(getExtraSlotName)(item.prop), vue.normalizeProps(vue.mergeProps({ key: 1 }, item))) : vue.createCommentVNode("v-if", true)
|
|
16710
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
16711
|
+
]),
|
|
16712
|
+
_: 2
|
|
16713
|
+
/* DYNAMIC */
|
|
16714
|
+
}, 1040, ["class"]);
|
|
16715
|
+
}),
|
|
16716
|
+
128
|
|
16717
|
+
/* KEYED_FRAGMENT */
|
|
16718
|
+
))
|
|
16719
|
+
]),
|
|
16720
|
+
_: 3
|
|
16721
|
+
/* FORWARDED */
|
|
16722
|
+
}, 8, ["collapse-duration", "collapse-transition"]),
|
|
16723
|
+
vue.createCommentVNode(" \u641C\u7D22\u7684footer\u63D2\u69FD "),
|
|
16724
|
+
vue.renderSlot(_ctx.$slots, "search-footer")
|
|
16725
|
+
]),
|
|
16726
|
+
_: 3
|
|
16727
|
+
/* FORWARDED */
|
|
16728
|
+
}, 16, ["class"]);
|
|
16714
16729
|
};
|
|
16715
16730
|
}
|
|
16716
16731
|
});
|
|
@@ -16730,6 +16745,7 @@
|
|
|
16730
16745
|
columns: { default: () => [] },
|
|
16731
16746
|
labelWidth: { default: "80px" },
|
|
16732
16747
|
labelPosition: { default: "left" },
|
|
16748
|
+
layout: { default: "grid" },
|
|
16733
16749
|
rowProps: { default: () => ({}) },
|
|
16734
16750
|
colProps: { default: () => ({}) },
|
|
16735
16751
|
labelSuffix: { default: ":" },
|
|
@@ -16911,6 +16927,7 @@
|
|
|
16911
16927
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => values.value = $event),
|
|
16912
16928
|
"row-props": _ctx.rowProps,
|
|
16913
16929
|
"col-props": _ctx.colProps,
|
|
16930
|
+
layout: _ctx.layout,
|
|
16914
16931
|
columns: filterHide(groupItem.columns),
|
|
16915
16932
|
"has-label": _ctx.hasLabel,
|
|
16916
16933
|
"collapse-transition": _ctx.collapseTransition,
|
|
@@ -16929,7 +16946,7 @@
|
|
|
16929
16946
|
])
|
|
16930
16947
|
};
|
|
16931
16948
|
})
|
|
16932
|
-
]), 1032, ["modelValue", "row-props", "col-props", "columns", "has-label", "collapse-transition", "collapse-duration", "clearable"]))
|
|
16949
|
+
]), 1032, ["modelValue", "row-props", "col-props", "layout", "columns", "has-label", "collapse-transition", "collapse-duration", "clearable"]))
|
|
16933
16950
|
]),
|
|
16934
16951
|
_: 2
|
|
16935
16952
|
/* DYNAMIC */
|
|
@@ -16950,6 +16967,7 @@
|
|
|
16950
16967
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => values.value = $event),
|
|
16951
16968
|
"row-props": _ctx.rowProps,
|
|
16952
16969
|
"col-props": _ctx.colProps,
|
|
16970
|
+
layout: _ctx.layout,
|
|
16953
16971
|
columns: subColumns.value,
|
|
16954
16972
|
"has-label": _ctx.hasLabel,
|
|
16955
16973
|
"collapse-transition": _ctx.collapseTransition,
|
|
@@ -16968,7 +16986,7 @@
|
|
|
16968
16986
|
])
|
|
16969
16987
|
};
|
|
16970
16988
|
})
|
|
16971
|
-
]), 1032, ["modelValue", "row-props", "col-props", "columns", "has-label", "collapse-transition", "collapse-duration", "clearable"])
|
|
16989
|
+
]), 1032, ["modelValue", "row-props", "col-props", "layout", "columns", "has-label", "collapse-transition", "collapse-duration", "clearable"])
|
|
16972
16990
|
],
|
|
16973
16991
|
64
|
|
16974
16992
|
/* STABLE_FRAGMENT */
|
|
@@ -18492,6 +18510,7 @@
|
|
|
18492
18510
|
key: 2,
|
|
18493
18511
|
placement: "bottom",
|
|
18494
18512
|
width: columnSettingPopoverWidth.value,
|
|
18513
|
+
offset: 8,
|
|
18495
18514
|
trigger: "click",
|
|
18496
18515
|
title: vue.unref(t)("plus.table.columnSettings")
|
|
18497
18516
|
}, {
|
|
@@ -19367,6 +19386,7 @@
|
|
|
19367
19386
|
modelValue: { default: () => ({}) },
|
|
19368
19387
|
defaultValues: { default: () => ({}) },
|
|
19369
19388
|
columns: { default: () => [] },
|
|
19389
|
+
layout: { default: "flex" },
|
|
19370
19390
|
hasFooter: { type: Boolean, default: true },
|
|
19371
19391
|
hasReset: { type: Boolean, default: true },
|
|
19372
19392
|
hasUnfold: { type: Boolean, default: true },
|
|
@@ -19483,6 +19503,7 @@
|
|
|
19483
19503
|
"row-props": _ctx.rowProps,
|
|
19484
19504
|
"col-props": _ctx.colProps,
|
|
19485
19505
|
columns: subColumns.value,
|
|
19506
|
+
layout: _ctx.layout,
|
|
19486
19507
|
class: "plus-search",
|
|
19487
19508
|
"has-footer": false,
|
|
19488
19509
|
onChange: handleChange
|
|
@@ -19574,7 +19595,7 @@
|
|
|
19574
19595
|
])
|
|
19575
19596
|
};
|
|
19576
19597
|
})
|
|
19577
|
-
]), 1040, ["modelValue", "inline", "rules", "label-position", "row-props", "col-props", "columns"]);
|
|
19598
|
+
]), 1040, ["modelValue", "inline", "rules", "label-position", "row-props", "col-props", "columns", "layout"]);
|
|
19578
19599
|
};
|
|
19579
19600
|
}
|
|
19580
19601
|
});
|
|
@@ -31830,17 +31851,6 @@
|
|
|
31830
31851
|
visibilityObserver = null;
|
|
31831
31852
|
}
|
|
31832
31853
|
});
|
|
31833
|
-
const searchableFieldsCount = vue.computed(() => {
|
|
31834
|
-
var _a;
|
|
31835
|
-
if (!((_a = props.columns) == null ? void 0 : _a.length)) return 0;
|
|
31836
|
-
return props.columns.filter((col) => col.hideInSearch !== true).length;
|
|
31837
|
-
});
|
|
31838
|
-
const getSpanByCount = (count) => {
|
|
31839
|
-
if (count <= 3) {
|
|
31840
|
-
return 6;
|
|
31841
|
-
}
|
|
31842
|
-
return 8;
|
|
31843
|
-
};
|
|
31844
31854
|
const mergedSearch = vue.computed(() => {
|
|
31845
31855
|
if (!showSearch.value) {
|
|
31846
31856
|
return false;
|
|
@@ -31851,8 +31861,7 @@
|
|
|
31851
31861
|
}
|
|
31852
31862
|
const defaultSearchConfig = {
|
|
31853
31863
|
hasUnfold: false,
|
|
31854
|
-
|
|
31855
|
-
colProps: { span: getSpanByCount(searchableFieldsCount.value) },
|
|
31864
|
+
layout: "flex",
|
|
31856
31865
|
labelSuffix: "",
|
|
31857
31866
|
labelPosition: "right",
|
|
31858
31867
|
searchIcon: null,
|
|
@@ -31862,8 +31871,7 @@
|
|
|
31862
31871
|
}
|
|
31863
31872
|
return {
|
|
31864
31873
|
hasUnfold: false,
|
|
31865
|
-
|
|
31866
|
-
colProps: { span: getSpanByCount(searchableFieldsCount.value) },
|
|
31874
|
+
layout: "flex",
|
|
31867
31875
|
labelSuffix: "",
|
|
31868
31876
|
labelPosition: "right",
|
|
31869
31877
|
searchIcon: null,
|
|
@@ -32027,7 +32035,7 @@
|
|
|
32027
32035
|
}
|
|
32028
32036
|
});
|
|
32029
32037
|
|
|
32030
|
-
var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
32038
|
+
var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-e1fa68a8"], ["__file", "index.vue"]]);
|
|
32031
32039
|
|
|
32032
32040
|
const YcPlusPage = YcPlusPageComponent;
|
|
32033
32041
|
const YcTableHeaderFilterCell = YcTableHeaderFilterCellComponent;
|
|
@@ -57532,7 +57540,8 @@
|
|
|
57532
57540
|
searchLoadMore: { type: Function, default: void 0 },
|
|
57533
57541
|
searchPageSize: { default: 20 },
|
|
57534
57542
|
onSearchChange: { type: Function, default: void 0 },
|
|
57535
|
-
padding: { default: 16 }
|
|
57543
|
+
padding: { default: 16 },
|
|
57544
|
+
searchInputClass: { default: void 0 }
|
|
57536
57545
|
},
|
|
57537
57546
|
emits: ["node-click", "action-click", "check", "add-node", "update-node", "update:expandedKeys", "node-expand", "node-collapse", "drag-start", "drag-end", "drag-update", "node-reorder"],
|
|
57538
57547
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -57555,6 +57564,13 @@
|
|
|
57555
57564
|
const treeHeight = vue.ref(400);
|
|
57556
57565
|
const { getCdnUrl } = useYcCdnUrl();
|
|
57557
57566
|
const treeMoreIconUrl = getCdnUrl("images", "tree_more.svg");
|
|
57567
|
+
const searchInputClasses = vue.computed(() => {
|
|
57568
|
+
const classes = ["search-input"];
|
|
57569
|
+
if (props.searchInputClass) {
|
|
57570
|
+
classes.push(props.searchInputClass);
|
|
57571
|
+
}
|
|
57572
|
+
return classes.join(" ");
|
|
57573
|
+
});
|
|
57558
57574
|
const updateTreeHeight = () => {
|
|
57559
57575
|
if (treeContainerRef.value) {
|
|
57560
57576
|
const height = treeContainerRef.value.clientHeight;
|
|
@@ -58149,8 +58165,8 @@
|
|
|
58149
58165
|
placeholder: _ctx.placeholder,
|
|
58150
58166
|
"prefix-icon": "Search",
|
|
58151
58167
|
clearable: "",
|
|
58152
|
-
class:
|
|
58153
|
-
}, null, 8, ["modelValue", "placeholder"])) : (vue.openBlock(), vue.createElementBlock(
|
|
58168
|
+
class: vue.normalizeClass(searchInputClasses.value)
|
|
58169
|
+
}, null, 8, ["modelValue", "placeholder", "class"])) : (vue.openBlock(), vue.createElementBlock(
|
|
58154
58170
|
vue.Fragment,
|
|
58155
58171
|
{ key: 1 },
|
|
58156
58172
|
[
|
|
@@ -58167,8 +58183,8 @@
|
|
|
58167
58183
|
placeholder: _ctx.placeholder,
|
|
58168
58184
|
clearable: "",
|
|
58169
58185
|
filterable: "",
|
|
58170
|
-
class:
|
|
58171
|
-
}, null, 8, ["modelValue", "load-more", "page-size", "placeholder"])
|
|
58186
|
+
class: vue.normalizeClass(searchInputClasses.value)
|
|
58187
|
+
}, null, 8, ["modelValue", "load-more", "page-size", "placeholder", "class"])
|
|
58172
58188
|
],
|
|
58173
58189
|
2112
|
|
58174
58190
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
@@ -58371,7 +58387,7 @@
|
|
|
58371
58387
|
}
|
|
58372
58388
|
});
|
|
58373
58389
|
|
|
58374
|
-
var YcPlusTreeComponent = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
58390
|
+
var YcPlusTreeComponent = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-61e7209b"], ["__file", "index.vue"]]);
|
|
58375
58391
|
|
|
58376
58392
|
const YcPlusTree = l(YcPlusTreeComponent);
|
|
58377
58393
|
const RePlusTree = YcPlusTree;
|
|
@@ -58392,7 +58408,7 @@
|
|
|
58392
58408
|
width: {},
|
|
58393
58409
|
size: {},
|
|
58394
58410
|
maxHeight: { type: [String, Number, Boolean], default: "720px" },
|
|
58395
|
-
showHeaderBorder: { type: Boolean, default:
|
|
58411
|
+
showHeaderBorder: { type: Boolean, default: true }
|
|
58396
58412
|
},
|
|
58397
58413
|
setup(__props) {
|
|
58398
58414
|
const props = __props;
|
|
@@ -58506,7 +58522,7 @@
|
|
|
58506
58522
|
drawerStore.value = [];
|
|
58507
58523
|
};
|
|
58508
58524
|
|
|
58509
|
-
const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-
|
|
58525
|
+
const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-e05479bb"), n = n(), vue.popScopeId(), n);
|
|
58510
58526
|
const _hoisted_1$4 = { class: "custom-drawer-header" };
|
|
58511
58527
|
const _hoisted_2$4 = { class: "header-content" };
|
|
58512
58528
|
const _hoisted_3$4 = ["id"];
|
|
@@ -58730,7 +58746,7 @@
|
|
|
58730
58746
|
}
|
|
58731
58747
|
});
|
|
58732
58748
|
|
|
58733
|
-
var YcDrawerComponent = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
58749
|
+
var YcDrawerComponent = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-e05479bb"], ["__file", "index.vue"]]);
|
|
58734
58750
|
|
|
58735
58751
|
const YcDrawer = YcDrawerComponent;
|
|
58736
58752
|
const ReDrawer = YcDrawerComponent;
|
package/index.min.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
.yc-svg-icon[data-v-34e1f2f7]{display:inline-block;-webkit-mask-size:contain;mask-size:contain;vertical-align:middle}.yc-svg-icon--original[data-v-34e1f2f7]{-o-object-fit:contain;object-fit:contain}
|
|
2
2
|
|
|
3
|
-
.yc-plus-page[data-v-
|
|
3
|
+
.yc-plus-page[data-v-e1fa68a8]{height:100%}.yc-plus-page[data-v-e1fa68a8] [data-v-e1fa68a8] .plus-page>.el-card{border-radius:8px}[data-v-e1fa68a8] .yc-search-card-body{padding-right:0}[data-v-e1fa68a8] .plus-table-title-bar__toolbar__icon{font-size:16px!important;position:relative;top:-2px}.column-settings-wrapper[data-v-e1fa68a8]{align-items:center;cursor:pointer;display:flex;gap:4px;margin-left:8px}.column-settings-text[data-v-e1fa68a8]{font-size:14px}
|
|
4
4
|
.yc-select-v2-loading.el-select-dropdown__item{color:#909399;cursor:default;font-size:13px;pointer-events:none;text-align:center}.yc-select-v2-loading.el-select-dropdown__item.is-disabled{color:#909399;cursor:default}
|
|
5
5
|
.el-tree .el-tree-node__content{position:relative}.yc-tree-node-label-wrapper{align-items:center;display:flex;flex:1;min-width:0}.yc-tree-node-label{font-size:12px}.yc-tree-node-line-ver{border-left:1px dashed var(--el-border-color-light,#dcdfe6);display:block;height:100%;left:0;position:absolute;top:0}.yc-tree-node-line-ver.last-node-line{border-left:1px dashed transparent}.yc-tree-node-line-ver.last-node-isLeaf-line{height:50%}.yc-tree-node-line-hor{border-bottom:1px dashed var(--el-border-color-light,#dcdfe6);display:block;height:0;left:0;position:absolute;top:50%}
|
|
6
|
-
.yc-plus-tree[data-v-
|
|
6
|
+
.yc-plus-tree[data-v-61e7209b]{display:flex;flex-direction:column;height:100%;overflow:auto}.yc-plus-tree[data-v-61e7209b] .search-input[data-v-61e7209b]{flex-shrink:0;margin-bottom:16px}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b]{flex:1;min-height:0;overflow:hidden}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] [data-v-61e7209b] .el-tree-v2{overflow-x:visible!important}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .inline-input-node[data-v-61e7209b]{align-items:center;display:flex;flex:1;padding-left:0;padding-right:8px;position:relative;z-index:1}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .inline-input-node[data-v-61e7209b] .inline-input[data-v-61e7209b]{flex-shrink:0;width:100%}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .inline-input-node[data-v-61e7209b] .inline-input[data-v-61e7209b] [data-v-61e7209b] .el-input__wrapper{border-radius:4px;box-shadow:0 0 0 1px var(--el-border-color) inset;font-size:14px;height:26px;line-height:18px;padding:0 8px;transition:box-shadow .2s ease}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .inline-input-node[data-v-61e7209b] .inline-input[data-v-61e7209b] [data-v-61e7209b] .el-input__wrapper[data-v-61e7209b]:hover{box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .inline-input-node[data-v-61e7209b] .inline-input[data-v-61e7209b] [data-v-61e7209b] .el-input__wrapper.is-focus[data-v-61e7209b]{box-shadow:0 0 0 1px var(--el-color-primary) inset}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .inline-input-node[data-v-61e7209b] .inline-input[data-v-61e7209b] [data-v-61e7209b] .el-input__inner{color:rgba(0,0,0,.7);font-size:14px;height:24px;line-height:18px}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .inline-input-node[data-v-61e7209b] .inline-input[data-v-61e7209b] [data-v-61e7209b] .el-input__inner[data-v-61e7209b]::-moz-placeholder{color:rgba(0,0,0,.4)}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .inline-input-node[data-v-61e7209b] .inline-input[data-v-61e7209b] [data-v-61e7209b] .el-input__inner[data-v-61e7209b]::placeholder{color:rgba(0,0,0,.4)}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] [data-v-61e7209b] .el-tree-node__content:hover{background-color:var(--el-color-primary-light-9);border-radius:4px}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] [data-v-61e7209b] .el-tree-node__content:hover .label-text[data-v-61e7209b]{color:var(--el-color-primary)}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] [data-v-61e7209b] .el-tree-node__content:hover .label-text{color:var(--el-color-primary)}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] [data-v-61e7209b] .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9);border-radius:4px}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] [data-v-61e7209b] .el-tree-node.is-current>.el-tree-node__content .label-text{color:var(--el-color-primary)}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b]{align-items:center;display:flex;gap:4px;width:100%}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b][data-v-61e7209b]:hover .node-actions[data-v-61e7209b]{opacity:1;pointer-events:auto}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] .node-label[data-v-61e7209b],.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] [data-v-61e7209b] .custom-node-label{align-items:center;display:flex;flex:1;gap:4px;min-width:0}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] .node-label[data-v-61e7209b] [data-v-61e7209b] .el-tooltip__trigger,.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] [data-v-61e7209b] .custom-node-label [data-v-61e7209b] .el-tooltip__trigger{display:block;min-width:0;overflow:hidden}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] .node-label[data-v-61e7209b] .label-text[data-v-61e7209b],.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] .node-label[data-v-61e7209b] .node-text[data-v-61e7209b],.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] [data-v-61e7209b] .custom-node-label .label-text[data-v-61e7209b],.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] [data-v-61e7209b] .custom-node-label .node-text[data-v-61e7209b]{color:var(--el-text-color-primary);display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] .node-label[data-v-61e7209b] .label-text[data-v-61e7209b] [data-v-61e7209b] .highlight-keyword,.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] .node-label[data-v-61e7209b] .node-text[data-v-61e7209b] [data-v-61e7209b] .highlight-keyword,.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] [data-v-61e7209b] .custom-node-label .label-text[data-v-61e7209b] [data-v-61e7209b] .highlight-keyword,.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] [data-v-61e7209b] .custom-node-label .node-text[data-v-61e7209b] [data-v-61e7209b] .highlight-keyword{background-color:var(--el-color-primary-light-9);border-radius:2px;color:var(--el-color-primary);font-weight:600;padding:0 2px}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] .node-label[data-v-61e7209b] .node-count[data-v-61e7209b],.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] [data-v-61e7209b] .custom-node-label .node-count[data-v-61e7209b]{color:var(--el-text-color-secondary);font-size:12px}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] .node-actions[data-v-61e7209b]{align-items:center;display:flex;flex-shrink:0;margin-left:auto;margin-right:8px;opacity:0;pointer-events:none;transition:opacity .2s ease}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] .node-actions[data-v-61e7209b] .action-icon-wrapper[data-v-61e7209b]{align-items:center;cursor:pointer;display:flex;justify-content:center}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] .node-actions[data-v-61e7209b] .action-icon[data-v-61e7209b]{align-items:center;border-radius:4px;color:var(--el-color-primary);cursor:pointer;display:flex;height:20px;justify-content:center;transition:background-color .2s ease;width:20px}.yc-plus-tree[data-v-61e7209b] .tree-container[data-v-61e7209b] .node-label-wrapper[data-v-61e7209b] .node-actions[data-v-61e7209b] .action-icon[data-v-61e7209b][data-v-61e7209b]:hover{background-color:var(--el-color-primary-light-8)}.tree-dropdown-menu[data-v-61e7209b]{border-radius:8px!important;min-width:156px!important;padding:8px!important}.tree-dropdown-menu[data-v-61e7209b] [data-v-61e7209b] .el-dropdown-menu__item{border-radius:8px;font-size:12px;height:32px;line-height:32px;margin:0;padding:0 12px;transition:background-color .2s ease}.tree-dropdown-menu[data-v-61e7209b] [data-v-61e7209b] .el-dropdown-menu__item[data-v-61e7209b]:hover{background-color:var(--el-color-primary-light-9)!important;color:var(--el-color-primary)!important}.tree-dropdown-menu[data-v-61e7209b] [data-v-61e7209b] .el-dropdown-menu__item[data-v-61e7209b]:not(:last-child){margin-bottom:4px}.tree-dropdown-menu[data-v-61e7209b] [data-v-61e7209b] .el-divider{border-top:1px solid #e5e7eb;margin:12px 0}.tree-dropdown-menu[data-v-61e7209b] [data-v-61e7209b] .sortable-ghost{background-color:var(--el-color-primary-light-9);border:1px dashed var(--el-color-primary);border-radius:4px;opacity:.4}.tree-dropdown-menu[data-v-61e7209b] [data-v-61e7209b] .sortable-chosen{background-color:var(--el-color-primary-light-8);box-shadow:0 2px 8px rgba(0,0,0,.1)}.tree-dropdown-menu[data-v-61e7209b] [data-v-61e7209b] .sortable-drag{background-color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.15);cursor:move;opacity:1;transform:rotate(2deg)}.tree-dropdown-menu[data-v-61e7209b] [data-v-61e7209b] .sortable-fallback{-webkit-user-select:none;-moz-user-select:none;user-select:none}
|
|
7
7
|
.tree-dropdown-popper{border:none!important;border-radius:8px!important;overflow:hidden!important}.yc-plus-tree .highlight-keyword{background-color:var(--el-color-primary-light-9);border-radius:2px;color:var(--el-color-primary);font-weight:600;padding:0 2px}.el-tree-node__content:has([data-input-node=true]) .el-tree-node__expand-icon{display:none!important}.sortable-ghost{opacity:.3!important;position:relative!important}.drop-target{background-color:var(--el-color-primary-light-9)!important;border-radius:4px}.drop-target:before{background:var(--el-color-primary);border-radius:1.5px;bottom:0;content:"";left:calc(var(--drop-indent, 0px) - 3px);opacity:.6;position:absolute;top:0;width:3px;z-index:1}
|
|
8
8
|
.yc-dialog{--scrollbar-size:6px;--scrollbar-radius:3px;--scrollbar-thumb-light:rgba(0,0,0,.2);--scrollbar-thumb-light-hover:rgba(0,0,0,.3);--scrollbar-thumb-dark:hsla(0,0%,100%,.2);--scrollbar-thumb-dark-hover:hsla(0,0%,100%,.3)}.yc-dialog :deep(.el-dialog){display:flex;flex-direction:column;margin:6vh auto 50px;max-height:90vh}.yc-dialog :deep(.el-dialog__body){display:flex;flex:1;flex-direction:column;overflow:hidden;padding:0}.yc-dialog__content{flex:1;overflow:auto;padding:0}.yc-dialog__content::-webkit-scrollbar{height:var(--scrollbar-size);width:var(--scrollbar-size)}.yc-dialog__content::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-light);border-radius:var(--scrollbar-radius)}.yc-dialog__content::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-light-hover)}.yc-dialog__content::-webkit-scrollbar-track{background-color:transparent}:deep(.dark) .yc-dialog__content::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-dark)}:deep(.dark) .yc-dialog__content::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-dark-hover)}
|
|
9
9
|
.yc-drawer .el-drawer__header{margin-bottom:0!important;padding:0!important}.yc-drawer .el-drawer__footer{padding-bottom:12px!important;padding-right:24px!important;padding-top:12px!important}
|
|
10
|
-
.custom-drawer-header[data-v-
|
|
10
|
+
.custom-drawer-header[data-v-e05479bb]{border-radius:4px 4px 0 0;display:flex;flex-direction:column;height:56px;justify-content:flex-end;width:100%}.custom-drawer-header[data-v-e05479bb] .header-content[data-v-e05479bb]{align-items:center;display:flex;flex-direction:row;height:24px;justify-content:space-between;margin:16px 0 0 24px;width:calc(100% - 48px)}.custom-drawer-header[data-v-e05479bb] .header-content[data-v-e05479bb] .header-title[data-v-e05479bb]{color:#000;font-family:NotoSansSC,PingFangSC,sans-serif;font-size:16px;font-weight:500;height:24px;line-height:24px;overflow-wrap:break-word;text-align:left;white-space:nowrap}.custom-drawer-header[data-v-e05479bb] .header-content[data-v-e05479bb] .header-close-icon[data-v-e05479bb]{color:rgba(0,0,0,.6);cursor:pointer;transition:color .3s}.custom-drawer-header[data-v-e05479bb] .header-content[data-v-e05479bb] .header-close-icon[data-v-e05479bb][data-v-e05479bb]:hover{color:rgba(0,0,0,.9)}.custom-drawer-header[data-v-e05479bb] .header-divider[data-v-e05479bb]{background-color:#f5f7f9;height:1px;margin-top:15px;width:100%}
|
|
11
11
|
.yc-status-dialog .el-dialog__footer:before{display:none!important}.yc-status-dialog{padding:16px!important}.yc-status-dialog .el-dialog__header{margin:0!important;padding:0!important}.yc-status-dialog .el-dialog__body{padding:0!important}.yc-status-dialog .el-dialog__footer{padding:16px 0 0!important}
|
|
12
12
|
.yc-status-dialog[data-v-b63180c4] .dialog-header[data-v-b63180c4]{align-items:center;display:flex;gap:4px}.yc-status-dialog[data-v-b63180c4] .dialog-header[data-v-b63180c4] .icon-wrapper[data-v-b63180c4]{align-items:center;border-radius:50%;display:flex;flex-shrink:0;justify-content:center}.yc-status-dialog[data-v-b63180c4] .dialog-header[data-v-b63180c4] .icon-wrapper[data-v-b63180c4] .status-icon[data-v-b63180c4]{height:28px;width:28px}.yc-status-dialog[data-v-b63180c4] .dialog-header[data-v-b63180c4] .title-text[data-v-b63180c4]{color:#000;flex:1;font-size:16px;font-weight:500;line-height:24px}.yc-status-dialog[data-v-b63180c4] .dialog-content[data-v-b63180c4]{min-height:54px;padding-top:16px}.yc-status-dialog[data-v-b63180c4] .dialog-content[data-v-b63180c4] .content-text[data-v-b63180c4]{color:#666;font-size:14px;line-height:22px;margin:0}.yc-status-dialog[data-v-b63180c4] .dialog-footer[data-v-b63180c4]{display:flex;justify-content:flex-end}
|
|
13
13
|
.yc-more-actions__icon[data-v-740cb273]{align-items:center;display:inline-flex;margin-right:4px}.yc-more-actions__item-icon[data-v-740cb273]{align-items:center;display:inline-flex;font-size:14px;margin-right:6px}[data-v-740cb273] .el-dropdown-menu__item.is-danger{color:var(--el-color-danger)}[data-v-740cb273] .el-dropdown-menu__item.is-danger:hover{background-color:var(--el-color-danger-light-9);color:var(--el-color-danger)}
|