@uzum-tech/ui 1.0.3 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/dist/index.js +372 -113
  2. package/dist/index.prod.js +1 -1
  3. package/es/_internal/account-option/index.d.ts +1 -0
  4. package/es/_internal/account-option/index.js +1 -0
  5. package/es/_internal/account-option/src/AccountOption.d.ts +162 -0
  6. package/es/_internal/account-option/src/AccountOption.js +56 -0
  7. package/es/_internal/account-option/src/styles/index.cssr.d.ts +2 -0
  8. package/es/_internal/account-option/src/styles/index.cssr.js +40 -0
  9. package/es/_internal/account-option/styles/_common.d.ts +12 -0
  10. package/es/_internal/account-option/styles/_common.js +11 -0
  11. package/es/_internal/account-option/styles/dark.d.ts +2 -0
  12. package/es/_internal/account-option/styles/dark.js +7 -0
  13. package/es/_internal/account-option/styles/index.d.ts +3 -0
  14. package/es/_internal/account-option/styles/index.js +2 -0
  15. package/es/_internal/account-option/styles/light.d.ts +26 -0
  16. package/es/_internal/account-option/styles/light.js +11 -0
  17. package/es/_internal/index.d.ts +1 -0
  18. package/es/_internal/index.js +1 -0
  19. package/es/_internal/select-menu/src/SelectMenu.d.ts +3 -0
  20. package/es/_internal/select-menu/src/SelectMenu.js +2 -1
  21. package/es/_internal/select-menu/src/SelectOption.d.ts +1 -0
  22. package/es/_internal/select-menu/src/SelectOption.js +14 -8
  23. package/es/_internal/select-menu/src/interface.d.ts +1 -0
  24. package/es/_internal/select-menu/src/styles/index.cssr.js +4 -3
  25. package/es/_internal/selection/src/Selection.d.ts +35 -8
  26. package/es/_internal/selection/src/Selection.js +44 -25
  27. package/es/_internal/selection/src/styles/index.cssr.js +12 -3
  28. package/es/_internal/selection/styles/light.d.ts +4 -0
  29. package/es/_internal/selection/styles/light.js +2 -0
  30. package/es/badge/src/Badge.d.ts +71 -4
  31. package/es/badge/src/Badge.js +5 -4
  32. package/es/badge/src/styles/index.cssr.js +1 -1
  33. package/es/badge/styles/light.d.ts +7 -0
  34. package/es/badge/styles/light.js +9 -2
  35. package/es/cascader/src/Cascader.d.ts +20 -0
  36. package/es/cascader/src/CascaderMenu.d.ts +2 -0
  37. package/es/cascader/src/CascaderOption.d.ts +2 -0
  38. package/es/cascader/src/CascaderSelectMenu.d.ts +2 -0
  39. package/es/cascader/src/CascaderSubmenu.d.ts +2 -0
  40. package/es/cascader/styles/light.d.ts +2 -0
  41. package/es/config-provider/src/internal-interface.d.ts +2 -0
  42. package/es/data-table/src/DataTable.d.ts +16 -0
  43. package/es/data-table/src/HeaderButton/FilterButton.d.ts +4 -0
  44. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +6 -2
  45. package/es/data-table/src/TableParts/Body.d.ts +4 -0
  46. package/es/data-table/src/TableParts/Cell.d.ts +8 -0
  47. package/es/data-table/src/TableParts/Header.d.ts +4 -0
  48. package/es/data-table/src/interface.d.ts +6 -0
  49. package/es/data-table/styles/light.d.ts +2 -0
  50. package/es/list/src/List.d.ts +1 -1
  51. package/es/list/src/ListItem.d.ts +1 -1
  52. package/es/pagination/src/Pagination.d.ts +22 -0
  53. package/es/pagination/styles/light.d.ts +2 -0
  54. package/es/select/demos/enUS/flag.d.ts +2 -0
  55. package/es/select/demos/enUS/flag.js +25 -0
  56. package/es/select/src/Select.d.ts +35 -1
  57. package/es/select/src/Select.js +10 -5
  58. package/es/select/src/interface.d.ts +2 -0
  59. package/es/select/styles/light.d.ts +2 -0
  60. package/es/theme-editor/src/ThemeEditor.js +2 -2
  61. package/es/themes/dark.js +2 -0
  62. package/es/themes/light.js +2 -0
  63. package/es/tree-select/src/TreeSelect.d.ts +20 -0
  64. package/es/tree-select/styles/light.d.ts +2 -0
  65. package/es/version.d.ts +1 -1
  66. package/es/version.js +1 -1
  67. package/lib/_internal/account-option/index.d.ts +1 -0
  68. package/lib/_internal/account-option/index.js +8 -0
  69. package/lib/_internal/account-option/src/AccountOption.d.ts +162 -0
  70. package/lib/_internal/account-option/src/AccountOption.js +61 -0
  71. package/lib/_internal/account-option/src/styles/index.cssr.d.ts +2 -0
  72. package/lib/_internal/account-option/src/styles/index.cssr.js +45 -0
  73. package/lib/_internal/account-option/styles/_common.d.ts +12 -0
  74. package/lib/_internal/account-option/styles/_common.js +13 -0
  75. package/lib/_internal/account-option/styles/dark.d.ts +2 -0
  76. package/lib/_internal/account-option/styles/dark.js +10 -0
  77. package/lib/_internal/account-option/styles/index.d.ts +3 -0
  78. package/lib/_internal/account-option/styles/index.js +7 -0
  79. package/lib/_internal/account-option/styles/light.d.ts +26 -0
  80. package/lib/_internal/account-option/styles/light.js +18 -0
  81. package/lib/_internal/index.d.ts +1 -0
  82. package/lib/_internal/index.js +3 -1
  83. package/lib/_internal/select-menu/src/SelectMenu.d.ts +3 -0
  84. package/lib/_internal/select-menu/src/SelectMenu.js +2 -1
  85. package/lib/_internal/select-menu/src/SelectOption.d.ts +1 -0
  86. package/lib/_internal/select-menu/src/SelectOption.js +14 -8
  87. package/lib/_internal/select-menu/src/interface.d.ts +1 -0
  88. package/lib/_internal/select-menu/src/styles/index.cssr.js +4 -3
  89. package/lib/_internal/selection/src/Selection.d.ts +35 -8
  90. package/lib/_internal/selection/src/Selection.js +43 -24
  91. package/lib/_internal/selection/src/styles/index.cssr.js +12 -3
  92. package/lib/_internal/selection/styles/light.d.ts +4 -0
  93. package/lib/_internal/selection/styles/light.js +2 -0
  94. package/lib/badge/src/Badge.d.ts +71 -4
  95. package/lib/badge/src/Badge.js +5 -4
  96. package/lib/badge/src/styles/index.cssr.js +1 -1
  97. package/lib/badge/styles/light.d.ts +7 -0
  98. package/lib/badge/styles/light.js +9 -2
  99. package/lib/cascader/src/Cascader.d.ts +20 -0
  100. package/lib/cascader/src/CascaderMenu.d.ts +2 -0
  101. package/lib/cascader/src/CascaderOption.d.ts +2 -0
  102. package/lib/cascader/src/CascaderSelectMenu.d.ts +2 -0
  103. package/lib/cascader/src/CascaderSubmenu.d.ts +2 -0
  104. package/lib/cascader/styles/light.d.ts +2 -0
  105. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  106. package/lib/data-table/src/DataTable.d.ts +16 -0
  107. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +4 -0
  108. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +6 -2
  109. package/lib/data-table/src/TableParts/Body.d.ts +4 -0
  110. package/lib/data-table/src/TableParts/Cell.d.ts +8 -0
  111. package/lib/data-table/src/TableParts/Header.d.ts +4 -0
  112. package/lib/data-table/src/interface.d.ts +6 -0
  113. package/lib/data-table/styles/light.d.ts +2 -0
  114. package/lib/list/src/List.d.ts +1 -1
  115. package/lib/list/src/ListItem.d.ts +1 -1
  116. package/lib/pagination/src/Pagination.d.ts +22 -0
  117. package/lib/pagination/styles/light.d.ts +2 -0
  118. package/lib/select/demos/enUS/flag.d.ts +2 -0
  119. package/lib/select/demos/enUS/flag.js +27 -0
  120. package/lib/select/src/Select.d.ts +35 -1
  121. package/lib/select/src/Select.js +10 -5
  122. package/lib/select/src/interface.d.ts +2 -0
  123. package/lib/select/styles/light.d.ts +2 -0
  124. package/lib/theme-editor/src/ThemeEditor.js +2 -2
  125. package/lib/themes/dark.js +2 -0
  126. package/lib/themes/light.js +2 -0
  127. package/lib/tree-select/src/TreeSelect.d.ts +20 -0
  128. package/lib/tree-select/styles/light.d.ts +2 -0
  129. package/lib/version.d.ts +1 -1
  130. package/lib/version.js +1 -1
  131. package/package.json +1 -1
  132. 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$1F = c([c('.v-binder-follower-container', {
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$1F.mount({
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$1E = c('[v-hidden]', {
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$1E.mount({
4914
+ style$1F.mount({
4915
4915
  id: 'vueuc/overflow',
4916
4916
  head: true,
4917
4917
  anchorMetaName: cssrAnchorMetaName$1,
@@ -33869,7 +33869,7 @@
33869
33869
  };
33870
33870
  }
33871
33871
 
33872
- var style$1D = cB("affix", [cM("affixed", {
33872
+ var style$1E = cB("affix", [cM("affixed", {
33873
33873
  position: "fixed"
33874
33874
  }, [cM("absolute-positioned", {
33875
33875
  position: "absolute"
@@ -33929,7 +33929,7 @@
33929
33929
  props: affixProps,
33930
33930
  setup(props) {
33931
33931
  const { mergedClsPrefixRef } = useConfig(props);
33932
- useStyle("-affix", style$1D, mergedClsPrefixRef);
33932
+ useStyle("-affix", style$1E, mergedClsPrefixRef);
33933
33933
  let scrollTarget = null;
33934
33934
  const stickToTopRef = vue.ref(false);
33935
33935
  const stickToBottomRef = vue.ref(false);
@@ -34887,7 +34887,7 @@
34887
34887
  }
34888
34888
  });
34889
34889
 
34890
- var style$1C = cB("base-icon", `
34890
+ var style$1D = cB("base-icon", `
34891
34891
  height: 1em;
34892
34892
  width: 1em;
34893
34893
  line-height: 1em;
@@ -34923,7 +34923,7 @@
34923
34923
  onMouseup: Function
34924
34924
  },
34925
34925
  setup(props) {
34926
- useStyle("-base-icon", style$1C, vue.toRef(props, "clsPrefix"));
34926
+ useStyle("-base-icon", style$1D, vue.toRef(props, "clsPrefix"));
34927
34927
  },
34928
34928
  render() {
34929
34929
  return /* @__PURE__ */ vue.h(
@@ -34943,7 +34943,7 @@
34943
34943
  }
34944
34944
  });
34945
34945
 
34946
- var style$1B = cB("base-close", `
34946
+ var style$1C = cB("base-close", `
34947
34947
  display: flex;
34948
34948
  align-items: center;
34949
34949
  justify-content: center;
@@ -35015,7 +35015,7 @@
35015
35015
  absolute: Boolean
35016
35016
  },
35017
35017
  setup(props) {
35018
- useStyle("-base-close", style$1B, vue.toRef(props, "clsPrefix"));
35018
+ useStyle("-base-close", style$1C, vue.toRef(props, "clsPrefix"));
35019
35019
  return () => {
35020
35020
  const { clsPrefix, disabled, absolute, round, isButtonTag } = props;
35021
35021
  const Tag = isButtonTag ? "button" : "div";
@@ -35095,7 +35095,7 @@
35095
35095
  })];
35096
35096
  }
35097
35097
 
35098
- var style$1A = c$1([c$1("@keyframes loading-container-rotate", `
35098
+ var style$1B = c$1([c$1("@keyframes loading-container-rotate", `
35099
35099
  to {
35100
35100
  -webkit-transform: rotate(360deg);
35101
35101
  transform: rotate(360deg);
@@ -35265,7 +35265,7 @@
35265
35265
  ...exposedLoadingProps
35266
35266
  },
35267
35267
  setup(props) {
35268
- useStyle("-base-loading", style$1A, vue.toRef(props, "clsPrefix"));
35268
+ useStyle("-base-loading", style$1B, vue.toRef(props, "clsPrefix"));
35269
35269
  },
35270
35270
  render() {
35271
35271
  const { clsPrefix, radius, strokeWidth, stroke, scale } = this;
@@ -35501,7 +35501,7 @@
35501
35501
  shadowDepth2: "0px 20px 80px 0px rgba(0, 0, 0, 0.07)"
35502
35502
  };
35503
35503
 
35504
- const self$1h = vars => {
35504
+ const self$1i = vars => {
35505
35505
  const {
35506
35506
  heightSmall,
35507
35507
  heightMedium,
@@ -35522,10 +35522,10 @@
35522
35522
  const skeletonLight$1 = {
35523
35523
  name: "Skeleton",
35524
35524
  common: derived,
35525
- self: self$1h
35525
+ self: self$1i
35526
35526
  };
35527
35527
 
35528
- var style$1z = c$1([cB("skeleton", `
35528
+ var style$1A = c$1([cB("skeleton", `
35529
35529
  height: 1em;
35530
35530
  width: 100%;
35531
35531
  transition: background-color .3s var(--u-bezier);
@@ -35581,7 +35581,7 @@
35581
35581
  const themeRef = useTheme(
35582
35582
  "Skeleton",
35583
35583
  "-skeleton",
35584
- style$1z,
35584
+ style$1A,
35585
35585
  skeletonLight$1,
35586
35586
  props,
35587
35587
  mergedClsPrefixRef
@@ -36330,7 +36330,7 @@
36330
36330
  return treemate;
36331
36331
  }
36332
36332
 
36333
- const self$1g = vars => {
36333
+ const self$1h = vars => {
36334
36334
  const {
36335
36335
  fontBodyMedium,
36336
36336
  fontBodyLarge,
@@ -36356,16 +36356,16 @@
36356
36356
  const emptyLight = {
36357
36357
  name: "Empty",
36358
36358
  common: derived,
36359
- self: self$1g
36359
+ self: self$1h
36360
36360
  };
36361
36361
 
36362
36362
  const emptyDark$1 = {
36363
36363
  name: "Empty",
36364
36364
  common: derived$1,
36365
- self: self$1g
36365
+ self: self$1h
36366
36366
  };
36367
36367
 
36368
- var style$1y = cB("empty", `
36368
+ var style$1z = cB("empty", `
36369
36369
  display: flex;
36370
36370
  flex-direction: column;
36371
36371
  align-items: center;
@@ -36415,7 +36415,7 @@
36415
36415
  const themeRef = useTheme(
36416
36416
  "Empty",
36417
36417
  "-empty",
36418
- style$1y,
36418
+ style$1z,
36419
36419
  emptyLight,
36420
36420
  props,
36421
36421
  mergedClsPrefixRef
@@ -36487,7 +36487,7 @@
36487
36487
  }
36488
36488
  });
36489
36489
 
36490
- const self$1f = vars => {
36490
+ const self$1g = vars => {
36491
36491
  const {
36492
36492
  scrollbarColor,
36493
36493
  scrollbarColorHover
@@ -36500,13 +36500,13 @@
36500
36500
  const scrollbarLight = {
36501
36501
  name: "Scrollbar",
36502
36502
  common: derived,
36503
- self: self$1f
36503
+ self: self$1g
36504
36504
  };
36505
36505
 
36506
36506
  const scrollbarDark = {
36507
36507
  name: "Scrollbar",
36508
36508
  common: derived$1,
36509
- self: self$1f
36509
+ self: self$1g
36510
36510
  };
36511
36511
 
36512
36512
  var rtlStyle$r = cB("scrollbar", [cM("rtl", `
@@ -36545,7 +36545,7 @@
36545
36545
  })];
36546
36546
  }
36547
36547
 
36548
- var style$1x = cB("scrollbar", `
36548
+ var style$1y = cB("scrollbar", `
36549
36549
  overflow: hidden;
36550
36550
  position: relative;
36551
36551
  z-index: auto;
@@ -37089,7 +37089,7 @@
37089
37089
  const themeRef = useTheme(
37090
37090
  "Scrollbar",
37091
37091
  "-scrollbar",
37092
- style$1x,
37092
+ style$1y,
37093
37093
  scrollbarLight,
37094
37094
  props,
37095
37095
  mergedClsPrefixRef
@@ -37292,7 +37292,7 @@
37292
37292
  });
37293
37293
  const XScrollbar = Scrollbar$1;
37294
37294
 
37295
- const self$1e = vars => {
37295
+ const self$1f = vars => {
37296
37296
  const {
37297
37297
  borderRadius,
37298
37298
  iconMedium,
@@ -37349,7 +37349,7 @@
37349
37349
  Scrollbar: scrollbarLight,
37350
37350
  Empty: emptyLight
37351
37351
  },
37352
- self: self$1e
37352
+ self: self$1f
37353
37353
  });
37354
37354
 
37355
37355
  const internalSelectMenuDark = {
@@ -37359,7 +37359,7 @@
37359
37359
  Scrollbar: scrollbarDark,
37360
37360
  Empty: emptyDark$1
37361
37361
  },
37362
- self: self$1e
37362
+ self: self$1f
37363
37363
  };
37364
37364
 
37365
37365
  function renderCheckMark(show, clsPrefix) {
@@ -37393,6 +37393,7 @@
37393
37393
  valueRef,
37394
37394
  pendingTmNodeRef,
37395
37395
  multipleRef,
37396
+ accountRef,
37396
37397
  valueSetRef,
37397
37398
  renderLabelRef,
37398
37399
  renderOptionRef,
@@ -37431,6 +37432,7 @@
37431
37432
  }
37432
37433
  return {
37433
37434
  multiple: multipleRef,
37435
+ account: accountRef,
37434
37436
  isGrouped: useMemo(() => {
37435
37437
  const { tmNode } = props;
37436
37438
  const { parent } = tmNode;
@@ -37473,17 +37475,19 @@
37473
37475
  renderLabel,
37474
37476
  handleClick,
37475
37477
  handleMouseEnter,
37476
- handleMouseMove
37478
+ handleMouseMove,
37479
+ account
37477
37480
  } = this;
37478
37481
  const checkmark = renderCheckMark(isSelected, clsPrefix);
37479
- const children = renderLabel ? [renderLabel(rawNode, isSelected), showCheckmark && checkmark] : [
37480
- render$1(
37481
- rawNode[this.labelField],
37482
- rawNode,
37483
- isSelected
37484
- ),
37482
+ const label = renderLabel ? renderLabel(rawNode, isSelected) : render$1(
37483
+ rawNode[this.labelField],
37484
+ rawNode,
37485
+ isSelected
37486
+ );
37487
+ const children = account ? [
37488
+ /* @__PURE__ */ vue.h(UBaseAccountOption, { ...rawNode, label }),
37485
37489
  showCheckmark && checkmark
37486
- ];
37490
+ ] : [label, showCheckmark && checkmark];
37487
37491
  const attrs = nodeProps?.(rawNode);
37488
37492
  const node = /* @__PURE__ */ vue.h(
37489
37493
  "div",
@@ -37498,7 +37502,8 @@
37498
37502
  [`${clsPrefix}-base-select-option--selected`]: isSelected,
37499
37503
  [`${clsPrefix}-base-select-option--grouped`]: isGrouped,
37500
37504
  [`${clsPrefix}-base-select-option--pending`]: isPending,
37501
- [`${clsPrefix}-base-select-option--show-checkmark`]: showCheckmark
37505
+ [`${clsPrefix}-base-select-option--show-checkmark`]: showCheckmark,
37506
+ [`${clsPrefix}-base-select-option--account`]: account
37502
37507
  }
37503
37508
  ],
37504
37509
  style: [attrs?.style || "", rawNode.style || ""],
@@ -37590,7 +37595,7 @@
37590
37595
  })];
37591
37596
  }
37592
37597
 
37593
- var style$1w = cB("base-select-menu", `
37598
+ var style$1x = cB("base-select-menu", `
37594
37599
  line-height: 1.5;
37595
37600
  outline: none;
37596
37601
  z-index: 0;
@@ -37655,6 +37660,7 @@
37655
37660
  white-space: nowrap;
37656
37661
  text-overflow: ellipsis;
37657
37662
  overflow: hidden;
37663
+ width: 100%;
37658
37664
  `), cM("show-checkmark", `
37659
37665
  padding-right: calc(var(--u-option-padding-right) + 20px);
37660
37666
  `), c$1("&::before", `
@@ -37678,9 +37684,9 @@
37678
37684
  padding-left: var(--u-option-padding-left);
37679
37685
  `), cM("pending", [c$1("&::before", `
37680
37686
  background-color: var(--u-option-color-pending);
37681
- `)]), cM("selected", `
37682
- color: var(--u-option-text-color-active);
37683
- `, [c$1("&::before", `
37687
+ `)]), cM("selected", [cNotM("account", `
37688
+ color: var(--u-option-text-color-active);
37689
+ `), c$1("&::before", `
37684
37690
  background-color: var(--u-option-color-active);
37685
37691
  `), cM("pending", [c$1("&::before", `
37686
37692
  background-color: var(--u-option-color-active-pending);
@@ -37691,7 +37697,7 @@
37691
37697
  `), cM("selected", `
37692
37698
  opacity: var(--u-option-opacity-disabled);
37693
37699
  `)]), cE("check", `
37694
- font-size: 16px;
37700
+ font-size: 24px;
37695
37701
  position: absolute;
37696
37702
  right: calc(var(--u-option-padding-right) - 4px);
37697
37703
  top: calc(50% - 7px);
@@ -37718,6 +37724,7 @@
37718
37724
  required: true
37719
37725
  },
37720
37726
  multiple: Boolean,
37727
+ account: Boolean,
37721
37728
  size: {
37722
37729
  type: String,
37723
37730
  default: "medium"
@@ -37772,7 +37779,7 @@
37772
37779
  const themeRef = useTheme(
37773
37780
  "InternalSelectMenu",
37774
37781
  "-internal-select-menu",
37775
- style$1w,
37782
+ style$1x,
37776
37783
  internalSelectMenuLight,
37777
37784
  props,
37778
37785
  vue.toRef(props, "clsPrefix")
@@ -37965,6 +37972,7 @@
37965
37972
  nodePropsRef: vue.toRef(props, "nodeProps"),
37966
37973
  showCheckmarkRef: vue.toRef(props, "showCheckmark"),
37967
37974
  multipleRef: vue.toRef(props, "multiple"),
37975
+ accountRef: vue.toRef(props, "account"),
37968
37976
  valueRef: vue.toRef(props, "value"),
37969
37977
  renderLabelRef: vue.toRef(props, "renderLabel"),
37970
37978
  renderOptionRef: vue.toRef(props, "renderOption"),
@@ -38220,7 +38228,7 @@
38220
38228
  }
38221
38229
  });
38222
38230
 
38223
- var style$1v = cB("base-wave", `
38231
+ var style$1w = cB("base-wave", `
38224
38232
  position: absolute;
38225
38233
  left: 0;
38226
38234
  right: 0;
@@ -38238,7 +38246,7 @@
38238
38246
  }
38239
38247
  },
38240
38248
  setup(props) {
38241
- useStyle("-base-wave", style$1v, vue.toRef(props, "clsPrefix"));
38249
+ useStyle("-base-wave", style$1w, vue.toRef(props, "clsPrefix"));
38242
38250
  const selfRef = vue.ref(null);
38243
38251
  const activeRef = vue.ref(false);
38244
38252
  let animationTimerId = null;
@@ -38283,7 +38291,7 @@
38283
38291
  }
38284
38292
  });
38285
38293
 
38286
- var style$1u = cB("base-menu-mask", `
38294
+ var style$1v = cB("base-menu-mask", `
38287
38295
  position: absolute;
38288
38296
  left: 0;
38289
38297
  right: 0;
@@ -38306,7 +38314,7 @@
38306
38314
  }
38307
38315
  },
38308
38316
  setup(props) {
38309
- useStyle("-base-menu-mask", style$1u, vue.toRef(props, "clsPrefix"));
38317
+ useStyle("-base-menu-mask", style$1v, vue.toRef(props, "clsPrefix"));
38310
38318
  const messageRef = vue.ref(null);
38311
38319
  let timerId = null;
38312
38320
  const uncontrolledShowRef = vue.ref(false);
@@ -38340,7 +38348,7 @@
38340
38348
  }
38341
38349
  });
38342
38350
 
38343
- const self$1d = vars => {
38351
+ const self$1e = vars => {
38344
38352
  const {
38345
38353
  fontBodyMedium,
38346
38354
  containerPrimary,
@@ -38367,13 +38375,13 @@
38367
38375
  const popoverLight = {
38368
38376
  name: "Popover",
38369
38377
  common: derived,
38370
- self: self$1d
38378
+ self: self$1e
38371
38379
  };
38372
38380
 
38373
38381
  const popoverDark = {
38374
38382
  name: "Popover",
38375
38383
  common: derived$1,
38376
- self: self$1d
38384
+ self: self$1e
38377
38385
  };
38378
38386
 
38379
38387
  const oppositePlacement = {
@@ -38383,7 +38391,7 @@
38383
38391
  right: "left"
38384
38392
  };
38385
38393
  const arrowSize = "var(--u-arrow-height) * 1.414";
38386
- var style$1t = c$1([cB("popover", `
38394
+ var style$1u = c$1([cB("popover", `
38387
38395
  transition:
38388
38396
  box-shadow .3s var(--u-bezier),
38389
38397
  background-color .3s var(--u-bezier),
@@ -38574,7 +38582,7 @@
38574
38582
  const themeRef = useTheme(
38575
38583
  "Popover",
38576
38584
  "-popover",
38577
- style$1t,
38585
+ style$1u,
38578
38586
  popoverLight,
38579
38587
  props,
38580
38588
  mergedClsPrefixRef
@@ -39379,7 +39387,7 @@
39379
39387
  }
39380
39388
  });
39381
39389
 
39382
- const self$1c = vars => {
39390
+ const self$1d = vars => {
39383
39391
  const {
39384
39392
  opacityDisabled,
39385
39393
  borderRadiusSmall: borderRadius,
@@ -39553,13 +39561,13 @@
39553
39561
  const tagLight = {
39554
39562
  name: "Tag",
39555
39563
  common: derived,
39556
- self: self$1c
39564
+ self: self$1d
39557
39565
  };
39558
39566
 
39559
39567
  const tagDark = {
39560
39568
  name: "Tag",
39561
39569
  common: derived$1,
39562
- self: self$1c
39570
+ self: self$1d
39563
39571
  };
39564
39572
 
39565
39573
  var rtlStyle$q = cB("tag", [cM("rtl", `
@@ -39606,7 +39614,7 @@
39606
39614
  }
39607
39615
  };
39608
39616
 
39609
- var style$1s = cB("tag", `
39617
+ var style$1t = cB("tag", `
39610
39618
  white-space: nowrap;
39611
39619
  position: relative;
39612
39620
  box-sizing: border-box;
@@ -39741,7 +39749,7 @@
39741
39749
  const themeRef = useTheme(
39742
39750
  "Tag",
39743
39751
  "-tag",
39744
- style$1s,
39752
+ style$1t,
39745
39753
  tagLight,
39746
39754
  props,
39747
39755
  mergedClsPrefixRef
@@ -39961,7 +39969,7 @@
39961
39969
  }
39962
39970
  });
39963
39971
 
39964
- var style$1r = cB("base-clear", `
39972
+ var style$1s = cB("base-clear", `
39965
39973
  flex-shrink: 0;
39966
39974
  height: 1em;
39967
39975
  width: 1em;
@@ -40002,7 +40010,7 @@
40002
40010
  onClear: Function
40003
40011
  },
40004
40012
  setup(props) {
40005
- useStyle("-base-clear", style$1r, vue.toRef(props, "clsPrefix"));
40013
+ useStyle("-base-clear", style$1s, vue.toRef(props, "clsPrefix"));
40006
40014
  return {
40007
40015
  handleMouseDown(e) {
40008
40016
  e.preventDefault();
@@ -40096,7 +40104,7 @@
40096
40104
  }
40097
40105
  });
40098
40106
 
40099
- const self$1b = vars => {
40107
+ const self$1c = vars => {
40100
40108
  const {
40101
40109
  borderRadius,
40102
40110
  iconMedium,
@@ -40167,9 +40175,11 @@
40167
40175
  placeholderColor: textSecondary,
40168
40176
  placeholderColorDisabled: textSecondary,
40169
40177
  color: elementsSecondary,
40178
+ colorFilled: elementsTertiary,
40170
40179
  colorDisabled: elementsTertiary,
40171
40180
  colorActive: elementsSecondary,
40172
40181
  border: `2px solid ${elementsQuaternary}`,
40182
+ borderFilled: "none",
40173
40183
  borderHover: `2px solid ${elementsPrimary}`,
40174
40184
  borderActive: `2px solid ${elementsPrimary}`,
40175
40185
  borderFocus: `2px solid ${elementsPrimary}`,
@@ -40255,7 +40265,7 @@
40255
40265
  peers: {
40256
40266
  Popover: popoverLight
40257
40267
  },
40258
- self: self$1b
40268
+ self: self$1c
40259
40269
  });
40260
40270
 
40261
40271
  const internalSelectionDark = {
@@ -40264,7 +40274,7 @@
40264
40274
  peers: {
40265
40275
  Popover: popoverDark
40266
40276
  },
40267
- self: self$1b
40277
+ self: self$1c
40268
40278
  };
40269
40279
 
40270
40280
  function generateSecondaryStates(state) {
@@ -40288,7 +40298,7 @@
40288
40298
  color: var(--u-arrow-color${state}-secondary);
40289
40299
  `)])];
40290
40300
  }
40291
- var style$1q = c$1([cB("base-selection", `
40301
+ var style$1r = c$1([cB("base-selection", `
40292
40302
  position: relative;
40293
40303
  z-index: auto;
40294
40304
  box-shadow: none;
@@ -40375,6 +40385,7 @@
40375
40385
  padding-top: 4px;
40376
40386
  padding-bottom: 4px;
40377
40387
  flex-wrap: wrap;
40388
+ align-content: center;
40378
40389
  align-items: center;
40379
40390
  width: 100%;
40380
40391
  vertical-align: bottom;
@@ -40437,7 +40448,15 @@
40437
40448
  border: var(--u-border-active);
40438
40449
  `), cB("base-suffix", [cE("arrow", `
40439
40450
  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);")])]), cM("skeleton", "cursor: not-allowed;"), cM("disabled", "cursor: not-allowed;", [cE("border", `
40451
+ `)]), 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", `
40452
+ background-color: var(--u-color-filled);
40453
+ `), cB("base-selection-tags", `
40454
+ background-color: var(--u-color-filled);
40455
+ `), cE("border", `
40456
+ border: var(--u-border-filled);
40457
+ `), cE("state-border", `
40458
+ border: var(--u-border-filled);
40459
+ `)]), cM("skeleton", "cursor: not-allowed;"), cM("disabled", "cursor: not-allowed;", [cE("border", `
40441
40460
  border: var(--u-border-disabled);
40442
40461
  `), cE("filter-counter", `
40443
40462
  color: var(--u-filter-counter-text-color-disabled);
@@ -40463,7 +40482,7 @@
40463
40482
  cursor: not-allowed;
40464
40483
  color: var(--u-placeholder-color-disabled);
40465
40484
  `), cM("secondary-selected", [generateSecondaryStates("-disabled")])]), cB("base-selection-input-tag", `
40466
- line-height: calc(var(--u-height) - 12px);
40485
+ // line-height: calc(var(--u-height) - 12px);
40467
40486
  outline: none;
40468
40487
  display: none;
40469
40488
  position: relative;
@@ -40501,7 +40520,7 @@
40501
40520
  caret-color: var(--u-caret-color-secondary);
40502
40521
  `), cB("base-selection-tags", `
40503
40522
  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", `
40523
+ `), 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
40524
  box-shadow: var(--u-box-shadow-active-${status});
40506
40525
  border: var(--u-border-active-${status});
40507
40526
  `)]), cM("focus", [cE("state-border", `
@@ -40570,6 +40589,7 @@
40570
40589
  type: String,
40571
40590
  default: "value"
40572
40591
  },
40592
+ tagField: String,
40573
40593
  multiple: Boolean,
40574
40594
  filterable: Boolean,
40575
40595
  clearable: Boolean,
@@ -40587,6 +40607,7 @@
40587
40607
  },
40588
40608
  inputProps: Object,
40589
40609
  focused: Boolean,
40610
+ filled: Boolean,
40590
40611
  renderTag: Function,
40591
40612
  onKeydown: Function,
40592
40613
  onClick: Function,
@@ -40599,13 +40620,15 @@
40599
40620
  onPatternFocus: Function,
40600
40621
  onPatternBlur: Function,
40601
40622
  renderLabel: Function,
40623
+ renderTagLabel: Function,
40602
40624
  status: String,
40603
40625
  inlineThemeDisabled: Boolean,
40604
40626
  ignoreComposition: { type: Boolean, default: true },
40605
40627
  onResize: Function,
40606
40628
  round: Boolean,
40607
40629
  counter: Boolean,
40608
- secondary: Boolean
40630
+ secondary: Boolean,
40631
+ account: Boolean
40609
40632
  },
40610
40633
  setup(props) {
40611
40634
  const patternInputMirrorRef = vue.ref(null);
@@ -40624,7 +40647,7 @@
40624
40647
  const themeRef = useTheme(
40625
40648
  "InternalSelection",
40626
40649
  "-internal-selection",
40627
- style$1q,
40650
+ style$1r,
40628
40651
  internalSelectionLight,
40629
40652
  props,
40630
40653
  vue.toRef(props, "clsPrefix")
@@ -40977,6 +41000,8 @@
40977
41000
  colorFocusSecondary,
40978
41001
  textColorFocusSecondary,
40979
41002
  borderFocusSecondary,
41003
+ borderFilled,
41004
+ colorFilled,
40980
41005
  [createKey("clearSize", size)]: clearSize,
40981
41006
  [createKey("arrowSize", size)]: arrowSize,
40982
41007
  [createKey("padding", size)]: padding,
@@ -40995,6 +41020,7 @@
40995
41020
  return {
40996
41021
  "--u-bezier": cubicBezierEaseInOut,
40997
41022
  "--u-border": border,
41023
+ "--u-border-filled": borderFilled,
40998
41024
  "--u-border-active": borderActive,
40999
41025
  "--u-border-focus": borderFocus,
41000
41026
  "--u-border-hover": borderHover,
@@ -41005,6 +41031,7 @@
41005
41031
  "--u-box-shadow-hover": boxShadowHover,
41006
41032
  "--u-caret-color": caretColor,
41007
41033
  "--u-color": color,
41034
+ "--u-color-filled": colorFilled,
41008
41035
  "--u-color-active": colorActive,
41009
41036
  "--u-color-disabled": colorDisabled,
41010
41037
  "--u-line-height": lineHeight,
@@ -41137,6 +41164,7 @@
41137
41164
  getCounter,
41138
41165
  getTail,
41139
41166
  renderLabel: props.renderLabel,
41167
+ renderTagLabel: props.renderTagLabel,
41140
41168
  cssVars: inlineThemeDisabled ? void 0 : cssVarsRef,
41141
41169
  themeClass: themeClassHandle?.themeClass,
41142
41170
  onRender: themeClassHandle?.onRender,
@@ -41159,7 +41187,10 @@
41159
41187
  clsPrefix,
41160
41188
  onRender,
41161
41189
  renderTag,
41162
- renderLabel
41190
+ renderLabel,
41191
+ tagField,
41192
+ renderTagLabel,
41193
+ account
41163
41194
  } = this;
41164
41195
  onRender?.();
41165
41196
  const maxTagCountResponsive = maxTagCount === "responsive";
@@ -41192,34 +41223,41 @@
41192
41223
  let body;
41193
41224
  if (multiple) {
41194
41225
  const { labelField } = this;
41195
- const createTag = (option) => /* @__PURE__ */ vue.h(
41196
- "div",
41197
- {
41198
- class: `${clsPrefix}-base-selection-tag-wrapper`,
41199
- key: option.value
41200
- },
41201
- renderTag ? renderTag({
41202
- option,
41203
- handleClose: () => {
41204
- this.handleDeleteOption(option);
41205
- }
41206
- }) : /* @__PURE__ */ vue.h(
41207
- UTag,
41226
+ const createTag = (option) => {
41227
+ const icon = option.avatar || option.icon ? () => /* @__PURE__ */ vue.h(UBaseIcon, { clsPrefix }, {
41228
+ default: option.avatar || option.icon
41229
+ }) : null;
41230
+ const selectedFunctionForLabel = renderTagLabel || renderLabel;
41231
+ return /* @__PURE__ */ vue.h(
41232
+ "div",
41208
41233
  {
41209
- size: this.tagSize,
41210
- closable: !option.disabled,
41211
- disabled,
41212
- onClose: () => {
41234
+ class: `${clsPrefix}-base-selection-tag-wrapper`,
41235
+ key: option.value
41236
+ },
41237
+ renderTag ? renderTag({
41238
+ option,
41239
+ handleClose: () => {
41213
41240
  this.handleDeleteOption(option);
41241
+ }
41242
+ }) : /* @__PURE__ */ vue.h(
41243
+ UTag,
41244
+ {
41245
+ size: this.tagSize,
41246
+ closable: !option.disabled,
41247
+ disabled,
41248
+ onClose: () => {
41249
+ this.handleDeleteOption(option);
41250
+ },
41251
+ internalCloseIsButtonTag: false,
41252
+ internalCloseFocusable: false
41214
41253
  },
41215
- internalCloseIsButtonTag: false,
41216
- internalCloseFocusable: false
41217
- },
41218
- {
41219
- default: () => renderLabel ? renderLabel(option, true) : render$1(option[labelField], option, true)
41220
- }
41221
- )
41222
- );
41254
+ {
41255
+ icon: account ? icon : null,
41256
+ default: () => selectedFunctionForLabel ? selectedFunctionForLabel(option, true) : render$1(option[tagField || labelField], option, true)
41257
+ }
41258
+ )
41259
+ );
41260
+ };
41223
41261
  const createOriginalTagNodes = () => (maxTagCountNumeric ? this.selectedOptions.slice(0, maxTagCount) : this.selectedOptions).map(createTag);
41224
41262
  const input = filterable ? /* @__PURE__ */ vue.h(
41225
41263
  "div",
@@ -41383,10 +41421,16 @@
41383
41421
  }
41384
41422
  ) : popoverTrigger, placeholder);
41385
41423
  } else {
41424
+ let children;
41425
+ if (this.label !== void 0) {
41426
+ const label = renderLabel ? renderLabel(this.selectedOption, true) : render$1(this.label, this.selectedOption, true);
41427
+ children = account && /* @__PURE__ */ vue.h(UBaseAccountOption, { ...this.selectedOption, label }) || label;
41428
+ }
41386
41429
  if (filterable) {
41387
41430
  const hasInput = this.pattern || this.isComposing;
41388
- const showPlaceholder = !hasInput && !this.selected;
41389
- const showSelectedLabel = !hasInput && this.selected;
41431
+ const isAccountFocused = this.patternInputFocused && this.account;
41432
+ const showPlaceholder = !isAccountFocused && !hasInput && !this.selected;
41433
+ const showSelectedLabel = !isAccountFocused && !hasInput && this.selected;
41390
41434
  body = /* @__PURE__ */ vue.h(
41391
41435
  "div",
41392
41436
  {
@@ -41422,7 +41466,7 @@
41422
41466
  option: this.selectedOption,
41423
41467
  handleClose: () => {
41424
41468
  }
41425
- }) : renderLabel ? renderLabel(this.selectedOption, true) : render$1(this.label, this.selectedOption, true))
41469
+ }) : children)
41426
41470
  ) : null,
41427
41471
  showPlaceholder ? /* @__PURE__ */ vue.h(
41428
41472
  "div",
@@ -41453,7 +41497,7 @@
41453
41497
  option: this.selectedOption,
41454
41498
  handleClose: () => {
41455
41499
  }
41456
- }) : renderLabel ? renderLabel(this.selectedOption, true) : render$1(this.label, this.selectedOption, true))
41500
+ }) : children)
41457
41501
  ) : /* @__PURE__ */ vue.h(
41458
41502
  "div",
41459
41503
  {
@@ -41481,6 +41525,7 @@
41481
41525
  [`${clsPrefix}-base-selection--selected`]: this.selected || this.active && this.pattern,
41482
41526
  [`${clsPrefix}-base-selection--disabled`]: this.disabled,
41483
41527
  [`${clsPrefix}-base-selection--multiple`]: this.multiple,
41528
+ [`${clsPrefix}-base-selection--filled`]: this.filled,
41484
41529
  [`${clsPrefix}-base-selection--skeleton`]: this.loadingSkeleton,
41485
41530
  // focus is not controlled by selection itself since it always need
41486
41531
  // to be managed together with menu. provide :focus style will cause
@@ -41683,7 +41728,7 @@
41683
41728
  })];
41684
41729
  }
41685
41730
 
41686
- var style$1p = c$1([c$1("@keyframes u-base-slot-machine-fade-up-in", `
41731
+ var style$1q = c$1([c$1("@keyframes u-base-slot-machine-fade-up-in", `
41687
41732
  from {
41688
41733
  transform: translateY(60%);
41689
41734
  opacity: 0;
@@ -41802,7 +41847,7 @@
41802
41847
  }
41803
41848
  },
41804
41849
  setup(props) {
41805
- useStyle("-base-slot-machine", style$1p, vue.toRef(props, "clsPrefix"));
41850
+ useStyle("-base-slot-machine", style$1q, vue.toRef(props, "clsPrefix"));
41806
41851
  const oldValueRef = vue.ref();
41807
41852
  const newValueRef = vue.ref();
41808
41853
  const numbersRef = vue.computed(() => {
@@ -42160,6 +42205,188 @@
42160
42205
  };
42161
42206
  }
42162
42207
 
42208
+ var style$1p = cB("base-account-option", `
42209
+ display: flex;
42210
+ align-items: center;
42211
+ position: relative;
42212
+ height: var(--u-height);
42213
+ `, [cE("icon", `
42214
+ display: flex;
42215
+ align-items: center;
42216
+ justify-content: center;
42217
+ flex-shrink: 0;
42218
+ width: var(--u-icon-width);
42219
+ height: var(--u-icon-height);
42220
+ margin: var(--u-icon-margin);
42221
+ font-size: var(--u-icon-size);
42222
+ `), cE("wrap", `
42223
+ width: 10px;
42224
+ flex-grow: 1;
42225
+ `), cE("label", `
42226
+ margin: var(--u-label-margin);
42227
+ color: var(--u-label-color);
42228
+ font-size: var(--u-label-font-size);
42229
+ font-weight: var(--u-label-font-weight);
42230
+ line-height: var(--u-label-line-height);
42231
+ text-overflow: ellipsis;
42232
+ overflow: hidden;
42233
+ `), cE("value", `
42234
+ font-size: var(--u-value-font-size);
42235
+ font-weight: var(--u-value-font-weight);
42236
+ line-height: var(--u-value-line-height);
42237
+ text-overflow: ellipsis;
42238
+ overflow: hidden;
42239
+ `), cM("avatar", [cE("icon", `
42240
+ width: var(--u-avatar-width);
42241
+ height: var(--u-avatar-height);
42242
+ border-radius: var(--u-avatar-radius);
42243
+ background: var(--u-avatar-color);
42244
+ color: var(--u-avatar-icon-color);
42245
+ font-size: var(--u-avatar-size);
42246
+ `)])]);
42247
+
42248
+ var commonVars$6 = {
42249
+ iconWidth: "44px",
42250
+ iconHeight: "44px",
42251
+ iconMargin: "0 16px 0 0",
42252
+ iconSize: "44px",
42253
+ labelMargin: "0 0 4px 0",
42254
+ avatarWidth: "44px",
42255
+ avatarHeight: "28px",
42256
+ avatarRadius: "4px",
42257
+ avatarSize: "16px"
42258
+ };
42259
+
42260
+ const self$1b = vars => {
42261
+ const {
42262
+ heightHuge,
42263
+ fontBodyLarge,
42264
+ fontTitleMedium,
42265
+ lineHeightBodyLarge,
42266
+ lineHeightTitleMedium,
42267
+ fontWeight,
42268
+ fontWeightStrong,
42269
+ textSecondary,
42270
+ elementsPrimary,
42271
+ elementsSecondary
42272
+ } = vars;
42273
+ return {
42274
+ ...commonVars$6,
42275
+ height: heightHuge,
42276
+ labelColor: textSecondary,
42277
+ labelFontSize: fontBodyLarge,
42278
+ labelFontWeight: fontWeight,
42279
+ labelLineHeight: lineHeightBodyLarge,
42280
+ valueFontSize: fontTitleMedium,
42281
+ valueFontWeight: fontWeightStrong,
42282
+ valueLineHeight: lineHeightTitleMedium,
42283
+ avatarColor: elementsPrimary,
42284
+ avatarIconColor: elementsSecondary
42285
+ };
42286
+ };
42287
+ const accountOptionLight = {
42288
+ name: "AccountOption",
42289
+ common: derived,
42290
+ self: self$1b
42291
+ };
42292
+
42293
+ const accountOptionDark = {
42294
+ name: "AccountOption",
42295
+ common: derived$1,
42296
+ self: self$1b
42297
+ };
42298
+
42299
+ var UBaseAccountOption = vue.defineComponent({
42300
+ name: "BaseClear",
42301
+ inheritAttrs: false,
42302
+ props: {
42303
+ ...useTheme.props,
42304
+ icon: Function,
42305
+ avatar: Function,
42306
+ label: [String, Object],
42307
+ value: [String, Number]
42308
+ },
42309
+ setup(props) {
42310
+ const { mergedClsPrefixRef } = useConfig(props);
42311
+ const themeRef = useTheme(
42312
+ "AccountOption",
42313
+ "-base-account-option",
42314
+ style$1p,
42315
+ accountOptionLight,
42316
+ props,
42317
+ mergedClsPrefixRef
42318
+ );
42319
+ const cssVarsRef = vue.computed(() => {
42320
+ const {
42321
+ self: {
42322
+ height,
42323
+ iconWidth,
42324
+ iconHeight,
42325
+ iconMargin,
42326
+ iconSize,
42327
+ labelMargin,
42328
+ labelColor,
42329
+ labelFontSize,
42330
+ labelFontWeight,
42331
+ labelLineHeight,
42332
+ valueFontSize,
42333
+ valueFontWeight,
42334
+ valueLineHeight,
42335
+ avatarWidth,
42336
+ avatarHeight,
42337
+ avatarRadius,
42338
+ avatarColor,
42339
+ avatarIconColor,
42340
+ avatarSize
42341
+ }
42342
+ } = themeRef.value;
42343
+ return {
42344
+ "--u-height": height,
42345
+ "--u-icon-width": iconWidth,
42346
+ "--u-icon-height": iconHeight,
42347
+ "--u-icon-margin": iconMargin,
42348
+ "--u-icon-size": iconSize,
42349
+ "--u-label-margin": labelMargin,
42350
+ "--u-label-color": labelColor,
42351
+ "--u-label-font-size": labelFontSize,
42352
+ "--u-label-font-weight": labelFontWeight,
42353
+ "--u-label-line-height": labelLineHeight,
42354
+ "--u-value-font-size": valueFontSize,
42355
+ "--u-value-font-weight": valueFontWeight,
42356
+ "--u-value-line-height": valueLineHeight,
42357
+ "--u-avatar-width": avatarWidth,
42358
+ "--u-avatar-height": avatarHeight,
42359
+ "--u-avatar-radius": avatarRadius,
42360
+ "--u-avatar-color": avatarColor,
42361
+ "--u-avatar-icon-color": avatarIconColor,
42362
+ "--u-avatar-size": avatarSize
42363
+ };
42364
+ });
42365
+ return {
42366
+ mergedClsPrefix: mergedClsPrefixRef,
42367
+ cssVars: cssVarsRef
42368
+ };
42369
+ },
42370
+ render() {
42371
+ const { mergedClsPrefix, cssVars } = this;
42372
+ const icon = this.avatar || this.icon ? /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-base-account-option__icon` }, /* @__PURE__ */ vue.h(UBaseIcon, { clsPrefix: mergedClsPrefix }, {
42373
+ default: this.avatar || this.icon
42374
+ })) : null;
42375
+ return /* @__PURE__ */ vue.h(
42376
+ "div",
42377
+ {
42378
+ class: [
42379
+ `${mergedClsPrefix}-base-account-option`,
42380
+ this.avatar && `${mergedClsPrefix}-base-account-option--avatar`
42381
+ ],
42382
+ style: cssVars
42383
+ },
42384
+ icon,
42385
+ /* @__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))
42386
+ );
42387
+ }
42388
+ });
42389
+
42163
42390
  var commonVars$5 = {
42164
42391
  iconMargin: "16px",
42165
42392
  closeMargin: "12px",
@@ -46639,18 +46866,28 @@
46639
46866
  const self$12 = vars => {
46640
46867
  const {
46641
46868
  brandQuaternary500,
46869
+ elementsPrimary,
46642
46870
  staticGreen,
46643
46871
  staticRed,
46644
46872
  staticOrange,
46645
- fontBodySmall
46873
+ fontBodySmall,
46874
+ textPrimary,
46875
+ textQuaternary
46646
46876
  } = vars;
46647
46877
  return {
46648
46878
  color: staticRed,
46879
+ colorPrime: elementsPrimary,
46649
46880
  colorInfo: brandQuaternary500,
46650
46881
  colorSuccess: staticGreen,
46651
46882
  colorError: staticRed,
46652
46883
  colorWarning: staticOrange,
46653
- fontSize: fontBodySmall
46884
+ fontSize: fontBodySmall,
46885
+ textColor: textPrimary,
46886
+ textColorPrime: textQuaternary,
46887
+ textColorInfo: textPrimary,
46888
+ textColorSuccess: textQuaternary,
46889
+ textColorError: textQuaternary,
46890
+ textColorWarning: textQuaternary
46654
46891
  };
46655
46892
  };
46656
46893
  const badgeLight = {
@@ -46712,7 +46949,7 @@
46712
46949
  transition:
46713
46950
  background-color .3s var(--u-bezier),
46714
46951
  color .3s var(--u-bezier);
46715
- color: #FFF;
46952
+ color: var(--u-text-color);
46716
46953
  position: absolute;
46717
46954
  height: 18px;
46718
46955
  line-height: 18px;
@@ -46765,6 +47002,7 @@
46765
47002
  showZero: Boolean,
46766
47003
  processing: Boolean,
46767
47004
  color: String,
47005
+ textColor: String,
46768
47006
  offset: Array
46769
47007
  };
46770
47008
  var Badge = vue.defineComponent({
@@ -46796,17 +47034,22 @@
46796
47034
  });
46797
47035
  const rtlEnabledRef = useRtl("Badge", mergedRtlRef, mergedClsPrefixRef);
46798
47036
  const cssVarsRef = vue.computed(() => {
46799
- const { type, color: propColor } = props;
47037
+ const { type, color: propColor, textColor: propTextColor } = props;
46800
47038
  const {
46801
47039
  common: { cubicBezierEaseInOut, cubicBezierEaseOut },
46802
- self: { [createKey("color", type)]: color, fontSize }
47040
+ self: {
47041
+ [createKey("color", type)]: color,
47042
+ [createKey("textColor", type)]: textColor,
47043
+ fontSize
47044
+ }
46803
47045
  } = themeRef.value;
46804
47046
  return {
46805
47047
  "--u-font-size": fontSize,
46806
47048
  "--u-color": propColor || color,
46807
47049
  "--u-ripple-color": propColor || color,
46808
47050
  "--u-bezier": cubicBezierEaseInOut,
46809
- "--u-ripple-bezier": cubicBezierEaseOut
47051
+ "--u-ripple-bezier": cubicBezierEaseOut,
47052
+ "--u-text-color": propTextColor || textColor
46810
47053
  };
46811
47054
  });
46812
47055
  const themeClassHandle = inlineThemeDisabled ? useThemeClass(
@@ -57064,6 +57307,9 @@
57064
57307
  type: String,
57065
57308
  default: "children"
57066
57309
  },
57310
+ filled: Boolean,
57311
+ tagField: String,
57312
+ renderTagLabel: Function,
57067
57313
  renderLabel: Function,
57068
57314
  renderOption: Function,
57069
57315
  renderTag: Function,
@@ -57099,7 +57345,8 @@
57099
57345
  secondary: Boolean,
57100
57346
  /** deprecated */
57101
57347
  onChange: [Function, Array],
57102
- items: Array
57348
+ items: Array,
57349
+ account: Boolean
57103
57350
  };
57104
57351
  var USelect = vue.defineComponent({
57105
57352
  name: "Select",
@@ -57276,8 +57523,13 @@
57276
57523
  }
57277
57524
  return null;
57278
57525
  });
57526
+ const mergedSizeRef = vue.computed(() => {
57527
+ if (props.account)
57528
+ return "huge";
57529
+ return formItem.mergedSizeRef.value;
57530
+ });
57279
57531
  const formItem = useFormItem(props);
57280
- const { mergedSizeRef, mergedDisabledRef, mergedStatusRef } = formItem;
57532
+ const { mergedDisabledRef, mergedStatusRef } = formItem;
57281
57533
  function doUpdateValue(value, option) {
57282
57534
  const {
57283
57535
  onChange,
@@ -57782,7 +58034,11 @@
57782
58034
  ignoreComposition: this.ignoreComposition,
57783
58035
  round: this.round,
57784
58036
  counter: this.counter,
57785
- secondary: this.secondary
58037
+ secondary: this.secondary,
58038
+ account: this.account,
58039
+ tagField: this.tagField,
58040
+ renderTagLabel: this.renderTagLabel,
58041
+ filled: this.filled
57786
58042
  },
57787
58043
  {
57788
58044
  arrow: () => [this.$slots.arrow?.()]
@@ -57831,6 +58087,7 @@
57831
58087
  ],
57832
58088
  clsPrefix: this.mergedClsPrefix,
57833
58089
  focusable: true,
58090
+ account: this.account,
57834
58091
  labelField: this.labelField,
57835
58092
  valueField: this.valueField,
57836
58093
  autoPending: true,
@@ -106402,7 +106659,7 @@
106402
106659
  watermarkProps: watermarkProps
106403
106660
  });
106404
106661
 
106405
- var version = "1.0.3";
106662
+ var version = "1.1.1";
106406
106663
 
106407
106664
  function create({
106408
106665
  componentPrefix = "U",
@@ -106480,6 +106737,7 @@
106480
106737
  const darkTheme = {
106481
106738
  name: "dark",
106482
106739
  common: derived$1,
106740
+ AccountOption: accountOptionDark,
106483
106741
  Alert: alertDark,
106484
106742
  Anchor: anchorDark,
106485
106743
  AutoComplete: autoCompleteDark,
@@ -106568,6 +106826,7 @@
106568
106826
  const lightTheme = {
106569
106827
  name: "light",
106570
106828
  common: derived,
106829
+ AccountOption: accountOptionLight,
106571
106830
  Alert: alertLight,
106572
106831
  Anchor: anchorLight,
106573
106832
  AutoComplete: autoCompleteLight,
@@ -106937,8 +107196,8 @@
106937
107196
  alignItems: "center",
106938
107197
  justifyContent: "center",
106939
107198
  borderRadius: "50%",
106940
- backgroundColor: "var(--popover-color)",
106941
- color: "var(--text-color-2)",
107199
+ backgroundColor: "var(--elements-secondary)",
107200
+ color: "var(--text-primary)",
106942
107201
  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
107202
  boxShadow: "0 2px 8px 0px rgba(0, 0, 0, .12)",
106944
107203
  cursor: "pointer"