xrk-components 3.0.0 → 3.0.2
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/lib/index.css +102 -30
- package/lib/index.esm.js +16 -9
- package/lib/index.umd.js +16 -9
- package/package.json +1 -1
package/lib/index.css
CHANGED
|
@@ -8578,7 +8578,7 @@
|
|
|
8578
8578
|
--xrk-dialog-content-font-size: 14px;
|
|
8579
8579
|
--xrk-dialog-font-line-height: var(--xrk-font-line-height-primary);
|
|
8580
8580
|
--xrk-dialog-padding-primary: 0px;
|
|
8581
|
-
--xrk-dialog-border-radius:
|
|
8581
|
+
--xrk-dialog-border-radius: 4px;
|
|
8582
8582
|
position: relative;
|
|
8583
8583
|
margin: var(--xrk-dialog-margin-top, 15vh) auto 50px;
|
|
8584
8584
|
background: var(--xrk-dialog-bg-color);
|
|
@@ -19630,37 +19630,40 @@
|
|
|
19630
19630
|
color: #121619;
|
|
19631
19631
|
}
|
|
19632
19632
|
|
|
19633
|
-
.xrk-radio__input .xrk-radio__inner {
|
|
19633
|
+
.xrk-radio .xrk-radio__input .xrk-radio__inner {
|
|
19634
19634
|
width: 16px;
|
|
19635
19635
|
height: 16px;
|
|
19636
19636
|
}
|
|
19637
|
-
.xrk-radio__input:not(.is-disabled) .xrk-radio__inner {
|
|
19637
|
+
.xrk-radio .xrk-radio__input:not(.is-disabled) .xrk-radio__inner {
|
|
19638
19638
|
border-color: #878d96;
|
|
19639
19639
|
}
|
|
19640
|
-
.xrk-radio__input:not(.is-disabled) .xrk-radio__inner:hover {
|
|
19640
|
+
.xrk-radio .xrk-radio__input:not(.is-disabled) .xrk-radio__inner:hover {
|
|
19641
19641
|
border-color: var(--xrk-color-primary2);
|
|
19642
19642
|
}
|
|
19643
|
-
.xrk-radio__input.is-checked + .xrk-radio__label {
|
|
19643
|
+
.xrk-radio .xrk-radio__input.is-checked + .xrk-radio__label {
|
|
19644
19644
|
color: var(--xrk-color-primary2);
|
|
19645
19645
|
}
|
|
19646
|
-
.xrk-radio__input.is-checked .xrk-radio__inner {
|
|
19646
|
+
.xrk-radio .xrk-radio__input.is-checked .xrk-radio__inner {
|
|
19647
19647
|
background-color: transparent;
|
|
19648
19648
|
border-color: var(--xrk-color-primary2);
|
|
19649
19649
|
}
|
|
19650
|
-
.xrk-radio__input.is-checked .xrk-radio__inner::after {
|
|
19650
|
+
.xrk-radio .xrk-radio__input.is-checked .xrk-radio__inner::after {
|
|
19651
19651
|
width: 8px;
|
|
19652
19652
|
height: 8px;
|
|
19653
19653
|
background: var(--xrk-color-primary2);
|
|
19654
19654
|
}
|
|
19655
|
-
.xrk-radio__input.is-disabled .xrk-radio__inner {
|
|
19655
|
+
.xrk-radio .xrk-radio__input.is-disabled .xrk-radio__inner {
|
|
19656
19656
|
background-color: transparent;
|
|
19657
19657
|
border-color: #c1c7cd;
|
|
19658
19658
|
}
|
|
19659
|
-
.xrk-radio__input.is-disabled.is-checked .xrk-radio__inner::after {
|
|
19659
|
+
.xrk-radio .xrk-radio__input.is-disabled.is-checked .xrk-radio__inner::after {
|
|
19660
19660
|
width: 8px;
|
|
19661
19661
|
height: 8px;
|
|
19662
19662
|
background: #c1c7cd;
|
|
19663
19663
|
}
|
|
19664
|
+
.xrk-radio:not(.is-disabled).is-bordered.is-checked {
|
|
19665
|
+
border-color: var(--xrk-color-primary2);
|
|
19666
|
+
}
|
|
19664
19667
|
|
|
19665
19668
|
.xrk-switch.is-checked .xrk-switch__core {
|
|
19666
19669
|
background: var(--xrk-color-primary2);
|
|
@@ -19674,13 +19677,36 @@
|
|
|
19674
19677
|
text-overflow: clip;
|
|
19675
19678
|
overflow: visible;
|
|
19676
19679
|
}
|
|
19677
|
-
.custom_xrk-table .xrk-
|
|
19680
|
+
.custom_xrk-table .xrk-table__empty-text {
|
|
19681
|
+
line-height: 0;
|
|
19682
|
+
}
|
|
19683
|
+
|
|
19684
|
+
.xrk-pagination .xrk-pagination__sizes .xrk-select {
|
|
19685
|
+
width: 110px;
|
|
19686
|
+
}
|
|
19687
|
+
.xrk-pagination .xrk-pagination__sizes .xrk-select .xrk-select__wrapper {
|
|
19688
|
+
-webkit-box-shadow: none;
|
|
19689
|
+
box-shadow: none;
|
|
19690
|
+
}
|
|
19691
|
+
.xrk-pagination .xrk-pagination__sizes .xrk-select .xrk-select__wrapper {
|
|
19692
|
+
background: #f2f4f8;
|
|
19693
|
+
}
|
|
19694
|
+
.xrk-pagination .xrk-pagination__sizes .xrk-select .xrk-select__caret {
|
|
19695
|
+
color: #161616;
|
|
19696
|
+
}
|
|
19697
|
+
.xrk-pagination .xrk-pager .is-active {
|
|
19678
19698
|
background: var(--xrk-color-primary);
|
|
19679
19699
|
color: white;
|
|
19680
19700
|
}
|
|
19681
|
-
|
|
19682
|
-
|
|
19683
|
-
|
|
19701
|
+
.xrk-pagination .xrk-pagination__jump .xrk-input__wrapper {
|
|
19702
|
+
-webkit-box-shadow: none;
|
|
19703
|
+
box-shadow: none;
|
|
19704
|
+
}
|
|
19705
|
+
.xrk-pagination .xrk-pagination__jump .xrk-input__wrapper {
|
|
19706
|
+
background: #f2f4f8;
|
|
19707
|
+
}
|
|
19708
|
+
.xrk-pagination .xrk-pagination__jump .xrk-input__count-inner {
|
|
19709
|
+
background: transparent;
|
|
19684
19710
|
}
|
|
19685
19711
|
|
|
19686
19712
|
.xrk-alert--warning.is-light {
|
|
@@ -19688,16 +19714,68 @@
|
|
|
19688
19714
|
color: var(--xrk-color-primary);
|
|
19689
19715
|
}
|
|
19690
19716
|
|
|
19691
|
-
.xrk-button
|
|
19717
|
+
.xrk-button.is-link, .xrk-button.xrk-button--text {
|
|
19718
|
+
-webkit-user-select: auto;
|
|
19719
|
+
-moz-user-select: auto;
|
|
19720
|
+
-ms-user-select: auto;
|
|
19721
|
+
user-select: auto;
|
|
19722
|
+
}
|
|
19723
|
+
.xrk-button.xrk-button--text:not(.is-disabled) {
|
|
19724
|
+
color: var(--xrk-color-primary2);
|
|
19725
|
+
}
|
|
19726
|
+
.xrk-button.xrk-button--text:not(.is-disabled):hover {
|
|
19727
|
+
color: var(--xrk-color-primary2-light-5);
|
|
19728
|
+
}
|
|
19729
|
+
.xrk-button.xrk-button--text:not(.is-disabled):active {
|
|
19730
|
+
color: var(--xrk-color-primary2);
|
|
19731
|
+
}
|
|
19732
|
+
.xrk-button.is-link.is-disabled {
|
|
19733
|
+
color: var(--xrk-disabled-text-color);
|
|
19734
|
+
}
|
|
19735
|
+
.xrk-button.is-link.is-disabled:hover {
|
|
19736
|
+
color: var(--xrk-disabled-text-color);
|
|
19737
|
+
}
|
|
19738
|
+
.xrk-button.xrk-button--primary.is-plain {
|
|
19692
19739
|
--xrk-button-bg-color: #fff;
|
|
19693
19740
|
}
|
|
19694
|
-
.xrk-button--primary.is-plain.is-disabled {
|
|
19741
|
+
.xrk-button.xrk-button--primary.is-plain.is-disabled {
|
|
19695
19742
|
background: #fff;
|
|
19696
19743
|
}
|
|
19697
19744
|
|
|
19698
19745
|
.xrk-cascader-node.in-active-path, .xrk-cascader-node.is-selectable.in-checked-path, .xrk-cascader-node.is-active {
|
|
19699
19746
|
color: var(--xrk-color-primary2);
|
|
19700
19747
|
}
|
|
19748
|
+
|
|
19749
|
+
.xrk-message-box {
|
|
19750
|
+
padding: 0;
|
|
19751
|
+
}
|
|
19752
|
+
.xrk-message-box .xrk-message-box__header {
|
|
19753
|
+
padding: 0;
|
|
19754
|
+
}
|
|
19755
|
+
.xrk-message-box .xrk-message-box__header .xrk-message-box__title {
|
|
19756
|
+
border-bottom: var(--xrk-border-width) solid #f0f0f0;
|
|
19757
|
+
font-weight: 600;
|
|
19758
|
+
padding: 32px 32px 16px;
|
|
19759
|
+
}
|
|
19760
|
+
.xrk-message-box .xrk-message-box__header .xrk-message-box__headerbtn {
|
|
19761
|
+
top: 5px;
|
|
19762
|
+
right: 3px;
|
|
19763
|
+
}
|
|
19764
|
+
.xrk-message-box .xrk-message-box__header .xrk-message-box__headerbtn .xrk-message-box__close {
|
|
19765
|
+
font-size: 24px;
|
|
19766
|
+
color: #697077;
|
|
19767
|
+
}
|
|
19768
|
+
.xrk-message-box .xrk-message-box__content {
|
|
19769
|
+
-webkit-box-sizing: border-box;
|
|
19770
|
+
box-sizing: border-box;
|
|
19771
|
+
padding: 16px 32px;
|
|
19772
|
+
}
|
|
19773
|
+
.xrk-message-box .xrk-message-box__btns {
|
|
19774
|
+
-webkit-box-sizing: border-box;
|
|
19775
|
+
box-sizing: border-box;
|
|
19776
|
+
padding: 16px;
|
|
19777
|
+
border-top: 1px solid #f0f0f0;
|
|
19778
|
+
}
|
|
19701
19779
|
.base-button-more[data-v-c71e9bd0] {
|
|
19702
19780
|
width: 100%;
|
|
19703
19781
|
display: -webkit-box;
|
|
@@ -19815,7 +19893,8 @@
|
|
|
19815
19893
|
--xrk-empty-description-margin-top: 4px;
|
|
19816
19894
|
}
|
|
19817
19895
|
[data-v-13bddb91] .xrk-empty__description p {
|
|
19818
|
-
color:
|
|
19896
|
+
color: #a6a6a6;
|
|
19897
|
+
line-height: 0;
|
|
19819
19898
|
}
|
|
19820
19899
|
@charset "UTF-8";
|
|
19821
19900
|
.base-input-number.no-controls[data-v-0a3ed835] {
|
|
@@ -19843,9 +19922,6 @@
|
|
|
19843
19922
|
white-space: initial;
|
|
19844
19923
|
word-break: break-all;
|
|
19845
19924
|
}
|
|
19846
|
-
[data-v-545bd175] .xrk-select-dropdown__list {
|
|
19847
|
-
max-width: 600px;
|
|
19848
|
-
}
|
|
19849
19925
|
.base-switch[data-v-50b6e275] .el-icon {
|
|
19850
19926
|
z-index: 1;
|
|
19851
19927
|
}
|
|
@@ -19895,7 +19971,12 @@
|
|
|
19895
19971
|
margin-bottom: 24px;
|
|
19896
19972
|
}
|
|
19897
19973
|
.base-form-item[data-v-17eda5db] .xrk-form-item__label {
|
|
19898
|
-
|
|
19974
|
+
font-family: PingFang SC, PingFang SC;
|
|
19975
|
+
font-weight: 400;
|
|
19976
|
+
font-size: 14px;
|
|
19977
|
+
color: #121619;
|
|
19978
|
+
font-style: normal;
|
|
19979
|
+
text-transform: none;
|
|
19899
19980
|
padding-right: 16px;
|
|
19900
19981
|
}
|
|
19901
19982
|
.base-form-item[data-v-17eda5db] .base-upload {
|
|
@@ -19927,15 +20008,6 @@
|
|
|
19927
20008
|
-webkit-box-shadow: none;
|
|
19928
20009
|
box-shadow: none;
|
|
19929
20010
|
}
|
|
19930
|
-
.xrk-search[data-v-a1781a06] > .xrk-form .xrk-form-item .xrk-form-item__label {
|
|
19931
|
-
font-family: PingFang SC, PingFang SC;
|
|
19932
|
-
font-weight: 400;
|
|
19933
|
-
font-size: 14px;
|
|
19934
|
-
color: #121619;
|
|
19935
|
-
line-height: 22px;
|
|
19936
|
-
font-style: normal;
|
|
19937
|
-
text-transform: none;
|
|
19938
|
-
}
|
|
19939
20011
|
.xrk-search[data-v-a1781a06] > .xrk-form .xrk-form-item .xrk-input__wrapper,
|
|
19940
20012
|
.xrk-search[data-v-a1781a06] > .xrk-form .xrk-form-item .xrk-select__wrapper {
|
|
19941
20013
|
background: #f2f4f8;
|
|
@@ -20998,7 +21070,7 @@
|
|
|
20998
21070
|
.base-layout-main .menu-top .menu-top-item .active-line p[data-v-3f66cd84] {
|
|
20999
21071
|
width: 80%;
|
|
21000
21072
|
height: 4px;
|
|
21001
|
-
background-color:
|
|
21073
|
+
background-color: var(--xrk-color-primary);
|
|
21002
21074
|
}
|
|
21003
21075
|
.custom_xrk-table {
|
|
21004
21076
|
width: 100%;
|
package/lib/index.esm.js
CHANGED
|
@@ -71504,7 +71504,7 @@ var script$E = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$C
|
|
|
71504
71504
|
trigger: { type: String, required: false, default: 'click' },
|
|
71505
71505
|
maxCount: { type: Number, required: false },
|
|
71506
71506
|
notRepeatShow: { type: Boolean, required: false, default: true },
|
|
71507
|
-
type: { type: null, required: false, default: '
|
|
71507
|
+
type: { type: null, required: false, default: 'primary2' }
|
|
71508
71508
|
}, setup: function (__props) {
|
|
71509
71509
|
var props = __props;
|
|
71510
71510
|
var popoverRef = ref();
|
|
@@ -73485,6 +73485,7 @@ var script$p = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$n
|
|
|
73485
73485
|
var _this = this;
|
|
73486
73486
|
var emits = _a.emit;
|
|
73487
73487
|
var _props = __props;
|
|
73488
|
+
var selectId = ref(Date.now());
|
|
73488
73489
|
var selectRef = ref(null);
|
|
73489
73490
|
var _Reflect = __assign(__assign({}, Reflect), { get: function (data, key) {
|
|
73490
73491
|
// Map item 解析
|
|
@@ -73645,8 +73646,16 @@ var script$p = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$n
|
|
|
73645
73646
|
setOptionsData();
|
|
73646
73647
|
}
|
|
73647
73648
|
onMounted(function () {
|
|
73648
|
-
var _a, _b, _c, _d;
|
|
73649
|
+
var _a, _b, _c, _d, _e, _f;
|
|
73649
73650
|
(_d = (_c = (_b = (_a = selectRef.value) === null || _a === void 0 ? void 0 : _a.$el) === null || _b === void 0 ? void 0 : _b.querySelector('input')) === null || _c === void 0 ? void 0 : _c.setAttribute) === null || _d === void 0 ? void 0 : _d.call(_c, 'maxlength', props.maxlength);
|
|
73651
|
+
if (!props.fitInputWidth) {
|
|
73652
|
+
// 动态设置下拉框 popper 最大宽度
|
|
73653
|
+
var selectDomWidth = ((_f = (_e = selectRef.value) === null || _e === void 0 ? void 0 : _e.$el) === null || _f === void 0 ? void 0 : _f.offsetWidth) || 0;
|
|
73654
|
+
var dropdownDom = document.querySelector(".select-popper_".concat(selectId.value, " .xrk-select-dropdown__list"));
|
|
73655
|
+
if (dropdownDom) {
|
|
73656
|
+
dropdownDom.style.maxWidth = Math.max(selectDomWidth, 600) + 'px';
|
|
73657
|
+
}
|
|
73658
|
+
}
|
|
73650
73659
|
});
|
|
73651
73660
|
return function (_ctx, _cache) {
|
|
73652
73661
|
return (openBlock(), createBlock(unref(ElSelect), {
|
|
@@ -73654,6 +73663,7 @@ var script$p = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$n
|
|
|
73654
73663
|
ref: selectRef,
|
|
73655
73664
|
modelValue: unref(selectValue),
|
|
73656
73665
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return (isRef(selectValue) ? (selectValue).value = $event : null); }),
|
|
73666
|
+
"popper-class": "select-popper_".concat(selectId.value),
|
|
73657
73667
|
placeholder: __props.placeholder,
|
|
73658
73668
|
multiple: __props.multiple,
|
|
73659
73669
|
disabled: __props.disabled,
|
|
@@ -73763,7 +73773,7 @@ var script$p = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$n
|
|
|
73763
73773
|
: (__props.tagRender)
|
|
73764
73774
|
? (openBlock(), createBlock(unref(BaseSelectRender), {
|
|
73765
73775
|
key: 1,
|
|
73766
|
-
data: Object.freeze(unref(selectValue)),
|
|
73776
|
+
data: Object.freeze(getSelectOptions(_options.value, unref(selectValue))),
|
|
73767
73777
|
render: __props.tagRender
|
|
73768
73778
|
}, null, 8 /* PROPS */, ["data", "render"]))
|
|
73769
73779
|
: createCommentVNode("v-if", true)
|
|
@@ -73779,14 +73789,14 @@ var script$p = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$n
|
|
|
73779
73789
|
: (__props.tagRender)
|
|
73780
73790
|
? (openBlock(), createBlock(unref(BaseSelectRender), {
|
|
73781
73791
|
key: 1,
|
|
73782
|
-
data: Object.freeze(unref(selectValue)),
|
|
73792
|
+
data: Object.freeze(getSelectOptions(_options.value, unref(selectValue))),
|
|
73783
73793
|
render: __props.tagRender
|
|
73784
73794
|
}, null, 8 /* PROPS */, ["data", "render"]))
|
|
73785
73795
|
: createCommentVNode("v-if", true)
|
|
73786
73796
|
]; })
|
|
73787
73797
|
}
|
|
73788
73798
|
: undefined
|
|
73789
|
-
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "placeholder", "multiple", "disabled", "size", "clearable", "collapseTags", "collapseTagsTooltip", "multipleLimit", "filterable", "allowCreate", "filterMethod", "loading", "loadingText", "noMatchText", "noDataText", "fitInputWidth"]));
|
|
73799
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "popper-class", "placeholder", "multiple", "disabled", "size", "clearable", "collapseTags", "collapseTagsTooltip", "multipleLimit", "filterable", "allowCreate", "filterMethod", "loading", "loadingText", "noMatchText", "noDataText", "fitInputWidth"]));
|
|
73790
73800
|
};
|
|
73791
73801
|
} }));
|
|
73792
73802
|
|
|
@@ -74111,7 +74121,7 @@ var __default__$j = {
|
|
|
74111
74121
|
name: 'base-pagination'
|
|
74112
74122
|
};
|
|
74113
74123
|
var script$l = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$j), { props: {
|
|
74114
|
-
size: { type: String, required: false, default: '
|
|
74124
|
+
size: { type: String, required: false, default: 'default' },
|
|
74115
74125
|
currentPage: { type: Number, required: false, default: 1 },
|
|
74116
74126
|
pageSize: { type: Number, required: false, default: 15 },
|
|
74117
74127
|
total: { type: Number, required: false },
|
|
@@ -74777,9 +74787,6 @@ var script$h = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$f
|
|
|
74777
74787
|
var expose = _a.expose, emits = _a.emit;
|
|
74778
74788
|
var props = __props;
|
|
74779
74789
|
var BaseAutocompleteRef = ref();
|
|
74780
|
-
onMounted(function () {
|
|
74781
|
-
console.log(BaseAutocompleteRef.value, 'BaseAutocompleteRef');
|
|
74782
|
-
});
|
|
74783
74790
|
var handleInput = function (value) {
|
|
74784
74791
|
emits('update:modelValue', value);
|
|
74785
74792
|
emits('input', value);
|
package/lib/index.umd.js
CHANGED
|
@@ -71507,7 +71507,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
71507
71507
|
trigger: { type: String, required: false, default: 'click' },
|
|
71508
71508
|
maxCount: { type: Number, required: false },
|
|
71509
71509
|
notRepeatShow: { type: Boolean, required: false, default: true },
|
|
71510
|
-
type: { type: null, required: false, default: '
|
|
71510
|
+
type: { type: null, required: false, default: 'primary2' }
|
|
71511
71511
|
}, setup: function (__props) {
|
|
71512
71512
|
var props = __props;
|
|
71513
71513
|
var popoverRef = vue.ref();
|
|
@@ -73488,6 +73488,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
73488
73488
|
var _this = this;
|
|
73489
73489
|
var emits = _a.emit;
|
|
73490
73490
|
var _props = __props;
|
|
73491
|
+
var selectId = vue.ref(Date.now());
|
|
73491
73492
|
var selectRef = vue.ref(null);
|
|
73492
73493
|
var _Reflect = __assign(__assign({}, Reflect), { get: function (data, key) {
|
|
73493
73494
|
// Map item 解析
|
|
@@ -73648,8 +73649,16 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
73648
73649
|
setOptionsData();
|
|
73649
73650
|
}
|
|
73650
73651
|
vue.onMounted(function () {
|
|
73651
|
-
var _a, _b, _c, _d;
|
|
73652
|
+
var _a, _b, _c, _d, _e, _f;
|
|
73652
73653
|
(_d = (_c = (_b = (_a = selectRef.value) === null || _a === void 0 ? void 0 : _a.$el) === null || _b === void 0 ? void 0 : _b.querySelector('input')) === null || _c === void 0 ? void 0 : _c.setAttribute) === null || _d === void 0 ? void 0 : _d.call(_c, 'maxlength', props.maxlength);
|
|
73654
|
+
if (!props.fitInputWidth) {
|
|
73655
|
+
// 动态设置下拉框 popper 最大宽度
|
|
73656
|
+
var selectDomWidth = ((_f = (_e = selectRef.value) === null || _e === void 0 ? void 0 : _e.$el) === null || _f === void 0 ? void 0 : _f.offsetWidth) || 0;
|
|
73657
|
+
var dropdownDom = document.querySelector(".select-popper_".concat(selectId.value, " .xrk-select-dropdown__list"));
|
|
73658
|
+
if (dropdownDom) {
|
|
73659
|
+
dropdownDom.style.maxWidth = Math.max(selectDomWidth, 600) + 'px';
|
|
73660
|
+
}
|
|
73661
|
+
}
|
|
73653
73662
|
});
|
|
73654
73663
|
return function (_ctx, _cache) {
|
|
73655
73664
|
return (vue.openBlock(), vue.createBlock(vue.unref(ElSelect), {
|
|
@@ -73657,6 +73666,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
73657
73666
|
ref: selectRef,
|
|
73658
73667
|
modelValue: vue.unref(selectValue),
|
|
73659
73668
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return (vue.isRef(selectValue) ? (selectValue).value = $event : null); }),
|
|
73669
|
+
"popper-class": "select-popper_".concat(selectId.value),
|
|
73660
73670
|
placeholder: __props.placeholder,
|
|
73661
73671
|
multiple: __props.multiple,
|
|
73662
73672
|
disabled: __props.disabled,
|
|
@@ -73766,7 +73776,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
73766
73776
|
: (__props.tagRender)
|
|
73767
73777
|
? (vue.openBlock(), vue.createBlock(vue.unref(BaseSelectRender), {
|
|
73768
73778
|
key: 1,
|
|
73769
|
-
data: Object.freeze(vue.unref(selectValue)),
|
|
73779
|
+
data: Object.freeze(getSelectOptions(_options.value, vue.unref(selectValue))),
|
|
73770
73780
|
render: __props.tagRender
|
|
73771
73781
|
}, null, 8 /* PROPS */, ["data", "render"]))
|
|
73772
73782
|
: vue.createCommentVNode("v-if", true)
|
|
@@ -73782,14 +73792,14 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
73782
73792
|
: (__props.tagRender)
|
|
73783
73793
|
? (vue.openBlock(), vue.createBlock(vue.unref(BaseSelectRender), {
|
|
73784
73794
|
key: 1,
|
|
73785
|
-
data: Object.freeze(vue.unref(selectValue)),
|
|
73795
|
+
data: Object.freeze(getSelectOptions(_options.value, vue.unref(selectValue))),
|
|
73786
73796
|
render: __props.tagRender
|
|
73787
73797
|
}, null, 8 /* PROPS */, ["data", "render"]))
|
|
73788
73798
|
: vue.createCommentVNode("v-if", true)
|
|
73789
73799
|
]; })
|
|
73790
73800
|
}
|
|
73791
73801
|
: undefined
|
|
73792
|
-
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "placeholder", "multiple", "disabled", "size", "clearable", "collapseTags", "collapseTagsTooltip", "multipleLimit", "filterable", "allowCreate", "filterMethod", "loading", "loadingText", "noMatchText", "noDataText", "fitInputWidth"]));
|
|
73802
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "popper-class", "placeholder", "multiple", "disabled", "size", "clearable", "collapseTags", "collapseTagsTooltip", "multipleLimit", "filterable", "allowCreate", "filterMethod", "loading", "loadingText", "noMatchText", "noDataText", "fitInputWidth"]));
|
|
73793
73803
|
};
|
|
73794
73804
|
} }));
|
|
73795
73805
|
|
|
@@ -74114,7 +74124,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74114
74124
|
name: 'base-pagination'
|
|
74115
74125
|
};
|
|
74116
74126
|
var script$l = /*#__PURE__*/ vue.defineComponent(__assign(__assign({}, __default__$j), { props: {
|
|
74117
|
-
size: { type: String, required: false, default: '
|
|
74127
|
+
size: { type: String, required: false, default: 'default' },
|
|
74118
74128
|
currentPage: { type: Number, required: false, default: 1 },
|
|
74119
74129
|
pageSize: { type: Number, required: false, default: 15 },
|
|
74120
74130
|
total: { type: Number, required: false },
|
|
@@ -74780,9 +74790,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74780
74790
|
var expose = _a.expose, emits = _a.emit;
|
|
74781
74791
|
var props = __props;
|
|
74782
74792
|
var BaseAutocompleteRef = vue.ref();
|
|
74783
|
-
vue.onMounted(function () {
|
|
74784
|
-
console.log(BaseAutocompleteRef.value, 'BaseAutocompleteRef');
|
|
74785
|
-
});
|
|
74786
74793
|
var handleInput = function (value) {
|
|
74787
74794
|
emits('update:modelValue', value);
|
|
74788
74795
|
emits('input', value);
|