@uzum-tech/ui 1.0.3 → 1.1.0
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/dist/index.js +387 -126
- package/dist/index.prod.js +1 -1
- package/es/_internal/account-option/index.d.ts +1 -0
- package/es/_internal/account-option/index.js +1 -0
- package/es/_internal/account-option/src/AccountOption.d.ts +162 -0
- package/es/_internal/account-option/src/AccountOption.js +56 -0
- package/es/_internal/account-option/src/styles/index.cssr.d.ts +2 -0
- package/es/_internal/account-option/src/styles/index.cssr.js +40 -0
- package/es/_internal/account-option/styles/_common.d.ts +12 -0
- package/es/_internal/account-option/styles/_common.js +11 -0
- package/es/_internal/account-option/styles/dark.d.ts +2 -0
- package/es/_internal/account-option/styles/dark.js +7 -0
- package/es/_internal/account-option/styles/index.d.ts +3 -0
- package/es/_internal/account-option/styles/index.js +2 -0
- package/es/_internal/account-option/styles/light.d.ts +26 -0
- package/es/_internal/account-option/styles/light.js +11 -0
- package/es/_internal/index.d.ts +1 -0
- package/es/_internal/index.js +1 -0
- package/es/_internal/select-menu/src/SelectMenu.d.ts +3 -0
- package/es/_internal/select-menu/src/SelectMenu.js +2 -1
- package/es/_internal/select-menu/src/SelectOption.d.ts +1 -0
- package/es/_internal/select-menu/src/SelectOption.js +14 -8
- package/es/_internal/select-menu/src/interface.d.ts +1 -0
- package/es/_internal/select-menu/src/styles/index.cssr.js +4 -3
- package/es/_internal/selection/src/Selection.d.ts +35 -8
- package/es/_internal/selection/src/Selection.js +44 -25
- package/es/_internal/selection/src/styles/index.cssr.js +12 -3
- package/es/_internal/selection/styles/light.d.ts +4 -0
- package/es/_internal/selection/styles/light.js +2 -0
- package/es/badge/src/Badge.d.ts +71 -4
- package/es/badge/src/Badge.js +5 -4
- package/es/badge/src/styles/index.cssr.js +1 -1
- package/es/badge/styles/light.d.ts +7 -0
- package/es/badge/styles/light.js +9 -2
- package/es/cascader/src/Cascader.d.ts +20 -0
- package/es/cascader/src/CascaderMenu.d.ts +2 -0
- package/es/cascader/src/CascaderOption.d.ts +2 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +2 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +2 -0
- package/es/cascader/styles/light.d.ts +2 -0
- package/es/config-provider/src/internal-interface.d.ts +2 -0
- package/es/data-table/src/DataTable.d.ts +16 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +4 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +6 -2
- package/es/data-table/src/TableParts/Body.d.ts +4 -0
- package/es/data-table/src/TableParts/Cell.d.ts +8 -0
- package/es/data-table/src/TableParts/Header.d.ts +4 -0
- package/es/data-table/src/interface.d.ts +6 -0
- package/es/data-table/styles/light.d.ts +2 -0
- package/es/list/src/List.d.ts +1 -1
- package/es/list/src/ListItem.d.ts +1 -1
- package/es/pagination/src/Pagination.d.ts +22 -0
- package/es/pagination/styles/light.d.ts +2 -0
- package/es/select/demos/enUS/flag.d.ts +2 -0
- package/es/select/demos/enUS/flag.js +25 -0
- package/es/select/src/Select.d.ts +35 -1
- package/es/select/src/Select.js +10 -5
- package/es/select/src/interface.d.ts +2 -0
- package/es/select/styles/light.d.ts +2 -0
- package/es/theme-editor/src/ThemeEditor.js +2 -2
- package/es/themes/dark.js +2 -0
- package/es/themes/light.js +2 -0
- package/es/tree-select/src/TreeSelect.d.ts +20 -0
- package/es/tree-select/styles/light.d.ts +2 -0
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/account-option/index.d.ts +1 -0
- package/lib/_internal/account-option/index.js +8 -0
- package/lib/_internal/account-option/src/AccountOption.d.ts +162 -0
- package/lib/_internal/account-option/src/AccountOption.js +61 -0
- package/lib/_internal/account-option/src/styles/index.cssr.d.ts +2 -0
- package/lib/_internal/account-option/src/styles/index.cssr.js +45 -0
- package/lib/_internal/account-option/styles/_common.d.ts +12 -0
- package/lib/_internal/account-option/styles/_common.js +13 -0
- package/lib/_internal/account-option/styles/dark.d.ts +2 -0
- package/lib/_internal/account-option/styles/dark.js +10 -0
- package/lib/_internal/account-option/styles/index.d.ts +3 -0
- package/lib/_internal/account-option/styles/index.js +7 -0
- package/lib/_internal/account-option/styles/light.d.ts +26 -0
- package/lib/_internal/account-option/styles/light.js +18 -0
- package/lib/_internal/index.d.ts +1 -0
- package/lib/_internal/index.js +3 -1
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +3 -0
- package/lib/_internal/select-menu/src/SelectMenu.js +2 -1
- package/lib/_internal/select-menu/src/SelectOption.d.ts +1 -0
- package/lib/_internal/select-menu/src/SelectOption.js +14 -8
- package/lib/_internal/select-menu/src/interface.d.ts +1 -0
- package/lib/_internal/select-menu/src/styles/index.cssr.js +4 -3
- package/lib/_internal/selection/src/Selection.d.ts +35 -8
- package/lib/_internal/selection/src/Selection.js +43 -24
- package/lib/_internal/selection/src/styles/index.cssr.js +12 -3
- package/lib/_internal/selection/styles/light.d.ts +4 -0
- package/lib/_internal/selection/styles/light.js +2 -0
- package/lib/badge/src/Badge.d.ts +71 -4
- package/lib/badge/src/Badge.js +5 -4
- package/lib/badge/src/styles/index.cssr.js +1 -1
- package/lib/badge/styles/light.d.ts +7 -0
- package/lib/badge/styles/light.js +9 -2
- package/lib/cascader/src/Cascader.d.ts +20 -0
- package/lib/cascader/src/CascaderMenu.d.ts +2 -0
- package/lib/cascader/src/CascaderOption.d.ts +2 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +2 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +2 -0
- package/lib/cascader/styles/light.d.ts +2 -0
- package/lib/config-provider/src/internal-interface.d.ts +2 -0
- package/lib/data-table/src/DataTable.d.ts +16 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +4 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +6 -2
- package/lib/data-table/src/TableParts/Body.d.ts +4 -0
- package/lib/data-table/src/TableParts/Cell.d.ts +8 -0
- package/lib/data-table/src/TableParts/Header.d.ts +4 -0
- package/lib/data-table/src/interface.d.ts +6 -0
- package/lib/data-table/styles/light.d.ts +2 -0
- package/lib/list/src/List.d.ts +1 -1
- package/lib/list/src/ListItem.d.ts +1 -1
- package/lib/pagination/src/Pagination.d.ts +22 -0
- package/lib/pagination/styles/light.d.ts +2 -0
- package/lib/select/demos/enUS/flag.d.ts +2 -0
- package/lib/select/demos/enUS/flag.js +27 -0
- package/lib/select/src/Select.d.ts +35 -1
- package/lib/select/src/Select.js +10 -5
- package/lib/select/src/interface.d.ts +2 -0
- package/lib/select/styles/light.d.ts +2 -0
- package/lib/theme-editor/src/ThemeEditor.js +2 -2
- package/lib/themes/dark.js +2 -0
- package/lib/themes/light.js +2 -0
- package/lib/tree-select/src/TreeSelect.d.ts +20 -0
- package/lib/tree-select/styles/light.d.ts +2 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/web-types.json +41 -6
package/dist/index.js
CHANGED
|
@@ -3448,7 +3448,7 @@
|
|
|
3448
3448
|
}
|
|
3449
3449
|
|
|
3450
3450
|
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
|
3451
|
-
const style$
|
|
3451
|
+
const style$1G = c([c('.v-binder-follower-container', {
|
|
3452
3452
|
position: 'absolute',
|
|
3453
3453
|
left: '0',
|
|
3454
3454
|
right: '0',
|
|
@@ -3527,7 +3527,7 @@
|
|
|
3527
3527
|
}
|
|
3528
3528
|
});
|
|
3529
3529
|
const ssrAdapter = useSsrAdapter();
|
|
3530
|
-
style$
|
|
3530
|
+
style$1G.mount({
|
|
3531
3531
|
id: 'vueuc/binder',
|
|
3532
3532
|
head: true,
|
|
3533
3533
|
anchorMetaName: cssrAnchorMetaName$1,
|
|
@@ -4810,7 +4810,7 @@
|
|
|
4810
4810
|
|
|
4811
4811
|
/* eslint-disable @typescript-eslint/strict-boolean-expressions */
|
|
4812
4812
|
const hiddenAttr = 'v-hidden';
|
|
4813
|
-
const style$
|
|
4813
|
+
const style$1F = c('[v-hidden]', {
|
|
4814
4814
|
display: 'none!important'
|
|
4815
4815
|
});
|
|
4816
4816
|
var VOverflow = vue.defineComponent({
|
|
@@ -4911,7 +4911,7 @@
|
|
|
4911
4911
|
}
|
|
4912
4912
|
}
|
|
4913
4913
|
const ssrAdapter = useSsrAdapter();
|
|
4914
|
-
style$
|
|
4914
|
+
style$1F.mount({
|
|
4915
4915
|
id: 'vueuc/overflow',
|
|
4916
4916
|
head: true,
|
|
4917
4917
|
anchorMetaName: cssrAnchorMetaName$1,
|
|
@@ -21112,7 +21112,7 @@
|
|
|
21112
21112
|
*
|
|
21113
21113
|
* Letters marked by * are not implemented but reserved by Unicode standard.
|
|
21114
21114
|
*/
|
|
21115
|
-
var formatters$
|
|
21115
|
+
var formatters$5 = {
|
|
21116
21116
|
// Year
|
|
21117
21117
|
y: function y(date, token) {
|
|
21118
21118
|
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
|
|
@@ -21271,7 +21271,7 @@
|
|
|
21271
21271
|
unit: 'year'
|
|
21272
21272
|
});
|
|
21273
21273
|
}
|
|
21274
|
-
return formatters$
|
|
21274
|
+
return formatters$5.y(date, token);
|
|
21275
21275
|
},
|
|
21276
21276
|
// Local week-numbering year
|
|
21277
21277
|
Y: function Y(date, token, localize, options) {
|
|
@@ -21393,7 +21393,7 @@
|
|
|
21393
21393
|
switch (token) {
|
|
21394
21394
|
case 'M':
|
|
21395
21395
|
case 'MM':
|
|
21396
|
-
return formatters$
|
|
21396
|
+
return formatters$5.M(date, token);
|
|
21397
21397
|
// 1st, 2nd, ..., 12th
|
|
21398
21398
|
case 'Mo':
|
|
21399
21399
|
return localize.ordinalNumber(month + 1, {
|
|
@@ -21483,7 +21483,7 @@
|
|
|
21483
21483
|
unit: 'date'
|
|
21484
21484
|
});
|
|
21485
21485
|
}
|
|
21486
|
-
return formatters$
|
|
21486
|
+
return formatters$5.d(date, token);
|
|
21487
21487
|
},
|
|
21488
21488
|
// Day of year
|
|
21489
21489
|
D: function D(date, token, localize) {
|
|
@@ -21763,7 +21763,7 @@
|
|
|
21763
21763
|
unit: 'hour'
|
|
21764
21764
|
});
|
|
21765
21765
|
}
|
|
21766
|
-
return formatters$
|
|
21766
|
+
return formatters$5.h(date, token);
|
|
21767
21767
|
},
|
|
21768
21768
|
// Hour [0-23]
|
|
21769
21769
|
H: function H(date, token, localize) {
|
|
@@ -21772,7 +21772,7 @@
|
|
|
21772
21772
|
unit: 'hour'
|
|
21773
21773
|
});
|
|
21774
21774
|
}
|
|
21775
|
-
return formatters$
|
|
21775
|
+
return formatters$5.H(date, token);
|
|
21776
21776
|
},
|
|
21777
21777
|
// Hour [0-11]
|
|
21778
21778
|
K: function K(date, token, localize) {
|
|
@@ -21802,7 +21802,7 @@
|
|
|
21802
21802
|
unit: 'minute'
|
|
21803
21803
|
});
|
|
21804
21804
|
}
|
|
21805
|
-
return formatters$
|
|
21805
|
+
return formatters$5.m(date, token);
|
|
21806
21806
|
},
|
|
21807
21807
|
// Second
|
|
21808
21808
|
s: function s(date, token, localize) {
|
|
@@ -21811,11 +21811,11 @@
|
|
|
21811
21811
|
unit: 'second'
|
|
21812
21812
|
});
|
|
21813
21813
|
}
|
|
21814
|
-
return formatters$
|
|
21814
|
+
return formatters$5.s(date, token);
|
|
21815
21815
|
},
|
|
21816
21816
|
// Fraction of second
|
|
21817
21817
|
S: function S(date, token) {
|
|
21818
|
-
return formatters$
|
|
21818
|
+
return formatters$5.S(date, token);
|
|
21819
21819
|
},
|
|
21820
21820
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
21821
21821
|
X: function X(date, token, _localize, options) {
|
|
@@ -21943,6 +21943,7 @@
|
|
|
21943
21943
|
var minutes = addLeadingZeros$2(absOffset % 60, 2);
|
|
21944
21944
|
return sign + hours + delimiter + minutes;
|
|
21945
21945
|
}
|
|
21946
|
+
var formatters$4 = formatters$3;
|
|
21946
21947
|
|
|
21947
21948
|
var dateLongFormatter = function dateLongFormatter(pattern, formatLong) {
|
|
21948
21949
|
switch (pattern) {
|
|
@@ -22023,6 +22024,7 @@
|
|
|
22023
22024
|
p: timeLongFormatter,
|
|
22024
22025
|
P: dateTimeLongFormatter
|
|
22025
22026
|
};
|
|
22027
|
+
var longFormatters$2 = longFormatters$1;
|
|
22026
22028
|
|
|
22027
22029
|
var protectedDayOfYearTokens$1 = ['D', 'DD'];
|
|
22028
22030
|
var protectedWeekYearTokens$1 = ['YY', 'YYYY'];
|
|
@@ -22398,7 +22400,7 @@
|
|
|
22398
22400
|
var result = formatStr.match(longFormattingTokensRegExp$1).map(function (substring) {
|
|
22399
22401
|
var firstCharacter = substring[0];
|
|
22400
22402
|
if (firstCharacter === 'p' || firstCharacter === 'P') {
|
|
22401
|
-
var longFormatter = longFormatters$
|
|
22403
|
+
var longFormatter = longFormatters$2[firstCharacter];
|
|
22402
22404
|
return longFormatter(substring, locale.formatLong);
|
|
22403
22405
|
}
|
|
22404
22406
|
return substring;
|
|
@@ -22411,7 +22413,7 @@
|
|
|
22411
22413
|
if (firstCharacter === "'") {
|
|
22412
22414
|
return cleanEscapedString$1(substring);
|
|
22413
22415
|
}
|
|
22414
|
-
var formatter = formatters$
|
|
22416
|
+
var formatter = formatters$4[firstCharacter];
|
|
22415
22417
|
if (formatter) {
|
|
22416
22418
|
if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken$1(substring)) {
|
|
22417
22419
|
throwProtectedError$1(substring, dirtyFormatStr, String(dirtyDate));
|
|
@@ -25551,8 +25553,8 @@
|
|
|
25551
25553
|
var setters = [new DateToSystemTimezoneSetter()];
|
|
25552
25554
|
var tokens = formatString.match(longFormattingTokensRegExp).map(function (substring) {
|
|
25553
25555
|
var firstCharacter = substring[0];
|
|
25554
|
-
if (firstCharacter in longFormatters$
|
|
25555
|
-
var longFormatter = longFormatters$
|
|
25556
|
+
if (firstCharacter in longFormatters$2) {
|
|
25557
|
+
var longFormatter = longFormatters$2[firstCharacter];
|
|
25556
25558
|
return longFormatter(substring, locale.formatLong);
|
|
25557
25559
|
}
|
|
25558
25560
|
return substring;
|
|
@@ -33869,7 +33871,7 @@
|
|
|
33869
33871
|
};
|
|
33870
33872
|
}
|
|
33871
33873
|
|
|
33872
|
-
var style$
|
|
33874
|
+
var style$1E = cB("affix", [cM("affixed", {
|
|
33873
33875
|
position: "fixed"
|
|
33874
33876
|
}, [cM("absolute-positioned", {
|
|
33875
33877
|
position: "absolute"
|
|
@@ -33929,7 +33931,7 @@
|
|
|
33929
33931
|
props: affixProps,
|
|
33930
33932
|
setup(props) {
|
|
33931
33933
|
const { mergedClsPrefixRef } = useConfig(props);
|
|
33932
|
-
useStyle("-affix", style$
|
|
33934
|
+
useStyle("-affix", style$1E, mergedClsPrefixRef);
|
|
33933
33935
|
let scrollTarget = null;
|
|
33934
33936
|
const stickToTopRef = vue.ref(false);
|
|
33935
33937
|
const stickToBottomRef = vue.ref(false);
|
|
@@ -34887,7 +34889,7 @@
|
|
|
34887
34889
|
}
|
|
34888
34890
|
});
|
|
34889
34891
|
|
|
34890
|
-
var style$
|
|
34892
|
+
var style$1D = cB("base-icon", `
|
|
34891
34893
|
height: 1em;
|
|
34892
34894
|
width: 1em;
|
|
34893
34895
|
line-height: 1em;
|
|
@@ -34923,7 +34925,7 @@
|
|
|
34923
34925
|
onMouseup: Function
|
|
34924
34926
|
},
|
|
34925
34927
|
setup(props) {
|
|
34926
|
-
useStyle("-base-icon", style$
|
|
34928
|
+
useStyle("-base-icon", style$1D, vue.toRef(props, "clsPrefix"));
|
|
34927
34929
|
},
|
|
34928
34930
|
render() {
|
|
34929
34931
|
return /* @__PURE__ */ vue.h(
|
|
@@ -34943,7 +34945,7 @@
|
|
|
34943
34945
|
}
|
|
34944
34946
|
});
|
|
34945
34947
|
|
|
34946
|
-
var style$
|
|
34948
|
+
var style$1C = cB("base-close", `
|
|
34947
34949
|
display: flex;
|
|
34948
34950
|
align-items: center;
|
|
34949
34951
|
justify-content: center;
|
|
@@ -35015,7 +35017,7 @@
|
|
|
35015
35017
|
absolute: Boolean
|
|
35016
35018
|
},
|
|
35017
35019
|
setup(props) {
|
|
35018
|
-
useStyle("-base-close", style$
|
|
35020
|
+
useStyle("-base-close", style$1C, vue.toRef(props, "clsPrefix"));
|
|
35019
35021
|
return () => {
|
|
35020
35022
|
const { clsPrefix, disabled, absolute, round, isButtonTag } = props;
|
|
35021
35023
|
const Tag = isButtonTag ? "button" : "div";
|
|
@@ -35095,7 +35097,7 @@
|
|
|
35095
35097
|
})];
|
|
35096
35098
|
}
|
|
35097
35099
|
|
|
35098
|
-
var style$
|
|
35100
|
+
var style$1B = c$1([c$1("@keyframes loading-container-rotate", `
|
|
35099
35101
|
to {
|
|
35100
35102
|
-webkit-transform: rotate(360deg);
|
|
35101
35103
|
transform: rotate(360deg);
|
|
@@ -35265,7 +35267,7 @@
|
|
|
35265
35267
|
...exposedLoadingProps
|
|
35266
35268
|
},
|
|
35267
35269
|
setup(props) {
|
|
35268
|
-
useStyle("-base-loading", style$
|
|
35270
|
+
useStyle("-base-loading", style$1B, vue.toRef(props, "clsPrefix"));
|
|
35269
35271
|
},
|
|
35270
35272
|
render() {
|
|
35271
35273
|
const { clsPrefix, radius, strokeWidth, stroke, scale } = this;
|
|
@@ -35501,7 +35503,7 @@
|
|
|
35501
35503
|
shadowDepth2: "0px 20px 80px 0px rgba(0, 0, 0, 0.07)"
|
|
35502
35504
|
};
|
|
35503
35505
|
|
|
35504
|
-
const self$
|
|
35506
|
+
const self$1i = vars => {
|
|
35505
35507
|
const {
|
|
35506
35508
|
heightSmall,
|
|
35507
35509
|
heightMedium,
|
|
@@ -35522,10 +35524,10 @@
|
|
|
35522
35524
|
const skeletonLight$1 = {
|
|
35523
35525
|
name: "Skeleton",
|
|
35524
35526
|
common: derived,
|
|
35525
|
-
self: self$
|
|
35527
|
+
self: self$1i
|
|
35526
35528
|
};
|
|
35527
35529
|
|
|
35528
|
-
var style$
|
|
35530
|
+
var style$1A = c$1([cB("skeleton", `
|
|
35529
35531
|
height: 1em;
|
|
35530
35532
|
width: 100%;
|
|
35531
35533
|
transition: background-color .3s var(--u-bezier);
|
|
@@ -35581,7 +35583,7 @@
|
|
|
35581
35583
|
const themeRef = useTheme(
|
|
35582
35584
|
"Skeleton",
|
|
35583
35585
|
"-skeleton",
|
|
35584
|
-
style$
|
|
35586
|
+
style$1A,
|
|
35585
35587
|
skeletonLight$1,
|
|
35586
35588
|
props,
|
|
35587
35589
|
mergedClsPrefixRef
|
|
@@ -36330,7 +36332,7 @@
|
|
|
36330
36332
|
return treemate;
|
|
36331
36333
|
}
|
|
36332
36334
|
|
|
36333
|
-
const self$
|
|
36335
|
+
const self$1h = vars => {
|
|
36334
36336
|
const {
|
|
36335
36337
|
fontBodyMedium,
|
|
36336
36338
|
fontBodyLarge,
|
|
@@ -36356,16 +36358,16 @@
|
|
|
36356
36358
|
const emptyLight = {
|
|
36357
36359
|
name: "Empty",
|
|
36358
36360
|
common: derived,
|
|
36359
|
-
self: self$
|
|
36361
|
+
self: self$1h
|
|
36360
36362
|
};
|
|
36361
36363
|
|
|
36362
36364
|
const emptyDark$1 = {
|
|
36363
36365
|
name: "Empty",
|
|
36364
36366
|
common: derived$1,
|
|
36365
|
-
self: self$
|
|
36367
|
+
self: self$1h
|
|
36366
36368
|
};
|
|
36367
36369
|
|
|
36368
|
-
var style$
|
|
36370
|
+
var style$1z = cB("empty", `
|
|
36369
36371
|
display: flex;
|
|
36370
36372
|
flex-direction: column;
|
|
36371
36373
|
align-items: center;
|
|
@@ -36415,7 +36417,7 @@
|
|
|
36415
36417
|
const themeRef = useTheme(
|
|
36416
36418
|
"Empty",
|
|
36417
36419
|
"-empty",
|
|
36418
|
-
style$
|
|
36420
|
+
style$1z,
|
|
36419
36421
|
emptyLight,
|
|
36420
36422
|
props,
|
|
36421
36423
|
mergedClsPrefixRef
|
|
@@ -36487,7 +36489,7 @@
|
|
|
36487
36489
|
}
|
|
36488
36490
|
});
|
|
36489
36491
|
|
|
36490
|
-
const self$
|
|
36492
|
+
const self$1g = vars => {
|
|
36491
36493
|
const {
|
|
36492
36494
|
scrollbarColor,
|
|
36493
36495
|
scrollbarColorHover
|
|
@@ -36500,13 +36502,13 @@
|
|
|
36500
36502
|
const scrollbarLight = {
|
|
36501
36503
|
name: "Scrollbar",
|
|
36502
36504
|
common: derived,
|
|
36503
|
-
self: self$
|
|
36505
|
+
self: self$1g
|
|
36504
36506
|
};
|
|
36505
36507
|
|
|
36506
36508
|
const scrollbarDark = {
|
|
36507
36509
|
name: "Scrollbar",
|
|
36508
36510
|
common: derived$1,
|
|
36509
|
-
self: self$
|
|
36511
|
+
self: self$1g
|
|
36510
36512
|
};
|
|
36511
36513
|
|
|
36512
36514
|
var rtlStyle$r = cB("scrollbar", [cM("rtl", `
|
|
@@ -36545,7 +36547,7 @@
|
|
|
36545
36547
|
})];
|
|
36546
36548
|
}
|
|
36547
36549
|
|
|
36548
|
-
var style$
|
|
36550
|
+
var style$1y = cB("scrollbar", `
|
|
36549
36551
|
overflow: hidden;
|
|
36550
36552
|
position: relative;
|
|
36551
36553
|
z-index: auto;
|
|
@@ -37089,7 +37091,7 @@
|
|
|
37089
37091
|
const themeRef = useTheme(
|
|
37090
37092
|
"Scrollbar",
|
|
37091
37093
|
"-scrollbar",
|
|
37092
|
-
style$
|
|
37094
|
+
style$1y,
|
|
37093
37095
|
scrollbarLight,
|
|
37094
37096
|
props,
|
|
37095
37097
|
mergedClsPrefixRef
|
|
@@ -37292,7 +37294,7 @@
|
|
|
37292
37294
|
});
|
|
37293
37295
|
const XScrollbar = Scrollbar$1;
|
|
37294
37296
|
|
|
37295
|
-
const self$
|
|
37297
|
+
const self$1f = vars => {
|
|
37296
37298
|
const {
|
|
37297
37299
|
borderRadius,
|
|
37298
37300
|
iconMedium,
|
|
@@ -37349,7 +37351,7 @@
|
|
|
37349
37351
|
Scrollbar: scrollbarLight,
|
|
37350
37352
|
Empty: emptyLight
|
|
37351
37353
|
},
|
|
37352
|
-
self: self$
|
|
37354
|
+
self: self$1f
|
|
37353
37355
|
});
|
|
37354
37356
|
|
|
37355
37357
|
const internalSelectMenuDark = {
|
|
@@ -37359,7 +37361,7 @@
|
|
|
37359
37361
|
Scrollbar: scrollbarDark,
|
|
37360
37362
|
Empty: emptyDark$1
|
|
37361
37363
|
},
|
|
37362
|
-
self: self$
|
|
37364
|
+
self: self$1f
|
|
37363
37365
|
};
|
|
37364
37366
|
|
|
37365
37367
|
function renderCheckMark(show, clsPrefix) {
|
|
@@ -37393,6 +37395,7 @@
|
|
|
37393
37395
|
valueRef,
|
|
37394
37396
|
pendingTmNodeRef,
|
|
37395
37397
|
multipleRef,
|
|
37398
|
+
accountRef,
|
|
37396
37399
|
valueSetRef,
|
|
37397
37400
|
renderLabelRef,
|
|
37398
37401
|
renderOptionRef,
|
|
@@ -37431,6 +37434,7 @@
|
|
|
37431
37434
|
}
|
|
37432
37435
|
return {
|
|
37433
37436
|
multiple: multipleRef,
|
|
37437
|
+
account: accountRef,
|
|
37434
37438
|
isGrouped: useMemo(() => {
|
|
37435
37439
|
const { tmNode } = props;
|
|
37436
37440
|
const { parent } = tmNode;
|
|
@@ -37473,17 +37477,19 @@
|
|
|
37473
37477
|
renderLabel,
|
|
37474
37478
|
handleClick,
|
|
37475
37479
|
handleMouseEnter,
|
|
37476
|
-
handleMouseMove
|
|
37480
|
+
handleMouseMove,
|
|
37481
|
+
account
|
|
37477
37482
|
} = this;
|
|
37478
37483
|
const checkmark = renderCheckMark(isSelected, clsPrefix);
|
|
37479
|
-
const
|
|
37480
|
-
|
|
37481
|
-
|
|
37482
|
-
|
|
37483
|
-
|
|
37484
|
-
|
|
37484
|
+
const label = renderLabel ? renderLabel(rawNode, isSelected) : render$1(
|
|
37485
|
+
rawNode[this.labelField],
|
|
37486
|
+
rawNode,
|
|
37487
|
+
isSelected
|
|
37488
|
+
);
|
|
37489
|
+
const children = account ? [
|
|
37490
|
+
/* @__PURE__ */ vue.h(UBaseAccountOption, { ...rawNode, label }),
|
|
37485
37491
|
showCheckmark && checkmark
|
|
37486
|
-
];
|
|
37492
|
+
] : [label, showCheckmark && checkmark];
|
|
37487
37493
|
const attrs = nodeProps?.(rawNode);
|
|
37488
37494
|
const node = /* @__PURE__ */ vue.h(
|
|
37489
37495
|
"div",
|
|
@@ -37498,7 +37504,8 @@
|
|
|
37498
37504
|
[`${clsPrefix}-base-select-option--selected`]: isSelected,
|
|
37499
37505
|
[`${clsPrefix}-base-select-option--grouped`]: isGrouped,
|
|
37500
37506
|
[`${clsPrefix}-base-select-option--pending`]: isPending,
|
|
37501
|
-
[`${clsPrefix}-base-select-option--show-checkmark`]: showCheckmark
|
|
37507
|
+
[`${clsPrefix}-base-select-option--show-checkmark`]: showCheckmark,
|
|
37508
|
+
[`${clsPrefix}-base-select-option--account`]: account
|
|
37502
37509
|
}
|
|
37503
37510
|
],
|
|
37504
37511
|
style: [attrs?.style || "", rawNode.style || ""],
|
|
@@ -37590,7 +37597,7 @@
|
|
|
37590
37597
|
})];
|
|
37591
37598
|
}
|
|
37592
37599
|
|
|
37593
|
-
var style$
|
|
37600
|
+
var style$1x = cB("base-select-menu", `
|
|
37594
37601
|
line-height: 1.5;
|
|
37595
37602
|
outline: none;
|
|
37596
37603
|
z-index: 0;
|
|
@@ -37655,6 +37662,7 @@
|
|
|
37655
37662
|
white-space: nowrap;
|
|
37656
37663
|
text-overflow: ellipsis;
|
|
37657
37664
|
overflow: hidden;
|
|
37665
|
+
width: 100%;
|
|
37658
37666
|
`), cM("show-checkmark", `
|
|
37659
37667
|
padding-right: calc(var(--u-option-padding-right) + 20px);
|
|
37660
37668
|
`), c$1("&::before", `
|
|
@@ -37678,9 +37686,9 @@
|
|
|
37678
37686
|
padding-left: var(--u-option-padding-left);
|
|
37679
37687
|
`), cM("pending", [c$1("&::before", `
|
|
37680
37688
|
background-color: var(--u-option-color-pending);
|
|
37681
|
-
`)]), cM("selected", `
|
|
37682
|
-
|
|
37683
|
-
|
|
37689
|
+
`)]), cM("selected", [cNotM("account", `
|
|
37690
|
+
color: var(--u-option-text-color-active);
|
|
37691
|
+
`), c$1("&::before", `
|
|
37684
37692
|
background-color: var(--u-option-color-active);
|
|
37685
37693
|
`), cM("pending", [c$1("&::before", `
|
|
37686
37694
|
background-color: var(--u-option-color-active-pending);
|
|
@@ -37691,7 +37699,7 @@
|
|
|
37691
37699
|
`), cM("selected", `
|
|
37692
37700
|
opacity: var(--u-option-opacity-disabled);
|
|
37693
37701
|
`)]), cE("check", `
|
|
37694
|
-
font-size:
|
|
37702
|
+
font-size: 24px;
|
|
37695
37703
|
position: absolute;
|
|
37696
37704
|
right: calc(var(--u-option-padding-right) - 4px);
|
|
37697
37705
|
top: calc(50% - 7px);
|
|
@@ -37718,6 +37726,7 @@
|
|
|
37718
37726
|
required: true
|
|
37719
37727
|
},
|
|
37720
37728
|
multiple: Boolean,
|
|
37729
|
+
account: Boolean,
|
|
37721
37730
|
size: {
|
|
37722
37731
|
type: String,
|
|
37723
37732
|
default: "medium"
|
|
@@ -37772,7 +37781,7 @@
|
|
|
37772
37781
|
const themeRef = useTheme(
|
|
37773
37782
|
"InternalSelectMenu",
|
|
37774
37783
|
"-internal-select-menu",
|
|
37775
|
-
style$
|
|
37784
|
+
style$1x,
|
|
37776
37785
|
internalSelectMenuLight,
|
|
37777
37786
|
props,
|
|
37778
37787
|
vue.toRef(props, "clsPrefix")
|
|
@@ -37965,6 +37974,7 @@
|
|
|
37965
37974
|
nodePropsRef: vue.toRef(props, "nodeProps"),
|
|
37966
37975
|
showCheckmarkRef: vue.toRef(props, "showCheckmark"),
|
|
37967
37976
|
multipleRef: vue.toRef(props, "multiple"),
|
|
37977
|
+
accountRef: vue.toRef(props, "account"),
|
|
37968
37978
|
valueRef: vue.toRef(props, "value"),
|
|
37969
37979
|
renderLabelRef: vue.toRef(props, "renderLabel"),
|
|
37970
37980
|
renderOptionRef: vue.toRef(props, "renderOption"),
|
|
@@ -38220,7 +38230,7 @@
|
|
|
38220
38230
|
}
|
|
38221
38231
|
});
|
|
38222
38232
|
|
|
38223
|
-
var style$
|
|
38233
|
+
var style$1w = cB("base-wave", `
|
|
38224
38234
|
position: absolute;
|
|
38225
38235
|
left: 0;
|
|
38226
38236
|
right: 0;
|
|
@@ -38238,7 +38248,7 @@
|
|
|
38238
38248
|
}
|
|
38239
38249
|
},
|
|
38240
38250
|
setup(props) {
|
|
38241
|
-
useStyle("-base-wave", style$
|
|
38251
|
+
useStyle("-base-wave", style$1w, vue.toRef(props, "clsPrefix"));
|
|
38242
38252
|
const selfRef = vue.ref(null);
|
|
38243
38253
|
const activeRef = vue.ref(false);
|
|
38244
38254
|
let animationTimerId = null;
|
|
@@ -38283,7 +38293,7 @@
|
|
|
38283
38293
|
}
|
|
38284
38294
|
});
|
|
38285
38295
|
|
|
38286
|
-
var style$
|
|
38296
|
+
var style$1v = cB("base-menu-mask", `
|
|
38287
38297
|
position: absolute;
|
|
38288
38298
|
left: 0;
|
|
38289
38299
|
right: 0;
|
|
@@ -38306,7 +38316,7 @@
|
|
|
38306
38316
|
}
|
|
38307
38317
|
},
|
|
38308
38318
|
setup(props) {
|
|
38309
|
-
useStyle("-base-menu-mask", style$
|
|
38319
|
+
useStyle("-base-menu-mask", style$1v, vue.toRef(props, "clsPrefix"));
|
|
38310
38320
|
const messageRef = vue.ref(null);
|
|
38311
38321
|
let timerId = null;
|
|
38312
38322
|
const uncontrolledShowRef = vue.ref(false);
|
|
@@ -38340,7 +38350,7 @@
|
|
|
38340
38350
|
}
|
|
38341
38351
|
});
|
|
38342
38352
|
|
|
38343
|
-
const self$
|
|
38353
|
+
const self$1e = vars => {
|
|
38344
38354
|
const {
|
|
38345
38355
|
fontBodyMedium,
|
|
38346
38356
|
containerPrimary,
|
|
@@ -38367,13 +38377,13 @@
|
|
|
38367
38377
|
const popoverLight = {
|
|
38368
38378
|
name: "Popover",
|
|
38369
38379
|
common: derived,
|
|
38370
|
-
self: self$
|
|
38380
|
+
self: self$1e
|
|
38371
38381
|
};
|
|
38372
38382
|
|
|
38373
38383
|
const popoverDark = {
|
|
38374
38384
|
name: "Popover",
|
|
38375
38385
|
common: derived$1,
|
|
38376
|
-
self: self$
|
|
38386
|
+
self: self$1e
|
|
38377
38387
|
};
|
|
38378
38388
|
|
|
38379
38389
|
const oppositePlacement = {
|
|
@@ -38383,7 +38393,7 @@
|
|
|
38383
38393
|
right: "left"
|
|
38384
38394
|
};
|
|
38385
38395
|
const arrowSize = "var(--u-arrow-height) * 1.414";
|
|
38386
|
-
var style$
|
|
38396
|
+
var style$1u = c$1([cB("popover", `
|
|
38387
38397
|
transition:
|
|
38388
38398
|
box-shadow .3s var(--u-bezier),
|
|
38389
38399
|
background-color .3s var(--u-bezier),
|
|
@@ -38574,7 +38584,7 @@
|
|
|
38574
38584
|
const themeRef = useTheme(
|
|
38575
38585
|
"Popover",
|
|
38576
38586
|
"-popover",
|
|
38577
|
-
style$
|
|
38587
|
+
style$1u,
|
|
38578
38588
|
popoverLight,
|
|
38579
38589
|
props,
|
|
38580
38590
|
mergedClsPrefixRef
|
|
@@ -39379,7 +39389,7 @@
|
|
|
39379
39389
|
}
|
|
39380
39390
|
});
|
|
39381
39391
|
|
|
39382
|
-
const self$
|
|
39392
|
+
const self$1d = vars => {
|
|
39383
39393
|
const {
|
|
39384
39394
|
opacityDisabled,
|
|
39385
39395
|
borderRadiusSmall: borderRadius,
|
|
@@ -39553,13 +39563,13 @@
|
|
|
39553
39563
|
const tagLight = {
|
|
39554
39564
|
name: "Tag",
|
|
39555
39565
|
common: derived,
|
|
39556
|
-
self: self$
|
|
39566
|
+
self: self$1d
|
|
39557
39567
|
};
|
|
39558
39568
|
|
|
39559
39569
|
const tagDark = {
|
|
39560
39570
|
name: "Tag",
|
|
39561
39571
|
common: derived$1,
|
|
39562
|
-
self: self$
|
|
39572
|
+
self: self$1d
|
|
39563
39573
|
};
|
|
39564
39574
|
|
|
39565
39575
|
var rtlStyle$q = cB("tag", [cM("rtl", `
|
|
@@ -39606,7 +39616,7 @@
|
|
|
39606
39616
|
}
|
|
39607
39617
|
};
|
|
39608
39618
|
|
|
39609
|
-
var style$
|
|
39619
|
+
var style$1t = cB("tag", `
|
|
39610
39620
|
white-space: nowrap;
|
|
39611
39621
|
position: relative;
|
|
39612
39622
|
box-sizing: border-box;
|
|
@@ -39741,7 +39751,7 @@
|
|
|
39741
39751
|
const themeRef = useTheme(
|
|
39742
39752
|
"Tag",
|
|
39743
39753
|
"-tag",
|
|
39744
|
-
style$
|
|
39754
|
+
style$1t,
|
|
39745
39755
|
tagLight,
|
|
39746
39756
|
props,
|
|
39747
39757
|
mergedClsPrefixRef
|
|
@@ -39961,7 +39971,7 @@
|
|
|
39961
39971
|
}
|
|
39962
39972
|
});
|
|
39963
39973
|
|
|
39964
|
-
var style$
|
|
39974
|
+
var style$1s = cB("base-clear", `
|
|
39965
39975
|
flex-shrink: 0;
|
|
39966
39976
|
height: 1em;
|
|
39967
39977
|
width: 1em;
|
|
@@ -40002,7 +40012,7 @@
|
|
|
40002
40012
|
onClear: Function
|
|
40003
40013
|
},
|
|
40004
40014
|
setup(props) {
|
|
40005
|
-
useStyle("-base-clear", style$
|
|
40015
|
+
useStyle("-base-clear", style$1s, vue.toRef(props, "clsPrefix"));
|
|
40006
40016
|
return {
|
|
40007
40017
|
handleMouseDown(e) {
|
|
40008
40018
|
e.preventDefault();
|
|
@@ -40096,7 +40106,7 @@
|
|
|
40096
40106
|
}
|
|
40097
40107
|
});
|
|
40098
40108
|
|
|
40099
|
-
const self$
|
|
40109
|
+
const self$1c = vars => {
|
|
40100
40110
|
const {
|
|
40101
40111
|
borderRadius,
|
|
40102
40112
|
iconMedium,
|
|
@@ -40167,9 +40177,11 @@
|
|
|
40167
40177
|
placeholderColor: textSecondary,
|
|
40168
40178
|
placeholderColorDisabled: textSecondary,
|
|
40169
40179
|
color: elementsSecondary,
|
|
40180
|
+
colorFilled: elementsTertiary,
|
|
40170
40181
|
colorDisabled: elementsTertiary,
|
|
40171
40182
|
colorActive: elementsSecondary,
|
|
40172
40183
|
border: `2px solid ${elementsQuaternary}`,
|
|
40184
|
+
borderFilled: "none",
|
|
40173
40185
|
borderHover: `2px solid ${elementsPrimary}`,
|
|
40174
40186
|
borderActive: `2px solid ${elementsPrimary}`,
|
|
40175
40187
|
borderFocus: `2px solid ${elementsPrimary}`,
|
|
@@ -40255,7 +40267,7 @@
|
|
|
40255
40267
|
peers: {
|
|
40256
40268
|
Popover: popoverLight
|
|
40257
40269
|
},
|
|
40258
|
-
self: self$
|
|
40270
|
+
self: self$1c
|
|
40259
40271
|
});
|
|
40260
40272
|
|
|
40261
40273
|
const internalSelectionDark = {
|
|
@@ -40264,7 +40276,7 @@
|
|
|
40264
40276
|
peers: {
|
|
40265
40277
|
Popover: popoverDark
|
|
40266
40278
|
},
|
|
40267
|
-
self: self$
|
|
40279
|
+
self: self$1c
|
|
40268
40280
|
};
|
|
40269
40281
|
|
|
40270
40282
|
function generateSecondaryStates(state) {
|
|
@@ -40288,7 +40300,7 @@
|
|
|
40288
40300
|
color: var(--u-arrow-color${state}-secondary);
|
|
40289
40301
|
`)])];
|
|
40290
40302
|
}
|
|
40291
|
-
var style$
|
|
40303
|
+
var style$1r = c$1([cB("base-selection", `
|
|
40292
40304
|
position: relative;
|
|
40293
40305
|
z-index: auto;
|
|
40294
40306
|
box-shadow: none;
|
|
@@ -40375,6 +40387,7 @@
|
|
|
40375
40387
|
padding-top: 4px;
|
|
40376
40388
|
padding-bottom: 4px;
|
|
40377
40389
|
flex-wrap: wrap;
|
|
40390
|
+
align-content: center;
|
|
40378
40391
|
align-items: center;
|
|
40379
40392
|
width: 100%;
|
|
40380
40393
|
vertical-align: bottom;
|
|
@@ -40437,7 +40450,15 @@
|
|
|
40437
40450
|
border: var(--u-border-active);
|
|
40438
40451
|
`), cB("base-suffix", [cE("arrow", `
|
|
40439
40452
|
color: var(--u-arrow-color-hover);
|
|
40440
|
-
`)]), cB("base-selection-label", "background-color: var(--u-color-active);"), cB("base-selection-tags", "background-color: var(--u-color-active);")])])
|
|
40453
|
+
`)]), cNotM("filled", [cB("base-selection-label", "background-color: var(--u-color-active);"), cB("base-selection-tags", "background-color: var(--u-color-active);")])])]), cM("filled", [cB("base-selection-label", `
|
|
40454
|
+
background-color: var(--u-color-filled);
|
|
40455
|
+
`), cB("base-selection-tags", `
|
|
40456
|
+
background-color: var(--u-color-filled);
|
|
40457
|
+
`), cE("border", `
|
|
40458
|
+
border: var(--u-border-filled);
|
|
40459
|
+
`), cE("state-border", `
|
|
40460
|
+
border: var(--u-border-filled);
|
|
40461
|
+
`)]), cM("skeleton", "cursor: not-allowed;"), cM("disabled", "cursor: not-allowed;", [cE("border", `
|
|
40441
40462
|
border: var(--u-border-disabled);
|
|
40442
40463
|
`), cE("filter-counter", `
|
|
40443
40464
|
color: var(--u-filter-counter-text-color-disabled);
|
|
@@ -40463,7 +40484,7 @@
|
|
|
40463
40484
|
cursor: not-allowed;
|
|
40464
40485
|
color: var(--u-placeholder-color-disabled);
|
|
40465
40486
|
`), cM("secondary-selected", [generateSecondaryStates("-disabled")])]), cB("base-selection-input-tag", `
|
|
40466
|
-
line-height: calc(var(--u-height) - 12px);
|
|
40487
|
+
// line-height: calc(var(--u-height) - 12px);
|
|
40467
40488
|
outline: none;
|
|
40468
40489
|
display: none;
|
|
40469
40490
|
position: relative;
|
|
@@ -40501,7 +40522,7 @@
|
|
|
40501
40522
|
caret-color: var(--u-caret-color-secondary);
|
|
40502
40523
|
`), cB("base-selection-tags", `
|
|
40503
40524
|
padding-right: calc(var(--u-padding-right) + var(--u-arrow-size) + 37px + var(--u-clear-size));
|
|
40504
|
-
`), cNotM("disabled", [c$1("&:hover", [generateSecondaryStates("-hover"), cB("base-clear", "--u-clear-color-hover: var(--u-clear-color-hover-secondary)")]), cM("focus", [generateSecondaryStates("-focus")]), cM("active", [generateSecondaryStates("-active")])])]), ["warning", "error"].map(status => cM(`${status}-status`, [cE("state-border", `border: var(--u-border-${status});`), cNotM("secondary-selected", [cNotM("disabled", [cM("active", [cB("base-selection-label", `background-color: var(--u-color-active-${status});`), cB("base-selection-tags", `background-color: var(--u-color-active-${status});`)])])]), cNotM("disabled", [cM("active", [cE("state-border", `
|
|
40525
|
+
`), cNotM("disabled", [c$1("&:hover", [generateSecondaryStates("-hover"), cB("base-clear", "--u-clear-color-hover: var(--u-clear-color-hover-secondary)")]), cM("focus", [generateSecondaryStates("-focus")]), cM("active", [generateSecondaryStates("-active")])])]), ["warning", "error"].map(status => cM(`${status}-status`, [cE("state-border", `border: var(--u-border-${status});`), cNotM("secondary-selected", [cNotM("disabled", [cNotM("filled", [cM("active", [cB("base-selection-label", `background-color: var(--u-color-active-${status});`), cB("base-selection-tags", `background-color: var(--u-color-active-${status});`)])])])]), cNotM("disabled", [cM("active", [cE("state-border", `
|
|
40505
40526
|
box-shadow: var(--u-box-shadow-active-${status});
|
|
40506
40527
|
border: var(--u-border-active-${status});
|
|
40507
40528
|
`)]), cM("focus", [cE("state-border", `
|
|
@@ -40570,6 +40591,7 @@
|
|
|
40570
40591
|
type: String,
|
|
40571
40592
|
default: "value"
|
|
40572
40593
|
},
|
|
40594
|
+
tagField: String,
|
|
40573
40595
|
multiple: Boolean,
|
|
40574
40596
|
filterable: Boolean,
|
|
40575
40597
|
clearable: Boolean,
|
|
@@ -40587,6 +40609,7 @@
|
|
|
40587
40609
|
},
|
|
40588
40610
|
inputProps: Object,
|
|
40589
40611
|
focused: Boolean,
|
|
40612
|
+
filled: Boolean,
|
|
40590
40613
|
renderTag: Function,
|
|
40591
40614
|
onKeydown: Function,
|
|
40592
40615
|
onClick: Function,
|
|
@@ -40599,13 +40622,15 @@
|
|
|
40599
40622
|
onPatternFocus: Function,
|
|
40600
40623
|
onPatternBlur: Function,
|
|
40601
40624
|
renderLabel: Function,
|
|
40625
|
+
renderTagLabel: Function,
|
|
40602
40626
|
status: String,
|
|
40603
40627
|
inlineThemeDisabled: Boolean,
|
|
40604
40628
|
ignoreComposition: { type: Boolean, default: true },
|
|
40605
40629
|
onResize: Function,
|
|
40606
40630
|
round: Boolean,
|
|
40607
40631
|
counter: Boolean,
|
|
40608
|
-
secondary: Boolean
|
|
40632
|
+
secondary: Boolean,
|
|
40633
|
+
account: Boolean
|
|
40609
40634
|
},
|
|
40610
40635
|
setup(props) {
|
|
40611
40636
|
const patternInputMirrorRef = vue.ref(null);
|
|
@@ -40624,7 +40649,7 @@
|
|
|
40624
40649
|
const themeRef = useTheme(
|
|
40625
40650
|
"InternalSelection",
|
|
40626
40651
|
"-internal-selection",
|
|
40627
|
-
style$
|
|
40652
|
+
style$1r,
|
|
40628
40653
|
internalSelectionLight,
|
|
40629
40654
|
props,
|
|
40630
40655
|
vue.toRef(props, "clsPrefix")
|
|
@@ -40977,6 +41002,8 @@
|
|
|
40977
41002
|
colorFocusSecondary,
|
|
40978
41003
|
textColorFocusSecondary,
|
|
40979
41004
|
borderFocusSecondary,
|
|
41005
|
+
borderFilled,
|
|
41006
|
+
colorFilled,
|
|
40980
41007
|
[createKey("clearSize", size)]: clearSize,
|
|
40981
41008
|
[createKey("arrowSize", size)]: arrowSize,
|
|
40982
41009
|
[createKey("padding", size)]: padding,
|
|
@@ -40995,6 +41022,7 @@
|
|
|
40995
41022
|
return {
|
|
40996
41023
|
"--u-bezier": cubicBezierEaseInOut,
|
|
40997
41024
|
"--u-border": border,
|
|
41025
|
+
"--u-border-filled": borderFilled,
|
|
40998
41026
|
"--u-border-active": borderActive,
|
|
40999
41027
|
"--u-border-focus": borderFocus,
|
|
41000
41028
|
"--u-border-hover": borderHover,
|
|
@@ -41005,6 +41033,7 @@
|
|
|
41005
41033
|
"--u-box-shadow-hover": boxShadowHover,
|
|
41006
41034
|
"--u-caret-color": caretColor,
|
|
41007
41035
|
"--u-color": color,
|
|
41036
|
+
"--u-color-filled": colorFilled,
|
|
41008
41037
|
"--u-color-active": colorActive,
|
|
41009
41038
|
"--u-color-disabled": colorDisabled,
|
|
41010
41039
|
"--u-line-height": lineHeight,
|
|
@@ -41137,6 +41166,7 @@
|
|
|
41137
41166
|
getCounter,
|
|
41138
41167
|
getTail,
|
|
41139
41168
|
renderLabel: props.renderLabel,
|
|
41169
|
+
renderTagLabel: props.renderTagLabel,
|
|
41140
41170
|
cssVars: inlineThemeDisabled ? void 0 : cssVarsRef,
|
|
41141
41171
|
themeClass: themeClassHandle?.themeClass,
|
|
41142
41172
|
onRender: themeClassHandle?.onRender,
|
|
@@ -41159,7 +41189,10 @@
|
|
|
41159
41189
|
clsPrefix,
|
|
41160
41190
|
onRender,
|
|
41161
41191
|
renderTag,
|
|
41162
|
-
renderLabel
|
|
41192
|
+
renderLabel,
|
|
41193
|
+
tagField,
|
|
41194
|
+
renderTagLabel,
|
|
41195
|
+
account
|
|
41163
41196
|
} = this;
|
|
41164
41197
|
onRender?.();
|
|
41165
41198
|
const maxTagCountResponsive = maxTagCount === "responsive";
|
|
@@ -41192,34 +41225,41 @@
|
|
|
41192
41225
|
let body;
|
|
41193
41226
|
if (multiple) {
|
|
41194
41227
|
const { labelField } = this;
|
|
41195
|
-
const createTag = (option) =>
|
|
41196
|
-
|
|
41197
|
-
|
|
41198
|
-
|
|
41199
|
-
|
|
41200
|
-
|
|
41201
|
-
|
|
41202
|
-
option,
|
|
41203
|
-
handleClose: () => {
|
|
41204
|
-
this.handleDeleteOption(option);
|
|
41205
|
-
}
|
|
41206
|
-
}) : /* @__PURE__ */ vue.h(
|
|
41207
|
-
UTag,
|
|
41228
|
+
const createTag = (option) => {
|
|
41229
|
+
const icon = option.avatar || option.icon ? () => /* @__PURE__ */ vue.h(UBaseIcon, { clsPrefix }, {
|
|
41230
|
+
default: option.avatar || option.icon
|
|
41231
|
+
}) : null;
|
|
41232
|
+
const selectedFunctionForLabel = renderTagLabel || renderLabel;
|
|
41233
|
+
return /* @__PURE__ */ vue.h(
|
|
41234
|
+
"div",
|
|
41208
41235
|
{
|
|
41209
|
-
|
|
41210
|
-
|
|
41211
|
-
|
|
41212
|
-
|
|
41236
|
+
class: `${clsPrefix}-base-selection-tag-wrapper`,
|
|
41237
|
+
key: option.value
|
|
41238
|
+
},
|
|
41239
|
+
renderTag ? renderTag({
|
|
41240
|
+
option,
|
|
41241
|
+
handleClose: () => {
|
|
41213
41242
|
this.handleDeleteOption(option);
|
|
41243
|
+
}
|
|
41244
|
+
}) : /* @__PURE__ */ vue.h(
|
|
41245
|
+
UTag,
|
|
41246
|
+
{
|
|
41247
|
+
size: this.tagSize,
|
|
41248
|
+
closable: !option.disabled,
|
|
41249
|
+
disabled,
|
|
41250
|
+
onClose: () => {
|
|
41251
|
+
this.handleDeleteOption(option);
|
|
41252
|
+
},
|
|
41253
|
+
internalCloseIsButtonTag: false,
|
|
41254
|
+
internalCloseFocusable: false
|
|
41214
41255
|
},
|
|
41215
|
-
|
|
41216
|
-
|
|
41217
|
-
|
|
41218
|
-
|
|
41219
|
-
|
|
41220
|
-
|
|
41221
|
-
|
|
41222
|
-
);
|
|
41256
|
+
{
|
|
41257
|
+
icon: account ? icon : null,
|
|
41258
|
+
default: () => selectedFunctionForLabel ? selectedFunctionForLabel(option, true) : render$1(option[tagField || labelField], option, true)
|
|
41259
|
+
}
|
|
41260
|
+
)
|
|
41261
|
+
);
|
|
41262
|
+
};
|
|
41223
41263
|
const createOriginalTagNodes = () => (maxTagCountNumeric ? this.selectedOptions.slice(0, maxTagCount) : this.selectedOptions).map(createTag);
|
|
41224
41264
|
const input = filterable ? /* @__PURE__ */ vue.h(
|
|
41225
41265
|
"div",
|
|
@@ -41383,10 +41423,16 @@
|
|
|
41383
41423
|
}
|
|
41384
41424
|
) : popoverTrigger, placeholder);
|
|
41385
41425
|
} else {
|
|
41426
|
+
let children;
|
|
41427
|
+
if (this.label !== void 0) {
|
|
41428
|
+
const label = renderLabel ? renderLabel(this.selectedOption, true) : render$1(this.label, this.selectedOption, true);
|
|
41429
|
+
children = account && /* @__PURE__ */ vue.h(UBaseAccountOption, { ...this.selectedOption, label }) || label;
|
|
41430
|
+
}
|
|
41386
41431
|
if (filterable) {
|
|
41387
41432
|
const hasInput = this.pattern || this.isComposing;
|
|
41388
|
-
const
|
|
41389
|
-
const
|
|
41433
|
+
const isAccountFocused = this.patternInputFocused && this.account;
|
|
41434
|
+
const showPlaceholder = !isAccountFocused && !hasInput && !this.selected;
|
|
41435
|
+
const showSelectedLabel = !isAccountFocused && !hasInput && this.selected;
|
|
41390
41436
|
body = /* @__PURE__ */ vue.h(
|
|
41391
41437
|
"div",
|
|
41392
41438
|
{
|
|
@@ -41422,7 +41468,7 @@
|
|
|
41422
41468
|
option: this.selectedOption,
|
|
41423
41469
|
handleClose: () => {
|
|
41424
41470
|
}
|
|
41425
|
-
}) :
|
|
41471
|
+
}) : children)
|
|
41426
41472
|
) : null,
|
|
41427
41473
|
showPlaceholder ? /* @__PURE__ */ vue.h(
|
|
41428
41474
|
"div",
|
|
@@ -41453,7 +41499,7 @@
|
|
|
41453
41499
|
option: this.selectedOption,
|
|
41454
41500
|
handleClose: () => {
|
|
41455
41501
|
}
|
|
41456
|
-
}) :
|
|
41502
|
+
}) : children)
|
|
41457
41503
|
) : /* @__PURE__ */ vue.h(
|
|
41458
41504
|
"div",
|
|
41459
41505
|
{
|
|
@@ -41481,6 +41527,7 @@
|
|
|
41481
41527
|
[`${clsPrefix}-base-selection--selected`]: this.selected || this.active && this.pattern,
|
|
41482
41528
|
[`${clsPrefix}-base-selection--disabled`]: this.disabled,
|
|
41483
41529
|
[`${clsPrefix}-base-selection--multiple`]: this.multiple,
|
|
41530
|
+
[`${clsPrefix}-base-selection--filled`]: this.filled,
|
|
41484
41531
|
[`${clsPrefix}-base-selection--skeleton`]: this.loadingSkeleton,
|
|
41485
41532
|
// focus is not controlled by selection itself since it always need
|
|
41486
41533
|
// to be managed together with menu. provide :focus style will cause
|
|
@@ -41683,7 +41730,7 @@
|
|
|
41683
41730
|
})];
|
|
41684
41731
|
}
|
|
41685
41732
|
|
|
41686
|
-
var style$
|
|
41733
|
+
var style$1q = c$1([c$1("@keyframes u-base-slot-machine-fade-up-in", `
|
|
41687
41734
|
from {
|
|
41688
41735
|
transform: translateY(60%);
|
|
41689
41736
|
opacity: 0;
|
|
@@ -41802,7 +41849,7 @@
|
|
|
41802
41849
|
}
|
|
41803
41850
|
},
|
|
41804
41851
|
setup(props) {
|
|
41805
|
-
useStyle("-base-slot-machine", style$
|
|
41852
|
+
useStyle("-base-slot-machine", style$1q, vue.toRef(props, "clsPrefix"));
|
|
41806
41853
|
const oldValueRef = vue.ref();
|
|
41807
41854
|
const newValueRef = vue.ref();
|
|
41808
41855
|
const numbersRef = vue.computed(() => {
|
|
@@ -42160,6 +42207,188 @@
|
|
|
42160
42207
|
};
|
|
42161
42208
|
}
|
|
42162
42209
|
|
|
42210
|
+
var style$1p = cB("base-account-option", `
|
|
42211
|
+
display: flex;
|
|
42212
|
+
align-items: center;
|
|
42213
|
+
position: relative;
|
|
42214
|
+
height: var(--u-height);
|
|
42215
|
+
`, [cE("icon", `
|
|
42216
|
+
display: flex;
|
|
42217
|
+
align-items: center;
|
|
42218
|
+
justify-content: center;
|
|
42219
|
+
flex-shrink: 0;
|
|
42220
|
+
width: var(--u-icon-width);
|
|
42221
|
+
height: var(--u-icon-height);
|
|
42222
|
+
margin: var(--u-icon-margin);
|
|
42223
|
+
font-size: var(--u-icon-size);
|
|
42224
|
+
`), cE("wrap", `
|
|
42225
|
+
width: 10px;
|
|
42226
|
+
flex-grow: 1;
|
|
42227
|
+
`), cE("label", `
|
|
42228
|
+
margin: var(--u-label-margin);
|
|
42229
|
+
color: var(--u-label-color);
|
|
42230
|
+
font-size: var(--u-label-font-size);
|
|
42231
|
+
font-weight: var(--u-label-font-weight);
|
|
42232
|
+
line-height: var(--u-label-line-height);
|
|
42233
|
+
text-overflow: ellipsis;
|
|
42234
|
+
overflow: hidden;
|
|
42235
|
+
`), cE("value", `
|
|
42236
|
+
font-size: var(--u-value-font-size);
|
|
42237
|
+
font-weight: var(--u-value-font-weight);
|
|
42238
|
+
line-height: var(--u-value-line-height);
|
|
42239
|
+
text-overflow: ellipsis;
|
|
42240
|
+
overflow: hidden;
|
|
42241
|
+
`), cM("avatar", [cE("icon", `
|
|
42242
|
+
width: var(--u-avatar-width);
|
|
42243
|
+
height: var(--u-avatar-height);
|
|
42244
|
+
border-radius: var(--u-avatar-radius);
|
|
42245
|
+
background: var(--u-avatar-color);
|
|
42246
|
+
color: var(--u-avatar-icon-color);
|
|
42247
|
+
font-size: var(--u-avatar-size);
|
|
42248
|
+
`)])]);
|
|
42249
|
+
|
|
42250
|
+
var commonVars$6 = {
|
|
42251
|
+
iconWidth: "44px",
|
|
42252
|
+
iconHeight: "44px",
|
|
42253
|
+
iconMargin: "0 16px 0 0",
|
|
42254
|
+
iconSize: "44px",
|
|
42255
|
+
labelMargin: "0 0 4px 0",
|
|
42256
|
+
avatarWidth: "44px",
|
|
42257
|
+
avatarHeight: "28px",
|
|
42258
|
+
avatarRadius: "4px",
|
|
42259
|
+
avatarSize: "16px"
|
|
42260
|
+
};
|
|
42261
|
+
|
|
42262
|
+
const self$1b = vars => {
|
|
42263
|
+
const {
|
|
42264
|
+
heightHuge,
|
|
42265
|
+
fontBodyLarge,
|
|
42266
|
+
fontTitleMedium,
|
|
42267
|
+
lineHeightBodyLarge,
|
|
42268
|
+
lineHeightTitleMedium,
|
|
42269
|
+
fontWeight,
|
|
42270
|
+
fontWeightStrong,
|
|
42271
|
+
textSecondary,
|
|
42272
|
+
elementsPrimary,
|
|
42273
|
+
elementsSecondary
|
|
42274
|
+
} = vars;
|
|
42275
|
+
return {
|
|
42276
|
+
...commonVars$6,
|
|
42277
|
+
height: heightHuge,
|
|
42278
|
+
labelColor: textSecondary,
|
|
42279
|
+
labelFontSize: fontBodyLarge,
|
|
42280
|
+
labelFontWeight: fontWeight,
|
|
42281
|
+
labelLineHeight: lineHeightBodyLarge,
|
|
42282
|
+
valueFontSize: fontTitleMedium,
|
|
42283
|
+
valueFontWeight: fontWeightStrong,
|
|
42284
|
+
valueLineHeight: lineHeightTitleMedium,
|
|
42285
|
+
avatarColor: elementsPrimary,
|
|
42286
|
+
avatarIconColor: elementsSecondary
|
|
42287
|
+
};
|
|
42288
|
+
};
|
|
42289
|
+
const accountOptionLight = {
|
|
42290
|
+
name: "AccountOption",
|
|
42291
|
+
common: derived,
|
|
42292
|
+
self: self$1b
|
|
42293
|
+
};
|
|
42294
|
+
|
|
42295
|
+
const accountOptionDark = {
|
|
42296
|
+
name: "AccountOption",
|
|
42297
|
+
common: derived$1,
|
|
42298
|
+
self: self$1b
|
|
42299
|
+
};
|
|
42300
|
+
|
|
42301
|
+
var UBaseAccountOption = vue.defineComponent({
|
|
42302
|
+
name: "BaseClear",
|
|
42303
|
+
inheritAttrs: false,
|
|
42304
|
+
props: {
|
|
42305
|
+
...useTheme.props,
|
|
42306
|
+
icon: Function,
|
|
42307
|
+
avatar: Function,
|
|
42308
|
+
label: [String, Object],
|
|
42309
|
+
value: [String, Number]
|
|
42310
|
+
},
|
|
42311
|
+
setup(props) {
|
|
42312
|
+
const { mergedClsPrefixRef } = useConfig(props);
|
|
42313
|
+
const themeRef = useTheme(
|
|
42314
|
+
"AccountOption",
|
|
42315
|
+
"-base-account-option",
|
|
42316
|
+
style$1p,
|
|
42317
|
+
accountOptionLight,
|
|
42318
|
+
props,
|
|
42319
|
+
mergedClsPrefixRef
|
|
42320
|
+
);
|
|
42321
|
+
const cssVarsRef = vue.computed(() => {
|
|
42322
|
+
const {
|
|
42323
|
+
self: {
|
|
42324
|
+
height,
|
|
42325
|
+
iconWidth,
|
|
42326
|
+
iconHeight,
|
|
42327
|
+
iconMargin,
|
|
42328
|
+
iconSize,
|
|
42329
|
+
labelMargin,
|
|
42330
|
+
labelColor,
|
|
42331
|
+
labelFontSize,
|
|
42332
|
+
labelFontWeight,
|
|
42333
|
+
labelLineHeight,
|
|
42334
|
+
valueFontSize,
|
|
42335
|
+
valueFontWeight,
|
|
42336
|
+
valueLineHeight,
|
|
42337
|
+
avatarWidth,
|
|
42338
|
+
avatarHeight,
|
|
42339
|
+
avatarRadius,
|
|
42340
|
+
avatarColor,
|
|
42341
|
+
avatarIconColor,
|
|
42342
|
+
avatarSize
|
|
42343
|
+
}
|
|
42344
|
+
} = themeRef.value;
|
|
42345
|
+
return {
|
|
42346
|
+
"--u-height": height,
|
|
42347
|
+
"--u-icon-width": iconWidth,
|
|
42348
|
+
"--u-icon-height": iconHeight,
|
|
42349
|
+
"--u-icon-margin": iconMargin,
|
|
42350
|
+
"--u-icon-size": iconSize,
|
|
42351
|
+
"--u-label-margin": labelMargin,
|
|
42352
|
+
"--u-label-color": labelColor,
|
|
42353
|
+
"--u-label-font-size": labelFontSize,
|
|
42354
|
+
"--u-label-font-weight": labelFontWeight,
|
|
42355
|
+
"--u-label-line-height": labelLineHeight,
|
|
42356
|
+
"--u-value-font-size": valueFontSize,
|
|
42357
|
+
"--u-value-font-weight": valueFontWeight,
|
|
42358
|
+
"--u-value-line-height": valueLineHeight,
|
|
42359
|
+
"--u-avatar-width": avatarWidth,
|
|
42360
|
+
"--u-avatar-height": avatarHeight,
|
|
42361
|
+
"--u-avatar-radius": avatarRadius,
|
|
42362
|
+
"--u-avatar-color": avatarColor,
|
|
42363
|
+
"--u-avatar-icon-color": avatarIconColor,
|
|
42364
|
+
"--u-avatar-size": avatarSize
|
|
42365
|
+
};
|
|
42366
|
+
});
|
|
42367
|
+
return {
|
|
42368
|
+
mergedClsPrefix: mergedClsPrefixRef,
|
|
42369
|
+
cssVars: cssVarsRef
|
|
42370
|
+
};
|
|
42371
|
+
},
|
|
42372
|
+
render() {
|
|
42373
|
+
const { mergedClsPrefix, cssVars } = this;
|
|
42374
|
+
const icon = this.avatar || this.icon ? /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-base-account-option__icon` }, /* @__PURE__ */ vue.h(UBaseIcon, { clsPrefix: mergedClsPrefix }, {
|
|
42375
|
+
default: this.avatar || this.icon
|
|
42376
|
+
})) : null;
|
|
42377
|
+
return /* @__PURE__ */ vue.h(
|
|
42378
|
+
"div",
|
|
42379
|
+
{
|
|
42380
|
+
class: [
|
|
42381
|
+
`${mergedClsPrefix}-base-account-option`,
|
|
42382
|
+
this.avatar && `${mergedClsPrefix}-base-account-option--avatar`
|
|
42383
|
+
],
|
|
42384
|
+
style: cssVars
|
|
42385
|
+
},
|
|
42386
|
+
icon,
|
|
42387
|
+
/* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-base-account-option__wrap` }, /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-base-account-option__label` }, this.label), /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-base-account-option__value` }, this.value))
|
|
42388
|
+
);
|
|
42389
|
+
}
|
|
42390
|
+
});
|
|
42391
|
+
|
|
42163
42392
|
var commonVars$5 = {
|
|
42164
42393
|
iconMargin: "16px",
|
|
42165
42394
|
closeMargin: "12px",
|
|
@@ -46639,18 +46868,28 @@
|
|
|
46639
46868
|
const self$12 = vars => {
|
|
46640
46869
|
const {
|
|
46641
46870
|
brandQuaternary500,
|
|
46871
|
+
elementsPrimary,
|
|
46642
46872
|
staticGreen,
|
|
46643
46873
|
staticRed,
|
|
46644
46874
|
staticOrange,
|
|
46645
|
-
fontBodySmall
|
|
46875
|
+
fontBodySmall,
|
|
46876
|
+
textPrimary,
|
|
46877
|
+
textQuaternary
|
|
46646
46878
|
} = vars;
|
|
46647
46879
|
return {
|
|
46648
46880
|
color: staticRed,
|
|
46881
|
+
colorPrime: elementsPrimary,
|
|
46649
46882
|
colorInfo: brandQuaternary500,
|
|
46650
46883
|
colorSuccess: staticGreen,
|
|
46651
46884
|
colorError: staticRed,
|
|
46652
46885
|
colorWarning: staticOrange,
|
|
46653
|
-
fontSize: fontBodySmall
|
|
46886
|
+
fontSize: fontBodySmall,
|
|
46887
|
+
textColor: textPrimary,
|
|
46888
|
+
textColorPrime: textQuaternary,
|
|
46889
|
+
textColorInfo: textPrimary,
|
|
46890
|
+
textColorSuccess: textQuaternary,
|
|
46891
|
+
textColorError: textQuaternary,
|
|
46892
|
+
textColorWarning: textQuaternary
|
|
46654
46893
|
};
|
|
46655
46894
|
};
|
|
46656
46895
|
const badgeLight = {
|
|
@@ -46712,7 +46951,7 @@
|
|
|
46712
46951
|
transition:
|
|
46713
46952
|
background-color .3s var(--u-bezier),
|
|
46714
46953
|
color .3s var(--u-bezier);
|
|
46715
|
-
color:
|
|
46954
|
+
color: var(--u-text-color);
|
|
46716
46955
|
position: absolute;
|
|
46717
46956
|
height: 18px;
|
|
46718
46957
|
line-height: 18px;
|
|
@@ -46765,6 +47004,7 @@
|
|
|
46765
47004
|
showZero: Boolean,
|
|
46766
47005
|
processing: Boolean,
|
|
46767
47006
|
color: String,
|
|
47007
|
+
textColor: String,
|
|
46768
47008
|
offset: Array
|
|
46769
47009
|
};
|
|
46770
47010
|
var Badge = vue.defineComponent({
|
|
@@ -46796,17 +47036,22 @@
|
|
|
46796
47036
|
});
|
|
46797
47037
|
const rtlEnabledRef = useRtl("Badge", mergedRtlRef, mergedClsPrefixRef);
|
|
46798
47038
|
const cssVarsRef = vue.computed(() => {
|
|
46799
|
-
const { type, color: propColor } = props;
|
|
47039
|
+
const { type, color: propColor, textColor: propTextColor } = props;
|
|
46800
47040
|
const {
|
|
46801
47041
|
common: { cubicBezierEaseInOut, cubicBezierEaseOut },
|
|
46802
|
-
self: {
|
|
47042
|
+
self: {
|
|
47043
|
+
[createKey("color", type)]: color,
|
|
47044
|
+
[createKey("textColor", type)]: textColor,
|
|
47045
|
+
fontSize
|
|
47046
|
+
}
|
|
46803
47047
|
} = themeRef.value;
|
|
46804
47048
|
return {
|
|
46805
47049
|
"--u-font-size": fontSize,
|
|
46806
47050
|
"--u-color": propColor || color,
|
|
46807
47051
|
"--u-ripple-color": propColor || color,
|
|
46808
47052
|
"--u-bezier": cubicBezierEaseInOut,
|
|
46809
|
-
"--u-ripple-bezier": cubicBezierEaseOut
|
|
47053
|
+
"--u-ripple-bezier": cubicBezierEaseOut,
|
|
47054
|
+
"--u-text-color": propTextColor || textColor
|
|
46810
47055
|
};
|
|
46811
47056
|
});
|
|
46812
47057
|
const themeClassHandle = inlineThemeDisabled ? useThemeClass(
|
|
@@ -57064,6 +57309,9 @@
|
|
|
57064
57309
|
type: String,
|
|
57065
57310
|
default: "children"
|
|
57066
57311
|
},
|
|
57312
|
+
filled: Boolean,
|
|
57313
|
+
tagField: String,
|
|
57314
|
+
renderTagLabel: Function,
|
|
57067
57315
|
renderLabel: Function,
|
|
57068
57316
|
renderOption: Function,
|
|
57069
57317
|
renderTag: Function,
|
|
@@ -57099,7 +57347,8 @@
|
|
|
57099
57347
|
secondary: Boolean,
|
|
57100
57348
|
/** deprecated */
|
|
57101
57349
|
onChange: [Function, Array],
|
|
57102
|
-
items: Array
|
|
57350
|
+
items: Array,
|
|
57351
|
+
account: Boolean
|
|
57103
57352
|
};
|
|
57104
57353
|
var USelect = vue.defineComponent({
|
|
57105
57354
|
name: "Select",
|
|
@@ -57276,8 +57525,13 @@
|
|
|
57276
57525
|
}
|
|
57277
57526
|
return null;
|
|
57278
57527
|
});
|
|
57528
|
+
const mergedSizeRef = vue.computed(() => {
|
|
57529
|
+
if (props.account)
|
|
57530
|
+
return "huge";
|
|
57531
|
+
return formItem.mergedSizeRef.value;
|
|
57532
|
+
});
|
|
57279
57533
|
const formItem = useFormItem(props);
|
|
57280
|
-
const {
|
|
57534
|
+
const { mergedDisabledRef, mergedStatusRef } = formItem;
|
|
57281
57535
|
function doUpdateValue(value, option) {
|
|
57282
57536
|
const {
|
|
57283
57537
|
onChange,
|
|
@@ -57782,7 +58036,11 @@
|
|
|
57782
58036
|
ignoreComposition: this.ignoreComposition,
|
|
57783
58037
|
round: this.round,
|
|
57784
58038
|
counter: this.counter,
|
|
57785
|
-
secondary: this.secondary
|
|
58039
|
+
secondary: this.secondary,
|
|
58040
|
+
account: this.account,
|
|
58041
|
+
tagField: this.tagField,
|
|
58042
|
+
renderTagLabel: this.renderTagLabel,
|
|
58043
|
+
filled: this.filled
|
|
57786
58044
|
},
|
|
57787
58045
|
{
|
|
57788
58046
|
arrow: () => [this.$slots.arrow?.()]
|
|
@@ -57831,6 +58089,7 @@
|
|
|
57831
58089
|
],
|
|
57832
58090
|
clsPrefix: this.mergedClsPrefix,
|
|
57833
58091
|
focusable: true,
|
|
58092
|
+
account: this.account,
|
|
57834
58093
|
labelField: this.labelField,
|
|
57835
58094
|
valueField: this.valueField,
|
|
57836
58095
|
autoPending: true,
|
|
@@ -106402,7 +106661,7 @@
|
|
|
106402
106661
|
watermarkProps: watermarkProps
|
|
106403
106662
|
});
|
|
106404
106663
|
|
|
106405
|
-
var version = "1.0
|
|
106664
|
+
var version = "1.1.0";
|
|
106406
106665
|
|
|
106407
106666
|
function create({
|
|
106408
106667
|
componentPrefix = "U",
|
|
@@ -106480,6 +106739,7 @@
|
|
|
106480
106739
|
const darkTheme = {
|
|
106481
106740
|
name: "dark",
|
|
106482
106741
|
common: derived$1,
|
|
106742
|
+
AccountOption: accountOptionDark,
|
|
106483
106743
|
Alert: alertDark,
|
|
106484
106744
|
Anchor: anchorDark,
|
|
106485
106745
|
AutoComplete: autoCompleteDark,
|
|
@@ -106568,6 +106828,7 @@
|
|
|
106568
106828
|
const lightTheme = {
|
|
106569
106829
|
name: "light",
|
|
106570
106830
|
common: derived,
|
|
106831
|
+
AccountOption: accountOptionLight,
|
|
106571
106832
|
Alert: alertLight,
|
|
106572
106833
|
Anchor: anchorLight,
|
|
106573
106834
|
AutoComplete: autoCompleteLight,
|
|
@@ -106937,8 +107198,8 @@
|
|
|
106937
107198
|
alignItems: "center",
|
|
106938
107199
|
justifyContent: "center",
|
|
106939
107200
|
borderRadius: "50%",
|
|
106940
|
-
backgroundColor: "var(--
|
|
106941
|
-
color: "var(--text-
|
|
107201
|
+
backgroundColor: "var(--elements-secondary)",
|
|
107202
|
+
color: "var(--text-primary)",
|
|
106942
107203
|
transition: "color .3s var(--cubic-bezier-ease-in-out), background-color .3s var(--cubic-bezier-ease-in-out), box-shadow .3s var(--cubic-bezier-ease-in-out)",
|
|
106943
107204
|
boxShadow: "0 2px 8px 0px rgba(0, 0, 0, .12)",
|
|
106944
107205
|
cursor: "pointer"
|