naive-ui 2.41.0 → 2.42.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.
Files changed (209) hide show
  1. package/dist/index.js +930 -428
  2. package/dist/index.mjs +927 -430
  3. package/dist/index.prod.js +1 -1
  4. package/dist/index.prod.mjs +1 -1
  5. package/es/_internal/icon/src/styles/index.cssr.mjs +0 -1
  6. package/es/_internal/selection/src/Selection.d.ts +1 -1
  7. package/es/_mixins/use-form-item.d.ts +1 -1
  8. package/es/_utils/dom/download.d.ts +1 -0
  9. package/es/_utils/dom/download.mjs +3 -0
  10. package/es/_utils/index.d.ts +1 -1
  11. package/es/_utils/index.mjs +1 -1
  12. package/es/_utils/naive/index.d.ts +1 -0
  13. package/es/_utils/naive/index.mjs +1 -0
  14. package/es/_utils/naive/value.d.ts +1 -0
  15. package/es/_utils/naive/value.mjs +13 -0
  16. package/es/anchor/index.d.ts +1 -0
  17. package/es/anchor/src/Link.d.ts +3 -2
  18. package/es/anchor/src/Link.mjs +5 -2
  19. package/es/anchor/src/public-types.d.ts +5 -0
  20. package/es/anchor/src/public-types.mjs +1 -0
  21. package/es/auto-complete/src/AutoComplete.d.ts +1 -1
  22. package/es/cascader/src/Cascader.d.ts +1 -1
  23. package/es/components.d.ts +1 -0
  24. package/es/components.mjs +1 -0
  25. package/es/config-provider/src/internal-interface.d.ts +2 -0
  26. package/es/data-table/src/DataTable.d.ts +6 -6
  27. package/es/data-table/src/DataTable.mjs +6 -6
  28. package/es/data-table/src/styles/index.cssr.mjs +1 -0
  29. package/es/date-picker/src/DatePicker.d.ts +5 -5
  30. package/es/date-picker/src/DatePicker.mjs +1 -1
  31. package/es/date-picker/src/panel/date.d.ts +2 -2
  32. package/es/date-picker/src/panel/daterange.d.ts +3 -3
  33. package/es/date-picker/src/panel/datetime.d.ts +2 -2
  34. package/es/date-picker/src/panel/datetime.mjs +1 -1
  35. package/es/date-picker/src/panel/datetimerange.d.ts +3 -3
  36. package/es/date-picker/src/panel/datetimerange.mjs +2 -2
  37. package/es/date-picker/src/panel/month.d.ts +2 -2
  38. package/es/date-picker/src/panel/monthrange.d.ts +3 -3
  39. package/es/date-picker/src/panel/panelHeader.d.ts +4 -4
  40. package/es/date-picker/src/panel/use-calendar.d.ts +1 -1
  41. package/es/date-picker/src/panel/use-dual-calendar.d.ts +2 -2
  42. package/es/date-picker/src/panel/use-dual-calendar.mjs +3 -3
  43. package/es/date-picker/src/panel/use-panel-common.d.ts +1 -1
  44. package/es/date-picker/src/panel/use-panel-common.mjs +1 -1
  45. package/es/date-picker/src/props.d.ts +2 -2
  46. package/es/date-picker/src/props.mjs +1 -1
  47. package/es/descriptions/src/Descriptions.d.ts +1 -1
  48. package/es/form/index.d.ts +1 -0
  49. package/es/form/src/FormItem.d.ts +1 -1
  50. package/es/form/src/FormItemCol.d.ts +1 -1
  51. package/es/form/src/FormItemGridItem.d.ts +1 -1
  52. package/es/form/src/interface.d.ts +0 -1
  53. package/es/form/src/public-types.d.ts +1 -0
  54. package/es/form/src/public-types.mjs +1 -0
  55. package/es/icon/src/styles/index.cssr.mjs +0 -1
  56. package/es/input/src/Input.d.ts +1 -1
  57. package/es/input/src/Input.mjs +1 -8
  58. package/es/input-number/src/InputNumber.d.ts +1 -1
  59. package/es/input-otp/index.d.ts +3 -0
  60. package/es/input-otp/index.mjs +1 -0
  61. package/es/input-otp/src/InputOtp.d.ts +875 -0
  62. package/es/input-otp/src/InputOtp.mjs +322 -0
  63. package/es/input-otp/src/public-types.d.ts +24 -0
  64. package/es/input-otp/src/public-types.mjs +1 -0
  65. package/es/input-otp/src/styles/index.cssr.d.ts +2 -0
  66. package/es/input-otp/src/styles/index.cssr.mjs +20 -0
  67. package/es/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
  68. package/es/input-otp/src/styles/input-otp-rtl.cssr.mjs +5 -0
  69. package/es/input-otp/styles/dark.d.ts +3 -0
  70. package/es/input-otp/styles/dark.mjs +12 -0
  71. package/es/input-otp/styles/index.d.ts +4 -0
  72. package/es/input-otp/styles/index.mjs +3 -0
  73. package/es/input-otp/styles/light.d.ts +81 -0
  74. package/es/input-otp/styles/light.mjs +22 -0
  75. package/es/input-otp/styles/rtl.d.ts +2 -0
  76. package/es/input-otp/styles/rtl.mjs +5 -0
  77. package/es/mention/src/Mention.d.ts +1 -1
  78. package/es/progress/src/Circle.d.ts +1 -1
  79. package/es/progress/src/MultipleCircle.d.ts +1 -1
  80. package/es/progress/src/Progress.d.ts +2 -2
  81. package/es/radio/src/Radio.mjs +5 -5
  82. package/es/radio/src/styles/radio.cssr.mjs +3 -7
  83. package/es/select/src/Select.d.ts +1 -1
  84. package/es/styles.d.ts +1 -0
  85. package/es/styles.mjs +1 -0
  86. package/es/tabs/src/TabPane.d.ts +1 -0
  87. package/es/themes/dark.mjs +2 -1
  88. package/es/themes/light.mjs +2 -0
  89. package/es/time-picker/src/TimePicker.d.ts +1 -1
  90. package/es/transfer/src/Transfer.d.ts +1 -1
  91. package/es/tree/src/Tree.d.ts +21 -17
  92. package/es/tree/src/Tree.mjs +4 -4
  93. package/es/tree/src/styles/index.cssr.mjs +0 -1
  94. package/es/tree-select/src/TreeSelect.d.ts +14 -1
  95. package/es/tree-select/src/TreeSelect.mjs +1 -0
  96. package/es/typography/src/text.d.ts +1 -1
  97. package/es/upload/index.d.ts +1 -0
  98. package/es/upload/index.mjs +1 -0
  99. package/es/upload/src/Upload.d.ts +11 -8
  100. package/es/upload/src/Upload.mjs +2 -0
  101. package/es/upload/src/UploadFile.mjs +8 -1
  102. package/es/upload/src/interface.d.ts +1 -0
  103. package/es/version.d.ts +1 -1
  104. package/es/version.mjs +1 -1
  105. package/es/watermark/src/Watermark.d.ts +1 -1
  106. package/lib/_internal/icon/src/styles/index.cssr.js +0 -1
  107. package/lib/_internal/selection/src/Selection.d.ts +1 -1
  108. package/lib/_mixins/use-form-item.d.ts +1 -1
  109. package/lib/_utils/dom/download.d.ts +1 -0
  110. package/lib/_utils/dom/download.js +4 -0
  111. package/lib/_utils/index.d.ts +1 -1
  112. package/lib/_utils/index.js +2 -1
  113. package/lib/_utils/naive/index.d.ts +1 -0
  114. package/lib/_utils/naive/index.js +3 -1
  115. package/lib/_utils/naive/value.d.ts +1 -0
  116. package/lib/_utils/naive/value.js +18 -0
  117. package/lib/anchor/index.d.ts +1 -0
  118. package/lib/anchor/src/Link.d.ts +3 -2
  119. package/lib/anchor/src/Link.js +4 -1
  120. package/lib/anchor/src/public-types.d.ts +5 -0
  121. package/lib/anchor/src/public-types.js +2 -0
  122. package/lib/auto-complete/src/AutoComplete.d.ts +1 -1
  123. package/lib/cascader/src/Cascader.d.ts +1 -1
  124. package/lib/components.d.ts +1 -0
  125. package/lib/components.js +1 -0
  126. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  127. package/lib/data-table/src/DataTable.d.ts +6 -6
  128. package/lib/data-table/src/DataTable.js +6 -6
  129. package/lib/data-table/src/styles/index.cssr.js +1 -0
  130. package/lib/date-picker/src/DatePicker.d.ts +5 -5
  131. package/lib/date-picker/src/DatePicker.js +1 -1
  132. package/lib/date-picker/src/panel/date.d.ts +2 -2
  133. package/lib/date-picker/src/panel/daterange.d.ts +3 -3
  134. package/lib/date-picker/src/panel/datetime.d.ts +2 -2
  135. package/lib/date-picker/src/panel/datetime.js +1 -1
  136. package/lib/date-picker/src/panel/datetimerange.d.ts +3 -3
  137. package/lib/date-picker/src/panel/datetimerange.js +2 -2
  138. package/lib/date-picker/src/panel/month.d.ts +2 -2
  139. package/lib/date-picker/src/panel/monthrange.d.ts +3 -3
  140. package/lib/date-picker/src/panel/panelHeader.d.ts +4 -4
  141. package/lib/date-picker/src/panel/use-calendar.d.ts +1 -1
  142. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +2 -2
  143. package/lib/date-picker/src/panel/use-dual-calendar.js +3 -3
  144. package/lib/date-picker/src/panel/use-panel-common.d.ts +1 -1
  145. package/lib/date-picker/src/panel/use-panel-common.js +1 -1
  146. package/lib/date-picker/src/props.d.ts +2 -2
  147. package/lib/date-picker/src/props.js +1 -1
  148. package/lib/descriptions/src/Descriptions.d.ts +1 -1
  149. package/lib/form/index.d.ts +1 -0
  150. package/lib/form/src/FormItem.d.ts +1 -1
  151. package/lib/form/src/FormItemCol.d.ts +1 -1
  152. package/lib/form/src/FormItemGridItem.d.ts +1 -1
  153. package/lib/form/src/interface.d.ts +0 -1
  154. package/lib/form/src/public-types.d.ts +1 -0
  155. package/lib/form/src/public-types.js +2 -0
  156. package/lib/icon/src/styles/index.cssr.js +0 -1
  157. package/lib/input/src/Input.d.ts +1 -1
  158. package/lib/input/src/Input.js +0 -7
  159. package/lib/input-number/src/InputNumber.d.ts +1 -1
  160. package/lib/input-otp/index.d.ts +3 -0
  161. package/lib/input-otp/index.js +9 -0
  162. package/lib/input-otp/src/InputOtp.d.ts +875 -0
  163. package/lib/input-otp/src/InputOtp.js +248 -0
  164. package/lib/input-otp/src/public-types.d.ts +24 -0
  165. package/lib/input-otp/src/public-types.js +2 -0
  166. package/lib/input-otp/src/styles/index.cssr.d.ts +2 -0
  167. package/lib/input-otp/src/styles/index.cssr.js +25 -0
  168. package/lib/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
  169. package/lib/input-otp/src/styles/input-otp-rtl.cssr.js +10 -0
  170. package/lib/input-otp/styles/dark.d.ts +3 -0
  171. package/lib/input-otp/styles/dark.js +14 -0
  172. package/lib/input-otp/styles/index.d.ts +4 -0
  173. package/lib/input-otp/styles/index.js +12 -0
  174. package/lib/input-otp/styles/light.d.ts +81 -0
  175. package/lib/input-otp/styles/light.js +25 -0
  176. package/lib/input-otp/styles/rtl.d.ts +2 -0
  177. package/lib/input-otp/styles/rtl.js +11 -0
  178. package/lib/mention/src/Mention.d.ts +1 -1
  179. package/lib/progress/src/Circle.d.ts +1 -1
  180. package/lib/progress/src/MultipleCircle.d.ts +1 -1
  181. package/lib/progress/src/Progress.d.ts +2 -2
  182. package/lib/radio/src/Radio.js +2 -2
  183. package/lib/radio/src/styles/radio.cssr.js +3 -7
  184. package/lib/select/src/Select.d.ts +1 -1
  185. package/lib/styles.d.ts +1 -0
  186. package/lib/styles.js +99 -96
  187. package/lib/tabs/src/TabPane.d.ts +1 -0
  188. package/lib/themes/dark.js +1 -0
  189. package/lib/themes/light.js +92 -90
  190. package/lib/time-picker/src/TimePicker.d.ts +1 -1
  191. package/lib/transfer/src/Transfer.d.ts +1 -1
  192. package/lib/tree/src/Tree.d.ts +21 -17
  193. package/lib/tree/src/Tree.js +5 -4
  194. package/lib/tree/src/styles/index.cssr.js +0 -1
  195. package/lib/tree-select/src/TreeSelect.d.ts +14 -1
  196. package/lib/tree-select/src/TreeSelect.js +1 -1
  197. package/lib/typography/src/text.d.ts +1 -1
  198. package/lib/upload/index.d.ts +1 -0
  199. package/lib/upload/index.js +3 -1
  200. package/lib/upload/src/Upload.d.ts +11 -8
  201. package/lib/upload/src/Upload.js +2 -1
  202. package/lib/upload/src/UploadFile.js +7 -2
  203. package/lib/upload/src/interface.d.ts +1 -0
  204. package/lib/version.d.ts +1 -1
  205. package/lib/version.js +1 -1
  206. package/lib/watermark/src/Watermark.d.ts +1 -1
  207. package/package.json +1 -1
  208. package/volar.d.ts +3 -2
  209. package/web-types.json +139 -10
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@
11
11
  let _ePrefix = '__';
12
12
  let _mPrefix = '--';
13
13
  let c;
14
- {
14
+ if (options) {
15
15
  let t = options.blockPrefix;
16
16
  if (t) {
17
17
  _bPrefix = t;
@@ -803,24 +803,157 @@
803
803
  };
804
804
  }
805
805
 
806
+ // src: https://www.w3schools.com/colors/colors_names.asp
806
807
  var colors = {
807
- black: '#000',
808
- silver: '#C0C0C0',
809
- gray: '#808080',
810
- white: '#FFF',
811
- maroon: '#800000',
812
- red: '#F00',
813
- purple: '#800080',
814
- fuchsia: '#F0F',
815
- green: '#008000',
816
- lime: '#0F0',
817
- olive: '#808000',
818
- yellow: '#FF0',
819
- navy: '#000080',
820
- blue: '#00F',
821
- teal: '#008080',
822
- aqua: '#0FF',
823
- transparent: '#0000'
808
+ aliceblue: "#F0F8FF",
809
+ antiquewhite: "#FAEBD7",
810
+ aqua: "#0FF",
811
+ aquamarine: "#7FFFD4",
812
+ azure: "#F0FFFF",
813
+ beige: "#F5F5DC",
814
+ bisque: "#FFE4C4",
815
+ black: "#000",
816
+ blanchedalmond: "#FFEBCD",
817
+ blue: "#00F",
818
+ blueviolet: "#8A2BE2",
819
+ brown: "#A52A2A",
820
+ burlywood: "#DEB887",
821
+ cadetblue: "#5F9EA0",
822
+ chartreuse: "#7FFF00",
823
+ chocolate: "#D2691E",
824
+ coral: "#FF7F50",
825
+ cornflowerblue: "#6495ED",
826
+ cornsilk: "#FFF8DC",
827
+ crimson: "#DC143C",
828
+ cyan: "#0FF",
829
+ darkblue: "#00008B",
830
+ darkcyan: "#008B8B",
831
+ darkgoldenrod: "#B8860B",
832
+ darkgray: "#A9A9A9",
833
+ darkgrey: "#A9A9A9",
834
+ darkgreen: "#006400",
835
+ darkkhaki: "#BDB76B",
836
+ darkmagenta: "#8B008B",
837
+ darkolivegreen: "#556B2F",
838
+ darkorange: "#FF8C00",
839
+ darkorchid: "#9932CC",
840
+ darkred: "#8B0000",
841
+ darksalmon: "#E9967A",
842
+ darkseagreen: "#8FBC8F",
843
+ darkslateblue: "#483D8B",
844
+ darkslategray: "#2F4F4F",
845
+ darkslategrey: "#2F4F4F",
846
+ darkturquoise: "#00CED1",
847
+ darkviolet: "#9400D3",
848
+ deeppink: "#FF1493",
849
+ deepskyblue: "#00BFFF",
850
+ dimgray: "#696969",
851
+ dimgrey: "#696969",
852
+ dodgerblue: "#1E90FF",
853
+ firebrick: "#B22222",
854
+ floralwhite: "#FFFAF0",
855
+ forestgreen: "#228B22",
856
+ fuchsia: "#F0F",
857
+ gainsboro: "#DCDCDC",
858
+ ghostwhite: "#F8F8FF",
859
+ gold: "#FFD700",
860
+ goldenrod: "#DAA520",
861
+ gray: "#808080",
862
+ grey: "#808080",
863
+ green: "#008000",
864
+ greenyellow: "#ADFF2F",
865
+ honeydew: "#F0FFF0",
866
+ hotpink: "#FF69B4",
867
+ indianred: "#CD5C5C",
868
+ indigo: "#4B0082",
869
+ ivory: "#FFFFF0",
870
+ khaki: "#F0E68C",
871
+ lavender: "#E6E6FA",
872
+ lavenderblush: "#FFF0F5",
873
+ lawngreen: "#7CFC00",
874
+ lemonchiffon: "#FFFACD",
875
+ lightblue: "#ADD8E6",
876
+ lightcoral: "#F08080",
877
+ lightcyan: "#E0FFFF",
878
+ lightgoldenrodyellow: "#FAFAD2",
879
+ lightgray: "#D3D3D3",
880
+ lightgrey: "#D3D3D3",
881
+ lightgreen: "#90EE90",
882
+ lightpink: "#FFB6C1",
883
+ lightsalmon: "#FFA07A",
884
+ lightseagreen: "#20B2AA",
885
+ lightskyblue: "#87CEFA",
886
+ lightslategray: "#778899",
887
+ lightslategrey: "#778899",
888
+ lightsteelblue: "#B0C4DE",
889
+ lightyellow: "#FFFFE0",
890
+ lime: "#0F0",
891
+ limegreen: "#32CD32",
892
+ linen: "#FAF0E6",
893
+ magenta: "#F0F",
894
+ maroon: "#800000",
895
+ mediumaquamarine: "#66CDAA",
896
+ mediumblue: "#0000CD",
897
+ mediumorchid: "#BA55D3",
898
+ mediumpurple: "#9370DB",
899
+ mediumseagreen: "#3CB371",
900
+ mediumslateblue: "#7B68EE",
901
+ mediumspringgreen: "#00FA9A",
902
+ mediumturquoise: "#48D1CC",
903
+ mediumvioletred: "#C71585",
904
+ midnightblue: "#191970",
905
+ mintcream: "#F5FFFA",
906
+ mistyrose: "#FFE4E1",
907
+ moccasin: "#FFE4B5",
908
+ navajowhite: "#FFDEAD",
909
+ navy: "#000080",
910
+ oldlace: "#FDF5E6",
911
+ olive: "#808000",
912
+ olivedrab: "#6B8E23",
913
+ orange: "#FFA500",
914
+ orangered: "#FF4500",
915
+ orchid: "#DA70D6",
916
+ palegoldenrod: "#EEE8AA",
917
+ palegreen: "#98FB98",
918
+ paleturquoise: "#AFEEEE",
919
+ palevioletred: "#DB7093",
920
+ papayawhip: "#FFEFD5",
921
+ peachpuff: "#FFDAB9",
922
+ peru: "#CD853F",
923
+ pink: "#FFC0CB",
924
+ plum: "#DDA0DD",
925
+ powderblue: "#B0E0E6",
926
+ purple: "#800080",
927
+ rebeccapurple: "#663399",
928
+ red: "#F00",
929
+ rosybrown: "#BC8F8F",
930
+ royalblue: "#4169E1",
931
+ saddlebrown: "#8B4513",
932
+ salmon: "#FA8072",
933
+ sandybrown: "#F4A460",
934
+ seagreen: "#2E8B57",
935
+ seashell: "#FFF5EE",
936
+ sienna: "#A0522D",
937
+ silver: "#C0C0C0",
938
+ skyblue: "#87CEEB",
939
+ slateblue: "#6A5ACD",
940
+ slategray: "#708090",
941
+ slategrey: "#708090",
942
+ snow: "#FFFAFA",
943
+ springgreen: "#00FF7F",
944
+ steelblue: "#4682B4",
945
+ tan: "#D2B48C",
946
+ teal: "#008080",
947
+ thistle: "#D8BFD8",
948
+ tomato: "#FF6347",
949
+ turquoise: "#40E0D0",
950
+ violet: "#EE82EE",
951
+ wheat: "#F5DEB3",
952
+ white: "#FFF",
953
+ whitesmoke: "#F5F5F5",
954
+ yellow: "#FF0",
955
+ yellowgreen: "#9ACD32",
956
+ transparent: "#0000"
824
957
  };
825
958
 
826
959
  // All the algorithms credit to https://stackoverflow.com/questions/36721830/convert-hsl-to-rgb-and-hex/54014428#54014428
@@ -964,7 +1097,9 @@
964
1097
  }
965
1098
  /**
966
1099
  * Convert color string to rgba array.
967
- * @param color format like #000[0], #000000[00], rgb(0, 0, 0), rgba(0, 0, 0, 0) and basic color keywords https://www.w3.org/TR/css-color-3/#html4 and transparent
1100
+ * @param color format like #000[0], #000000[00], rgb(0, 0, 0),
1101
+ * rgba(0, 0, 0, 0), hsl(a) color, hsv(a) color and color keywords and
1102
+ * transparent
968
1103
  * @returns
969
1104
  */
970
1105
  function rgba(color) {
@@ -984,6 +1119,12 @@
984
1119
  return [parseHex(i[1] + i[1]), parseHex(i[2] + i[2]), parseHex(i[3] + i[3]), roundAlpha(parseHex(i[4] + i[4]) / 255)];
985
1120
  } else if (color in colors) {
986
1121
  return rgba(colors[color]);
1122
+ } else if (hslRegex.test(color) || hslaRegex.test(color)) {
1123
+ const [h, s, l, a] = hsla(color);
1124
+ return [...hsl2rgb(h, s, l), a];
1125
+ } else if (hsvRegex.test(color) || hsvaRegex.test(color)) {
1126
+ const [h, s, v, a] = hsva(color);
1127
+ return [...hsv2rgb(h, s, v), a];
987
1128
  }
988
1129
  throw new Error(`[seemly/rgba]: Invalid color value ${color}.`);
989
1130
  } catch (e) {
@@ -1012,7 +1153,7 @@
1012
1153
  }
1013
1154
  function changeColor(base, options) {
1014
1155
  const [r, g, b, a = 1] = Array.isArray(base) ? base : rgba(base);
1015
- if (options.alpha) {
1156
+ if (typeof options.alpha === 'number') {
1016
1157
  return stringifyRgba(r, g, b, options.alpha);
1017
1158
  }
1018
1159
  return stringifyRgba(r, g, b, a);
@@ -3262,7 +3403,7 @@
3262
3403
  }
3263
3404
 
3264
3405
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
3265
- const style$1G = c([c('.v-binder-follower-container', {
3406
+ const style$1H = c([c('.v-binder-follower-container', {
3266
3407
  position: 'absolute',
3267
3408
  left: '0',
3268
3409
  right: '0',
@@ -3341,7 +3482,7 @@
3341
3482
  }
3342
3483
  });
3343
3484
  const ssrAdapter = useSsrAdapter();
3344
- style$1G.mount({
3485
+ style$1H.mount({
3345
3486
  id: 'vueuc/binder',
3346
3487
  head: true,
3347
3488
  anchorMetaName: cssrAnchorMetaName$1,
@@ -4801,7 +4942,7 @@
4801
4942
 
4802
4943
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
4803
4944
  const hiddenAttr = 'v-hidden';
4804
- const style$1F = c('[v-hidden]', {
4945
+ const style$1G = c('[v-hidden]', {
4805
4946
  display: 'none!important'
4806
4947
  });
4807
4948
  var VOverflow = vue.defineComponent({
@@ -4914,7 +5055,7 @@
4914
5055
  }
4915
5056
  }
4916
5057
  const ssrAdapter = useSsrAdapter();
4917
- style$1F.mount({
5058
+ style$1G.mount({
4918
5059
  id: 'vueuc/overflow',
4919
5060
  head: true,
4920
5061
  anchorMetaName: cssrAnchorMetaName$1,
@@ -5302,6 +5443,9 @@
5302
5443
  a.click();
5303
5444
  document.body.removeChild(a);
5304
5445
  }
5446
+ function publicDownload(url, name) {
5447
+ download(url, name);
5448
+ }
5305
5449
 
5306
5450
  function isDocument(node) {
5307
5451
  return node.nodeName === "#document";
@@ -5350,6 +5494,20 @@
5350
5494
  throw new Error(`${size} has no smaller size.`);
5351
5495
  }
5352
5496
 
5497
+ function isArrayShallowEqual(array1, array2) {
5498
+ if (array1 === null && array2 === null) return true;
5499
+ if (array1 === null || array2 === null) return false;
5500
+ if (array1.length === array2.length) {
5501
+ for (let i = 0; i < array1.length; ++i) {
5502
+ if (array1[i] !== array2[i]) {
5503
+ return false;
5504
+ }
5505
+ }
5506
+ return true;
5507
+ }
5508
+ return false;
5509
+ }
5510
+
5353
5511
  const warnedMessages = /* @__PURE__ */new Set();
5354
5512
  function warnOnce(location, message) {
5355
5513
  const mergedMessage = `[naive/${location}]: ${message}`;
@@ -22239,7 +22397,7 @@
22239
22397
  * @param {number} fromIndex The index to search from.
22240
22398
  * @param {boolean} [fromRight] Specify iterating from right to left.
22241
22399
  * @returns {number} Returns the index of the matched value, else `-1`.
22242
- */function baseFindIndex(array,predicate,fromIndex,fromRight){var length=array.length,index=fromIndex+(fromRight?1:-1);while(fromRight?index--:++index<length){if(predicate(array[index],index,array)){return index;}}return -1;}/**
22400
+ */function baseFindIndex(array,predicate,fromIndex,fromRight){var length=array.length,index=fromIndex+(fromRight?1:-1);while(fromRight?index--:++index<length){if(predicate(array[index],index,array)){return index;}}return -1;}/**
22243
22401
  * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
22244
22402
  *
22245
22403
  * @private
@@ -22256,7 +22414,7 @@
22256
22414
  * @param {number} fromIndex The index to search from.
22257
22415
  * @param {Function} comparator The comparator invoked per element.
22258
22416
  * @returns {number} Returns the index of the matched value, else `-1`.
22259
- */function baseIndexOfWith(array,value,fromIndex,comparator){var index=fromIndex-1,length=array.length;while(++index<length){if(comparator(array[index],value)){return index;}}return -1;}/**
22417
+ */function baseIndexOfWith(array,value,fromIndex,comparator){var index=fromIndex-1,length=array.length;while(++index<length){if(comparator(array[index],value)){return index;}}return -1;}/**
22260
22418
  * The base implementation of `_.isNaN` without support for number objects.
22261
22419
  *
22262
22420
  * @private
@@ -22464,7 +22622,7 @@
22464
22622
  * @param {*} value The value to search for.
22465
22623
  * @param {number} fromIndex The index to search from.
22466
22624
  * @returns {number} Returns the index of the matched value, else `-1`.
22467
- */function strictIndexOf(array,value,fromIndex){var index=fromIndex-1,length=array.length;while(++index<length){if(array[index]===value){return index;}}return -1;}/**
22625
+ */function strictIndexOf(array,value,fromIndex){var index=fromIndex-1,length=array.length;while(++index<length){if(array[index]===value){return index;}}return -1;}/**
22468
22626
  * A specialized version of `_.lastIndexOf` which performs strict equality
22469
22627
  * comparisons of values, i.e. `===`.
22470
22628
  *
@@ -23013,7 +23171,7 @@
23013
23171
  * @param {Array} array The array to inspect.
23014
23172
  * @param {*} key The key to search for.
23015
23173
  * @returns {number} Returns the index of the matched value, else `-1`.
23016
- */function assocIndexOf(array,key){var length=array.length;while(length--){if(eq(array[length][0],key)){return length;}}return -1;}/**
23174
+ */function assocIndexOf(array,key){var length=array.length;while(length--){if(eq(array[length][0],key)){return length;}}return -1;}/**
23017
23175
  * Aggregates elements of `collection` on `accumulator` with keys transformed
23018
23176
  * by `iteratee` and values set by `setter`.
23019
23177
  *
@@ -23642,7 +23800,7 @@
23642
23800
  * @returns {string} Returns the string.
23643
23801
  */function baseToString(value){// Exit early for strings to avoid a performance hit in some environments.
23644
23802
  if(typeof value=='string'){return value;}if(isArray(value)){// Recursively convert values (susceptible to call stack limits).
23645
- return arrayMap(value,baseToString)+'';}if(isSymbol(value)){return symbolToString?symbolToString.call(value):'';}var result=value+'';return result=='0'&&1/value==-INFINITY?'-0':result;}/**
23803
+ return arrayMap(value,baseToString)+'';}if(isSymbol(value)){return symbolToString?symbolToString.call(value):'';}var result=value+'';return result=='0'&&1/value==-Infinity?'-0':result;}/**
23646
23804
  * The base implementation of `_.uniqBy` without support for iteratee shorthands.
23647
23805
  *
23648
23806
  * @private
@@ -23788,7 +23946,7 @@
23788
23946
  * @param {*} value The value to compare.
23789
23947
  * @param {*} other The other value to compare.
23790
23948
  * @returns {number} Returns the sort order indicator for `value`.
23791
- */function compareAscending(value,other){if(value!==other){var valIsDefined=value!==undefined$1,valIsNull=value===null,valIsReflexive=value===value,valIsSymbol=isSymbol(value);var othIsDefined=other!==undefined$1,othIsNull=other===null,othIsReflexive=other===other,othIsSymbol=isSymbol(other);if(!othIsNull&&!othIsSymbol&&!valIsSymbol&&value>other||valIsSymbol&&othIsDefined&&othIsReflexive&&!othIsNull&&!othIsSymbol||valIsNull&&othIsDefined&&othIsReflexive||!valIsDefined&&othIsReflexive||!valIsReflexive){return 1;}if(!valIsNull&&!valIsSymbol&&!othIsSymbol&&value<other||othIsSymbol&&valIsDefined&&valIsReflexive&&!valIsNull&&!valIsSymbol||othIsNull&&valIsDefined&&valIsReflexive||!othIsDefined&&valIsReflexive||!othIsReflexive){return -1;}}return 0;}/**
23949
+ */function compareAscending(value,other){if(value!==other){var valIsDefined=value!==undefined$1,valIsNull=value===null,valIsReflexive=value===value,valIsSymbol=isSymbol(value);var othIsDefined=other!==undefined$1,othIsNull=other===null,othIsReflexive=other===other,othIsSymbol=isSymbol(other);if(!othIsNull&&!othIsSymbol&&!valIsSymbol&&value>other||valIsSymbol&&othIsDefined&&othIsReflexive&&!othIsNull&&!othIsSymbol||valIsNull&&othIsDefined&&othIsReflexive||!valIsDefined&&othIsReflexive||!valIsReflexive){return 1;}if(!valIsNull&&!valIsSymbol&&!othIsSymbol&&value<other||othIsSymbol&&valIsDefined&&valIsReflexive&&!valIsNull&&!valIsSymbol||othIsNull&&valIsDefined&&valIsReflexive||!othIsDefined&&valIsReflexive||!othIsReflexive){return -1;}}return 0;}/**
23792
23950
  * Used by `_.orderBy` to compare multiple properties of a value to another
23793
23951
  * and stable sort them.
23794
23952
  *
@@ -24023,7 +24181,7 @@
24023
24181
  * @param {number} [ary] The arity cap of `func`.
24024
24182
  * @param {number} [arity] The arity of `func`.
24025
24183
  * @returns {Function} Returns the new wrapped function.
24026
- */function createRecurry(func,bitmask,wrapFunc,placeholder,thisArg,partials,holders,argPos,ary,arity){var isCurry=bitmask&WRAP_CURRY_FLAG,newHolders=isCurry?holders:undefined$1,newHoldersRight=isCurry?undefined$1:holders,newPartials=isCurry?partials:undefined$1,newPartialsRight=isCurry?undefined$1:partials;bitmask|=isCurry?WRAP_PARTIAL_FLAG:WRAP_PARTIAL_RIGHT_FLAG;bitmask&=~(isCurry?WRAP_PARTIAL_RIGHT_FLAG:WRAP_PARTIAL_FLAG);if(!(bitmask&WRAP_CURRY_BOUND_FLAG)){bitmask&=~(WRAP_BIND_FLAG|WRAP_BIND_KEY_FLAG);}var newData=[func,bitmask,thisArg,newPartials,newHolders,newPartialsRight,newHoldersRight,argPos,ary,arity];var result=wrapFunc.apply(undefined$1,newData);if(isLaziable(func)){setData(result,newData);}result.placeholder=placeholder;return setWrapToString(result,func,bitmask);}/**
24184
+ */function createRecurry(func,bitmask,wrapFunc,placeholder,thisArg,partials,holders,argPos,ary,arity){var isCurry=bitmask&WRAP_CURRY_FLAG,newHolders=isCurry?holders:undefined$1,newHoldersRight=isCurry?undefined$1:holders,newPartials=isCurry?partials:undefined$1,newPartialsRight=isCurry?undefined$1:partials;bitmask|=isCurry?WRAP_PARTIAL_FLAG:WRAP_PARTIAL_RIGHT_FLAG;bitmask&=~(isCurry?WRAP_PARTIAL_RIGHT_FLAG:WRAP_PARTIAL_FLAG);if(!(bitmask&WRAP_CURRY_BOUND_FLAG)){bitmask&=-4;}var newData=[func,bitmask,thisArg,newPartials,newHolders,newPartialsRight,newHoldersRight,argPos,ary,arity];var result=wrapFunc.apply(undefined$1,newData);if(isLaziable(func)){setData(result,newData);}result.placeholder=placeholder;return setWrapToString(result,func,bitmask);}/**
24027
24185
  * Creates a function like `_.round`.
24028
24186
  *
24029
24187
  * @private
@@ -24067,7 +24225,7 @@
24067
24225
  * @param {number} [ary] The arity cap of `func`.
24068
24226
  * @param {number} [arity] The arity of `func`.
24069
24227
  * @returns {Function} Returns the new wrapped function.
24070
- */function createWrap(func,bitmask,thisArg,partials,holders,argPos,ary,arity){var isBindKey=bitmask&WRAP_BIND_KEY_FLAG;if(!isBindKey&&typeof func!='function'){throw new TypeError(FUNC_ERROR_TEXT);}var length=partials?partials.length:0;if(!length){bitmask&=~(WRAP_PARTIAL_FLAG|WRAP_PARTIAL_RIGHT_FLAG);partials=holders=undefined$1;}ary=ary===undefined$1?ary:nativeMax(toInteger(ary),0);arity=arity===undefined$1?arity:toInteger(arity);length-=holders?holders.length:0;if(bitmask&WRAP_PARTIAL_RIGHT_FLAG){var partialsRight=partials,holdersRight=holders;partials=holders=undefined$1;}var data=isBindKey?undefined$1:getData(func);var newData=[func,bitmask,thisArg,partials,holders,partialsRight,holdersRight,argPos,ary,arity];if(data){mergeData(newData,data);}func=newData[0];bitmask=newData[1];thisArg=newData[2];partials=newData[3];holders=newData[4];arity=newData[9]=newData[9]===undefined$1?isBindKey?0:func.length:nativeMax(newData[9]-length,0);if(!arity&&bitmask&(WRAP_CURRY_FLAG|WRAP_CURRY_RIGHT_FLAG)){bitmask&=~(WRAP_CURRY_FLAG|WRAP_CURRY_RIGHT_FLAG);}if(!bitmask||bitmask==WRAP_BIND_FLAG){var result=createBind(func,bitmask,thisArg);}else if(bitmask==WRAP_CURRY_FLAG||bitmask==WRAP_CURRY_RIGHT_FLAG){result=createCurry(func,bitmask,arity);}else if((bitmask==WRAP_PARTIAL_FLAG||bitmask==(WRAP_BIND_FLAG|WRAP_PARTIAL_FLAG))&&!holders.length){result=createPartial(func,bitmask,thisArg,partials);}else {result=createHybrid.apply(undefined$1,newData);}var setter=data?baseSetData:setData;return setWrapToString(setter(result,newData),func,bitmask);}/**
24228
+ */function createWrap(func,bitmask,thisArg,partials,holders,argPos,ary,arity){var isBindKey=bitmask&WRAP_BIND_KEY_FLAG;if(!isBindKey&&typeof func!='function'){throw new TypeError(FUNC_ERROR_TEXT);}var length=partials?partials.length:0;if(!length){bitmask&=-97;partials=holders=undefined$1;}ary=ary===undefined$1?ary:nativeMax(toInteger(ary),0);arity=arity===undefined$1?arity:toInteger(arity);length-=holders?holders.length:0;if(bitmask&WRAP_PARTIAL_RIGHT_FLAG){var partialsRight=partials,holdersRight=holders;partials=holders=undefined$1;}var data=isBindKey?undefined$1:getData(func);var newData=[func,bitmask,thisArg,partials,holders,partialsRight,holdersRight,argPos,ary,arity];if(data){mergeData(newData,data);}func=newData[0];bitmask=newData[1];thisArg=newData[2];partials=newData[3];holders=newData[4];arity=newData[9]=newData[9]===undefined$1?isBindKey?0:func.length:nativeMax(newData[9]-length,0);if(!arity&&bitmask&(WRAP_CURRY_FLAG|WRAP_CURRY_RIGHT_FLAG)){bitmask&=-25;}if(!bitmask||bitmask==WRAP_BIND_FLAG){var result=createBind(func,bitmask,thisArg);}else if(bitmask==WRAP_CURRY_FLAG||bitmask==WRAP_CURRY_RIGHT_FLAG){result=createCurry(func,bitmask,arity);}else if((bitmask==WRAP_PARTIAL_FLAG||bitmask==(WRAP_BIND_FLAG|WRAP_PARTIAL_FLAG))&&!holders.length){result=createPartial(func,bitmask,thisArg,partials);}else {result=createHybrid.apply(undefined$1,newData);}var setter=data?baseSetData:setData;return setWrapToString(setter(result,newData),func,bitmask);}/**
24071
24229
  * Used by `_.defaults` to customize its `_.assignIn` use to assign properties
24072
24230
  * of source objects to the destination object for all destination properties
24073
24231
  * that resolve to `undefined`.
@@ -24254,7 +24412,7 @@
24254
24412
  * @param {Array} transforms The transformations to apply to the view.
24255
24413
  * @returns {Object} Returns an object containing the `start` and `end`
24256
24414
  * positions of the view.
24257
- */function getView(start,end,transforms){var index=-1,length=transforms.length;while(++index<length){var data=transforms[index],size=data.size;switch(data.type){case'drop':start+=size;break;case'dropRight':end-=size;break;case'take':end=nativeMin(end,start+size);break;case'takeRight':start=nativeMax(start,end-size);break;}}return {'start':start,'end':end};}/**
24415
+ */function getView(start,end,transforms){var index=-1,length=transforms.length;while(++index<length){var data=transforms[index],size=data.size;switch(data.type){case 'drop':start+=size;break;case 'dropRight':end-=size;break;case 'take':end=nativeMin(end,start+size);break;case 'takeRight':start=nativeMax(start,end-size);break;}}return {'start':start,'end':end};}/**
24258
24416
  * Extracts wrapper details from the `source` body comment.
24259
24417
  *
24260
24418
  * @private
@@ -24513,7 +24671,7 @@
24513
24671
  * @private
24514
24672
  * @param {*} value The value to inspect.
24515
24673
  * @returns {string|symbol} Returns the key.
24516
- */function toKey(value){if(typeof value=='string'||isSymbol(value)){return value;}var result=value+'';return result=='0'&&1/value==-INFINITY?'-0':result;}/**
24674
+ */function toKey(value){if(typeof value=='string'||isSymbol(value)){return value;}var result=value+'';return result=='0'&&1/value==-Infinity?'-0':result;}/**
24517
24675
  * Converts `func` to its source code.
24518
24676
  *
24519
24677
  * @private
@@ -24832,7 +24990,7 @@
24832
24990
  * // The `_.property` iteratee shorthand.
24833
24991
  * _.findIndex(users, 'active');
24834
24992
  * // => 2
24835
- */function findIndex(array,predicate,fromIndex){var length=array==null?0:array.length;if(!length){return -1;}var index=fromIndex==null?0:toInteger(fromIndex);if(index<0){index=nativeMax(length+index,0);}return baseFindIndex(array,getIteratee(predicate,3),index);}/**
24993
+ */function findIndex(array,predicate,fromIndex){var length=array==null?0:array.length;if(!length){return -1;}var index=fromIndex==null?0:toInteger(fromIndex);if(index<0){index=nativeMax(length+index,0);}return baseFindIndex(array,getIteratee(predicate,3),index);}/**
24836
24994
  * This method is like `_.findIndex` except that it iterates over elements
24837
24995
  * of `collection` from right to left.
24838
24996
  *
@@ -24866,7 +25024,7 @@
24866
25024
  * // The `_.property` iteratee shorthand.
24867
25025
  * _.findLastIndex(users, 'active');
24868
25026
  * // => 0
24869
- */function findLastIndex(array,predicate,fromIndex){var length=array==null?0:array.length;if(!length){return -1;}var index=length-1;if(fromIndex!==undefined$1){index=toInteger(fromIndex);index=fromIndex<0?nativeMax(length+index,0):nativeMin(index,length-1);}return baseFindIndex(array,getIteratee(predicate,3),index,true);}/**
25027
+ */function findLastIndex(array,predicate,fromIndex){var length=array==null?0:array.length;if(!length){return -1;}var index=length-1;if(fromIndex!==undefined$1){index=toInteger(fromIndex);index=fromIndex<0?nativeMax(length+index,0):nativeMin(index,length-1);}return baseFindIndex(array,getIteratee(predicate,3),index,true);}/**
24870
25028
  * Flattens `array` a single level deep.
24871
25029
  *
24872
25030
  * @static
@@ -24964,7 +25122,7 @@
24964
25122
  * // Search from the `fromIndex`.
24965
25123
  * _.indexOf([1, 2, 1, 2], 2, 2);
24966
25124
  * // => 3
24967
- */function indexOf(array,value,fromIndex){var length=array==null?0:array.length;if(!length){return -1;}var index=fromIndex==null?0:toInteger(fromIndex);if(index<0){index=nativeMax(length+index,0);}return baseIndexOf(array,value,index);}/**
25125
+ */function indexOf(array,value,fromIndex){var length=array==null?0:array.length;if(!length){return -1;}var index=fromIndex==null?0:toInteger(fromIndex);if(index<0){index=nativeMax(length+index,0);}return baseIndexOf(array,value,index);}/**
24968
25126
  * Gets all but the last element of `array`.
24969
25127
  *
24970
25128
  * @static
@@ -25082,7 +25240,7 @@
25082
25240
  * // Search from the `fromIndex`.
25083
25241
  * _.lastIndexOf([1, 2, 1, 2], 2, 2);
25084
25242
  * // => 1
25085
- */function lastIndexOf(array,value,fromIndex){var length=array==null?0:array.length;if(!length){return -1;}var index=length;if(fromIndex!==undefined$1){index=toInteger(fromIndex);index=index<0?nativeMax(length+index,0):nativeMin(index,length-1);}return value===value?strictLastIndexOf(array,value,index):baseFindIndex(array,baseIsNaN,index,true);}/**
25243
+ */function lastIndexOf(array,value,fromIndex){var length=array==null?0:array.length;if(!length){return -1;}var index=length;if(fromIndex!==undefined$1){index=toInteger(fromIndex);index=index<0?nativeMax(length+index,0):nativeMin(index,length-1);}return value===value?strictLastIndexOf(array,value,index):baseFindIndex(array,baseIsNaN,index,true);}/**
25086
25244
  * Gets the element at index `n` of `array`. If `n` is negative, the nth
25087
25245
  * element from the end is returned.
25088
25246
  *
@@ -25329,7 +25487,7 @@
25329
25487
  *
25330
25488
  * _.sortedIndexOf([4, 5, 5, 5, 6], 5);
25331
25489
  * // => 1
25332
- */function sortedIndexOf(array,value){var length=array==null?0:array.length;if(length){var index=baseSortedIndex(array,value);if(index<length&&eq(array[index],value)){return index;}}return -1;}/**
25490
+ */function sortedIndexOf(array,value){var length=array==null?0:array.length;if(length){var index=baseSortedIndex(array,value);if(index<length&&eq(array[index],value)){return index;}}return -1;}/**
25333
25491
  * This method is like `_.sortedIndex` except that it returns the highest
25334
25492
  * index at which `value` should be inserted into `array` in order to
25335
25493
  * maintain its sort order.
@@ -25385,7 +25543,7 @@
25385
25543
  *
25386
25544
  * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);
25387
25545
  * // => 3
25388
- */function sortedLastIndexOf(array,value){var length=array==null?0:array.length;if(length){var index=baseSortedIndex(array,value,true)-1;if(eq(array[index],value)){return index;}}return -1;}/**
25546
+ */function sortedLastIndexOf(array,value){var length=array==null?0:array.length;if(length){var index=baseSortedIndex(array,value,true)-1;if(eq(array[index],value)){return index;}}return -1;}/**
25389
25547
  * This method is like `_.uniq` except that it's designed and optimized
25390
25548
  * for sorted arrays.
25391
25549
  *
@@ -28322,7 +28480,7 @@
28322
28480
  *
28323
28481
  * _.isSafeInteger('3');
28324
28482
  * // => false
28325
- */function isSafeInteger(value){return isInteger(value)&&value>=-MAX_SAFE_INTEGER&&value<=MAX_SAFE_INTEGER;}/**
28483
+ */function isSafeInteger(value){return isInteger(value)&&value>=-9007199254740991&&value<=MAX_SAFE_INTEGER;}/**
28326
28484
  * Checks if `value` is classified as a `Set` object.
28327
28485
  *
28328
28486
  * @static
@@ -28522,7 +28680,7 @@
28522
28680
  *
28523
28681
  * _.toFinite('3.2');
28524
28682
  * // => 3.2
28525
- */function toFinite(value){if(!value){return value===0?value:0;}value=toNumber(value);if(value===INFINITY||value===-INFINITY){var sign=value<0?-1:1;return sign*MAX_INTEGER;}return value===value?value:0;}/**
28683
+ */function toFinite(value){if(!value){return value===0?value:0;}value=toNumber(value);if(value===INFINITY||value===-Infinity){var sign=value<0?-1:1;return sign*MAX_INTEGER;}return value===value?value:0;}/**
28526
28684
  * Converts `value` to an integer.
28527
28685
  *
28528
28686
  * **Note:** This method is loosely based on
@@ -28641,7 +28799,7 @@
28641
28799
  *
28642
28800
  * _.toSafeInteger('3.2');
28643
28801
  * // => 3
28644
- */function toSafeInteger(value){return value?baseClamp(toInteger(value),-MAX_SAFE_INTEGER,MAX_SAFE_INTEGER):value===0?value:0;}/**
28802
+ */function toSafeInteger(value){return value?baseClamp(toInteger(value),-9007199254740991,MAX_SAFE_INTEGER):value===0?value:0;}/**
28645
28803
  * Converts `value` to a string. An empty string is returned for `null`
28646
28804
  * and `undefined` values. The sign of `-0` is preserved.
28647
28805
  *
@@ -31768,7 +31926,7 @@
31768
31926
  builtinThemeOverrides: Object
31769
31927
  };
31770
31928
 
31771
- var style$1E = cB("affix", [cM("affixed", {
31929
+ var style$1F = cB("affix", [cM("affixed", {
31772
31930
  position: "fixed"
31773
31931
  }, [cM("absolute-positioned", {
31774
31932
  position: "absolute"
@@ -31838,7 +31996,7 @@
31838
31996
  props: affixProps,
31839
31997
  setup(props) {
31840
31998
  const { mergedClsPrefixRef } = useConfig(props);
31841
- useStyle("-affix", style$1E, mergedClsPrefixRef);
31999
+ useStyle("-affix", style$1F, mergedClsPrefixRef);
31842
32000
  let scrollTarget = null;
31843
32001
  const stickToTopRef = vue.ref(false);
31844
32002
  const stickToBottomRef = vue.ref(false);
@@ -31960,7 +32118,7 @@
31960
32118
  }
31961
32119
  });
31962
32120
 
31963
- var style$1D = cB("base-icon", `
32121
+ var style$1E = cB("base-icon", `
31964
32122
  height: 1em;
31965
32123
  width: 1em;
31966
32124
  line-height: 1em;
@@ -31968,7 +32126,6 @@
31968
32126
  display: inline-block;
31969
32127
  position: relative;
31970
32128
  fill: currentColor;
31971
- transform: translateZ(0);
31972
32129
  `, [c$1("svg", `
31973
32130
  height: 1em;
31974
32131
  width: 1em;
@@ -31996,7 +32153,7 @@
31996
32153
  onMouseup: Function
31997
32154
  },
31998
32155
  setup(props) {
31999
- useStyle("-base-icon", style$1D, vue.toRef(props, "clsPrefix"));
32156
+ useStyle("-base-icon", style$1E, vue.toRef(props, "clsPrefix"));
32000
32157
  },
32001
32158
  render() {
32002
32159
  return /* @__PURE__ */ vue.h(
@@ -32586,7 +32743,7 @@
32586
32743
  })];
32587
32744
  }
32588
32745
 
32589
- var style$1C = cB("base-clear", `
32746
+ var style$1D = cB("base-clear", `
32590
32747
  flex-shrink: 0;
32591
32748
  height: 1em;
32592
32749
  width: 1em;
@@ -32627,7 +32784,7 @@
32627
32784
  onClear: Function
32628
32785
  },
32629
32786
  setup(props) {
32630
- useStyle("-base-clear", style$1C, vue.toRef(props, "clsPrefix"));
32787
+ useStyle("-base-clear", style$1D, vue.toRef(props, "clsPrefix"));
32631
32788
  return {
32632
32789
  handleMouseDown(e) {
32633
32790
  e.preventDefault();
@@ -32658,7 +32815,7 @@
32658
32815
  }
32659
32816
  });
32660
32817
 
32661
- var style$1B = cB("base-close", `
32818
+ var style$1C = cB("base-close", `
32662
32819
  display: flex;
32663
32820
  align-items: center;
32664
32821
  justify-content: center;
@@ -32728,7 +32885,7 @@
32728
32885
  absolute: Boolean
32729
32886
  },
32730
32887
  setup(props) {
32731
- useStyle("-base-close", style$1B, vue.toRef(props, "clsPrefix"));
32888
+ useStyle("-base-close", style$1C, vue.toRef(props, "clsPrefix"));
32732
32889
  return () => {
32733
32890
  const { clsPrefix, disabled, absolute, round, isButtonTag } = props;
32734
32891
  const Tag = isButtonTag ? "button" : "div";
@@ -32887,7 +33044,7 @@
32887
33044
  }
32888
33045
  });
32889
33046
 
32890
- var style$1A = c$1([c$1("@keyframes rotator", `
33047
+ var style$1B = c$1([c$1("@keyframes rotator", `
32891
33048
  0% {
32892
33049
  -webkit-transform: rotate(0deg);
32893
33050
  transform: rotate(0deg);
@@ -32953,7 +33110,7 @@
32953
33110
  ...exposedLoadingProps
32954
33111
  },
32955
33112
  setup(props) {
32956
- useStyle("-base-loading", style$1A, vue.toRef(props, "clsPrefix"));
33113
+ useStyle("-base-loading", style$1B, vue.toRef(props, "clsPrefix"));
32957
33114
  },
32958
33115
  render() {
32959
33116
  const { clsPrefix, radius, strokeWidth, stroke, scale } = this;
@@ -33056,7 +33213,7 @@
33056
33213
  })];
33057
33214
  }
33058
33215
 
33059
- var style$1z = cB("base-menu-mask", `
33216
+ var style$1A = cB("base-menu-mask", `
33060
33217
  position: absolute;
33061
33218
  left: 0;
33062
33219
  right: 0;
@@ -33079,7 +33236,7 @@
33079
33236
  }
33080
33237
  },
33081
33238
  setup(props) {
33082
- useStyle("-base-menu-mask", style$1z, vue.toRef(props, "clsPrefix"));
33239
+ useStyle("-base-menu-mask", style$1A, vue.toRef(props, "clsPrefix"));
33083
33240
  const messageRef = vue.ref(null);
33084
33241
  let timerId = null;
33085
33242
  const uncontrolledShowRef = vue.ref(false);
@@ -33297,22 +33454,11 @@
33297
33454
  // disabled placeholder
33298
33455
  alphaClose: "0.6",
33299
33456
  alphaDisabled: "0.5",
33300
- alphaDisabledInput: "0.02",
33301
- alphaPending: "0.05",
33302
- alphaTablePending: "0.02",
33303
- alphaPressed: "0.07",
33304
33457
  alphaAvatar: "0.2",
33305
- alphaRail: "0.14",
33306
33458
  alphaProgressRail: ".08",
33307
- alphaBorder: "0.12",
33308
- alphaDivider: "0.06",
33309
33459
  alphaInput: "0",
33310
- alphaAction: "0.02",
33311
- alphaTab: "0.04",
33312
33460
  alphaScrollbar: "0.25",
33313
33461
  alphaScrollbarHover: "0.4",
33314
- alphaCode: "0.05",
33315
- alphaTag: "0.02",
33316
33462
  // primary
33317
33463
  primaryHover: "#36ad6a",
33318
33464
  primaryDefault: "#18a058",
@@ -33463,7 +33609,7 @@
33463
33609
  railColor: "transparent"
33464
33610
  };
33465
33611
 
33466
- function self$1j(vars) {
33612
+ function self$1k(vars) {
33467
33613
  const {
33468
33614
  scrollbarColor,
33469
33615
  scrollbarColorHover,
@@ -33483,16 +33629,16 @@
33483
33629
  const scrollbarLight = {
33484
33630
  name: "Scrollbar",
33485
33631
  common: derived,
33486
- self: self$1j
33632
+ self: self$1k
33487
33633
  };
33488
33634
 
33489
33635
  const scrollbarDark = {
33490
33636
  name: "Scrollbar",
33491
33637
  common: derived$1,
33492
- self: self$1j
33638
+ self: self$1k
33493
33639
  };
33494
33640
 
33495
- var rtlStyle$w = cB("scrollbar", [cM("rtl", `
33641
+ var rtlStyle$x = cB("scrollbar", [cM("rtl", `
33496
33642
  direction: rtl;
33497
33643
  `, [c$1(">", [cB("scrollbar-rail", [cM("horizontal", [c$1(">", [cE("scrollbar", `
33498
33644
  left: 0;
@@ -33501,10 +33647,10 @@
33501
33647
 
33502
33648
  const scrollbarRtl = {
33503
33649
  name: "Scrollbar",
33504
- style: rtlStyle$w
33650
+ style: rtlStyle$x
33505
33651
  };
33506
33652
 
33507
- var style$1y = cB("scrollbar", `
33653
+ var style$1z = cB("scrollbar", `
33508
33654
  overflow: hidden;
33509
33655
  position: relative;
33510
33656
  z-index: auto;
@@ -33647,7 +33793,7 @@
33647
33793
  const themeRef = useTheme(
33648
33794
  "Scrollbar",
33649
33795
  "-scrollbar",
33650
- style$1y,
33796
+ style$1z,
33651
33797
  scrollbarLight,
33652
33798
  props,
33653
33799
  mergedClsPrefixRef
@@ -35026,7 +35172,7 @@
35026
35172
  iconSizeHuge: "52px"
35027
35173
  };
35028
35174
 
35029
- function self$1i(vars) {
35175
+ function self$1j(vars) {
35030
35176
  const {
35031
35177
  textColorDisabled,
35032
35178
  iconColor,
@@ -35052,16 +35198,16 @@
35052
35198
  const emptyLight = {
35053
35199
  name: "Empty",
35054
35200
  common: derived,
35055
- self: self$1i
35201
+ self: self$1j
35056
35202
  };
35057
35203
 
35058
35204
  const emptyDark = {
35059
35205
  name: "Empty",
35060
35206
  common: derived$1,
35061
- self: self$1i
35207
+ self: self$1j
35062
35208
  };
35063
35209
 
35064
- var style$1x = cB("empty", `
35210
+ var style$1y = cB("empty", `
35065
35211
  display: flex;
35066
35212
  flex-direction: column;
35067
35213
  align-items: center;
@@ -35112,7 +35258,7 @@
35112
35258
  const themeRef = useTheme(
35113
35259
  "Empty",
35114
35260
  "-empty",
35115
- style$1x,
35261
+ style$1y,
35116
35262
  emptyLight,
35117
35263
  props,
35118
35264
  mergedClsPrefixRef
@@ -35198,7 +35344,7 @@
35198
35344
  loadingSize: "18px"
35199
35345
  };
35200
35346
 
35201
- function self$1h(vars) {
35347
+ function self$1i(vars) {
35202
35348
  const {
35203
35349
  borderRadius,
35204
35350
  popoverColor,
@@ -35257,7 +35403,7 @@
35257
35403
  Scrollbar: scrollbarLight,
35258
35404
  Empty: emptyLight
35259
35405
  },
35260
- self: self$1h
35406
+ self: self$1i
35261
35407
  });
35262
35408
 
35263
35409
  const internalSelectMenuDark = {
@@ -35267,10 +35413,10 @@
35267
35413
  Scrollbar: scrollbarDark,
35268
35414
  Empty: emptyDark
35269
35415
  },
35270
- self: self$1h
35416
+ self: self$1i
35271
35417
  };
35272
35418
 
35273
- var rtlStyle$v = cB("base-select-menu", [cM("rtl", `
35419
+ var rtlStyle$w = cB("base-select-menu", [cM("rtl", `
35274
35420
  direction: rtl;
35275
35421
  `, [cB("base-select-option", [cE("check", `
35276
35422
  right: unset;
@@ -35282,7 +35428,7 @@
35282
35428
 
35283
35429
  const internalSelectMenuRtl = {
35284
35430
  name: "InternalSelectMenu",
35285
- style: rtlStyle$v
35431
+ style: rtlStyle$w
35286
35432
  };
35287
35433
 
35288
35434
  var NSelectGroupHeader = vue.defineComponent({
@@ -35506,7 +35652,7 @@
35506
35652
  })];
35507
35653
  }
35508
35654
 
35509
- var style$1w = cB("base-select-menu", `
35655
+ var style$1x = cB("base-select-menu", `
35510
35656
  line-height: 1.5;
35511
35657
  outline: none;
35512
35658
  z-index: 0;
@@ -35694,7 +35840,7 @@
35694
35840
  const themeRef = useTheme(
35695
35841
  "InternalSelectMenu",
35696
35842
  "-internal-select-menu",
35697
- style$1w,
35843
+ style$1x,
35698
35844
  internalSelectMenuLight,
35699
35845
  props,
35700
35846
  vue.toRef(props, "clsPrefix")
@@ -36155,7 +36301,7 @@
36155
36301
  padding: "8px 14px"
36156
36302
  };
36157
36303
 
36158
- function self$1g(vars) {
36304
+ function self$1h(vars) {
36159
36305
  const {
36160
36306
  boxShadow2,
36161
36307
  popoverColor,
@@ -36177,13 +36323,13 @@
36177
36323
  const popoverLight = {
36178
36324
  name: "Popover",
36179
36325
  common: derived,
36180
- self: self$1g
36326
+ self: self$1h
36181
36327
  };
36182
36328
 
36183
36329
  const popoverDark = {
36184
36330
  name: "Popover",
36185
36331
  common: derived$1,
36186
- self: self$1g
36332
+ self: self$1h
36187
36333
  };
36188
36334
 
36189
36335
  const oppositePlacement = {
@@ -36193,7 +36339,7 @@
36193
36339
  right: "left"
36194
36340
  };
36195
36341
  const arrowSize = "var(--n-arrow-height) * 1.414";
36196
- var style$1v = c$1([cB("popover", `
36342
+ var style$1w = c$1([cB("popover", `
36197
36343
  transition:
36198
36344
  box-shadow .3s var(--n-bezier),
36199
36345
  background-color .3s var(--n-bezier),
@@ -36407,7 +36553,7 @@
36407
36553
  const themeRef = useTheme(
36408
36554
  "Popover",
36409
36555
  "-popover",
36410
- style$1v,
36556
+ style$1w,
36411
36557
  popoverLight,
36412
36558
  props,
36413
36559
  mergedClsPrefixRef
@@ -37449,7 +37595,7 @@
37449
37595
  }
37450
37596
  };
37451
37597
 
37452
- function self$1f(vars) {
37598
+ function self$1g(vars) {
37453
37599
  const {
37454
37600
  textColor2,
37455
37601
  primaryColorHover,
@@ -37616,10 +37762,10 @@
37616
37762
  const tagLight = {
37617
37763
  name: "Tag",
37618
37764
  common: derived,
37619
- self: self$1f
37765
+ self: self$1g
37620
37766
  };
37621
37767
 
37622
- var rtlStyle$u = cB("tag", [cM("rtl", `
37768
+ var rtlStyle$v = cB("tag", [cM("rtl", `
37623
37769
  direction: rtl;
37624
37770
  --n-close-margin: var(--n-close-margin-top) var(--n-close-margin-left) var(--n-close-margin-bottom) var(--n-close-margin-right);
37625
37771
  `, [cE("icon", `
@@ -37638,7 +37784,7 @@
37638
37784
 
37639
37785
  const tagRtl = {
37640
37786
  name: "Tag",
37641
- style: rtlStyle$u
37787
+ style: rtlStyle$v
37642
37788
  };
37643
37789
 
37644
37790
  var commonProps = {
@@ -37659,7 +37805,7 @@
37659
37805
  }
37660
37806
  };
37661
37807
 
37662
- var style$1u = cB("tag", `
37808
+ var style$1v = cB("tag", `
37663
37809
  --n-close-margin: var(--n-close-margin-top) var(--n-close-margin-right) var(--n-close-margin-bottom) var(--n-close-margin-left);
37664
37810
  white-space: nowrap;
37665
37811
  position: relative;
@@ -37785,7 +37931,7 @@
37785
37931
  const themeRef = useTheme(
37786
37932
  "Tag",
37787
37933
  "-tag",
37788
- style$1u,
37934
+ style$1v,
37789
37935
  tagLight,
37790
37936
  props,
37791
37937
  mergedClsPrefixRef
@@ -38186,7 +38332,7 @@
38186
38332
  }
38187
38333
  };
38188
38334
 
38189
- function self$1e(vars) {
38335
+ function self$1f(vars) {
38190
38336
  const {
38191
38337
  borderRadius,
38192
38338
  textColor2,
@@ -38291,10 +38437,10 @@
38291
38437
  peers: {
38292
38438
  Popover: popoverLight
38293
38439
  },
38294
- self: self$1e
38440
+ self: self$1f
38295
38441
  });
38296
38442
 
38297
- var rtlStyle$t = cB("base-selection", [cM("rtl", `
38443
+ var rtlStyle$u = cB("base-selection", [cM("rtl", `
38298
38444
  direction: rtl;
38299
38445
  --n-padding-single: var(--n-padding-single-top) var(--n-padding-single-left) var(--n-padding-single-bottom) var(--n-padding-single-right);
38300
38446
  --n-padding-multiple: var(--n-padding-multiple-top) var(--n-padding-multiple-left) var(--n-padding-multiple-bottom) var(--n-padding-multiple-right);
@@ -38305,10 +38451,10 @@
38305
38451
 
38306
38452
  const internalSelectionRtl = {
38307
38453
  name: "InternalSelection",
38308
- style: rtlStyle$t
38454
+ style: rtlStyle$u
38309
38455
  };
38310
38456
 
38311
- var style$1t = c$1([cB("base-selection", `
38457
+ var style$1u = c$1([cB("base-selection", `
38312
38458
  --n-padding-single: var(--n-padding-single-top) var(--n-padding-single-right) var(--n-padding-single-bottom) var(--n-padding-single-left);
38313
38459
  --n-padding-multiple: var(--n-padding-multiple-top) var(--n-padding-multiple-right) var(--n-padding-multiple-bottom) var(--n-padding-multiple-left);
38314
38460
  position: relative;
@@ -38598,7 +38744,7 @@
38598
38744
  const themeRef = useTheme(
38599
38745
  "InternalSelection",
38600
38746
  "-internal-selection",
38601
- style$1t,
38747
+ style$1u,
38602
38748
  internalSelectionLight,
38603
38749
  props,
38604
38750
  vue.toRef(props, "clsPrefix")
@@ -39549,7 +39695,7 @@
39549
39695
  })];
39550
39696
  }
39551
39697
 
39552
- var style$1s = c$1([c$1("@keyframes n-base-slot-machine-fade-up-in", `
39698
+ var style$1t = c$1([c$1("@keyframes n-base-slot-machine-fade-up-in", `
39553
39699
  from {
39554
39700
  transform: translateY(60%);
39555
39701
  opacity: 0;
@@ -39668,7 +39814,7 @@
39668
39814
  }
39669
39815
  },
39670
39816
  setup(props) {
39671
- useStyle("-base-slot-machine", style$1s, vue.toRef(props, "clsPrefix"));
39817
+ useStyle("-base-slot-machine", style$1t, vue.toRef(props, "clsPrefix"));
39672
39818
  const oldValueRef = vue.ref();
39673
39819
  const newValueRef = vue.ref();
39674
39820
  const numbersRef = vue.computed(() => {
@@ -39723,7 +39869,7 @@
39723
39869
  }
39724
39870
  });
39725
39871
 
39726
- var style$1r = cB("base-wave", `
39872
+ var style$1s = cB("base-wave", `
39727
39873
  position: absolute;
39728
39874
  left: 0;
39729
39875
  right: 0;
@@ -39741,7 +39887,7 @@
39741
39887
  }
39742
39888
  },
39743
39889
  setup(props) {
39744
- useStyle("-base-wave", style$1r, vue.toRef(props, "clsPrefix"));
39890
+ useStyle("-base-wave", style$1s, vue.toRef(props, "clsPrefix"));
39745
39891
  const selfRef = vue.ref(null);
39746
39892
  const activeRef = vue.ref(false);
39747
39893
  let animationTimerId = null;
@@ -39897,7 +40043,7 @@
39897
40043
  }
39898
40044
  };
39899
40045
 
39900
- function self$1d(vars) {
40046
+ function self$1e(vars) {
39901
40047
  const {
39902
40048
  lineHeight,
39903
40049
  borderRadius,
@@ -39996,10 +40142,10 @@
39996
40142
  const alertLight = {
39997
40143
  name: "Alert",
39998
40144
  common: derived,
39999
- self: self$1d
40145
+ self: self$1e
40000
40146
  };
40001
40147
 
40002
- var rtlStyle$s = cB("alert", [cM("rtl", `
40148
+ var rtlStyle$t = cB("alert", [cM("rtl", `
40003
40149
  direction: rtl;
40004
40150
  `, [cE("icon", `
40005
40151
  left: unset;
@@ -40017,7 +40163,7 @@
40017
40163
 
40018
40164
  const alertRtl = {
40019
40165
  name: "Alert",
40020
- style: rtlStyle$s
40166
+ style: rtlStyle$t
40021
40167
  };
40022
40168
 
40023
40169
  const {
@@ -40072,7 +40218,7 @@
40072
40218
  `)];
40073
40219
  }
40074
40220
 
40075
- var style$1q = cB("alert", `
40221
+ var style$1r = cB("alert", `
40076
40222
  line-height: var(--n-line-height);
40077
40223
  border-radius: var(--n-border-radius);
40078
40224
  position: relative;
@@ -40196,7 +40342,7 @@
40196
40342
  const themeRef = useTheme(
40197
40343
  "Alert",
40198
40344
  "-alert",
40199
- style$1q,
40345
+ style$1r,
40200
40346
  alertLight,
40201
40347
  props,
40202
40348
  mergedClsPrefixRef
@@ -40370,7 +40516,7 @@
40370
40516
  railWidth: "4px"
40371
40517
  };
40372
40518
 
40373
- function self$1c(vars) {
40519
+ function self$1d(vars) {
40374
40520
  const {
40375
40521
  borderRadius,
40376
40522
  railColor,
@@ -40396,13 +40542,13 @@
40396
40542
  const anchorLight = {
40397
40543
  name: "Anchor",
40398
40544
  common: derived,
40399
- self: self$1c
40545
+ self: self$1d
40400
40546
  };
40401
40547
 
40402
40548
  const anchorDark = {
40403
40549
  name: "Anchor",
40404
40550
  common: derived$1,
40405
- self: self$1c
40551
+ self: self$1d
40406
40552
  };
40407
40553
 
40408
40554
  const anchorInjectionKey = createInjectionKey("n-anchor");
@@ -40413,6 +40559,7 @@
40413
40559
  var Link = vue.defineComponent({
40414
40560
  name: "AnchorLink",
40415
40561
  props: anchorLinkProps,
40562
+ slots: Object,
40416
40563
  setup(props, { slots }) {
40417
40564
  const titleRef = vue.ref(null);
40418
40565
  const NAnchor = vue.inject(anchorInjectionKey);
@@ -40455,7 +40602,9 @@
40455
40602
  title: getTitleAttribute(props.title),
40456
40603
  onClick: handleClick
40457
40604
  },
40458
- props.title
40605
+ {
40606
+ default: () => resolveSlot(slots.title, () => [props.title])
40607
+ }
40459
40608
  ),
40460
40609
  slots.default?.()
40461
40610
  );
@@ -40528,7 +40677,7 @@
40528
40677
  if (slotEl) {
40529
40678
  slotEl.style.transition = "none";
40530
40679
  }
40531
- {
40680
+ if (titleEls) {
40532
40681
  titleEls.forEach((titleEl) => {
40533
40682
  titleEl.style.transition = "none";
40534
40683
  });
@@ -40544,7 +40693,7 @@
40544
40693
  void nextSlotEl.offsetWidth;
40545
40694
  nextSlotEl.style.transition = "";
40546
40695
  }
40547
- {
40696
+ if (titleEls) {
40548
40697
  titleEls.forEach((titleEl) => {
40549
40698
  void titleEl.offsetWidth;
40550
40699
  titleEl.style.transition = "";
@@ -40736,7 +40885,7 @@
40736
40885
  }
40737
40886
  });
40738
40887
 
40739
- var style$1p = cB("anchor", `
40888
+ var style$1q = cB("anchor", `
40740
40889
  position: relative;
40741
40890
  `, [cNotM("block", `
40742
40891
  padding-left: var(--n-rail-width);
@@ -40826,7 +40975,7 @@
40826
40975
  const themeRef = useTheme(
40827
40976
  "Anchor",
40828
40977
  "-anchor",
40829
- style$1p,
40978
+ style$1q,
40830
40979
  anchorLight,
40831
40980
  props,
40832
40981
  mergedClsPrefixRef
@@ -41014,7 +41163,7 @@
41014
41163
  }
41015
41164
  };
41016
41165
 
41017
- function self$1b(vars) {
41166
+ function self$1c(vars) {
41018
41167
  const {
41019
41168
  textColor2,
41020
41169
  textColor3,
@@ -41120,10 +41269,10 @@
41120
41269
  const inputLight = {
41121
41270
  name: "Input",
41122
41271
  common: derived,
41123
- self: self$1b
41272
+ self: self$1c
41124
41273
  };
41125
41274
 
41126
- var rtlStyle$r = cB("input", [cM("rtl", `
41275
+ var rtlStyle$s = cB("input", [cM("rtl", `
41127
41276
  direction: rtl;
41128
41277
  `, [cE("prefix", {
41129
41278
  marginRight: 0,
@@ -41141,12 +41290,12 @@
41141
41290
 
41142
41291
  const inputRtl = {
41143
41292
  name: "Input",
41144
- style: rtlStyle$r
41293
+ style: rtlStyle$s
41145
41294
  };
41146
41295
 
41147
41296
  const inputInjectionKey = createInjectionKey("n-input");
41148
41297
 
41149
- var style$1o = cB("input", `
41298
+ var style$1p = cB("input", `
41150
41299
  max-width: 100%;
41151
41300
  cursor: text;
41152
41301
  line-height: 1.5;
@@ -41596,16 +41745,6 @@
41596
41745
  props: inputProps,
41597
41746
  slots: Object,
41598
41747
  setup(props) {
41599
- {
41600
- vue.watchEffect(() => {
41601
- if (props.showPasswordToggle) {
41602
- warnOnce(
41603
- "input",
41604
- '`show-password-toggle` is deprecated, please use `showPasswordOn="click"` instead'
41605
- );
41606
- }
41607
- });
41608
- }
41609
41748
  const {
41610
41749
  mergedClsPrefixRef,
41611
41750
  mergedBorderedRef,
@@ -41615,7 +41754,7 @@
41615
41754
  const themeRef = useTheme(
41616
41755
  "Input",
41617
41756
  "-input",
41618
- style$1o,
41757
+ style$1p,
41619
41758
  inputLight,
41620
41759
  props,
41621
41760
  mergedClsPrefixRef
@@ -42658,7 +42797,7 @@
42658
42797
  }
42659
42798
  });
42660
42799
 
42661
- var style$1n = cB("input-group", `
42800
+ var style$1o = cB("input-group", `
42662
42801
  display: inline-flex;
42663
42802
  width: 100%;
42664
42803
  flex-wrap: nowrap;
@@ -42721,7 +42860,7 @@
42721
42860
  props: inputGroupProps,
42722
42861
  setup(props) {
42723
42862
  const { mergedClsPrefixRef } = useConfig(props);
42724
- useStyle("-input-group", style$1n, mergedClsPrefixRef);
42863
+ useStyle("-input-group", style$1o, mergedClsPrefixRef);
42725
42864
  return {
42726
42865
  mergedClsPrefix: mergedClsPrefixRef
42727
42866
  };
@@ -42732,7 +42871,7 @@
42732
42871
  }
42733
42872
  });
42734
42873
 
42735
- var style$1m = cB("input-group-label", `
42874
+ var style$1n = cB("input-group-label", `
42736
42875
  position: relative;
42737
42876
  user-select: none;
42738
42877
  -webkit-user-select: none;
@@ -42781,7 +42920,7 @@
42781
42920
  const themeRef = useTheme(
42782
42921
  "Input",
42783
42922
  "-input-group-label",
42784
- style$1m,
42923
+ style$1n,
42785
42924
  inputLight,
42786
42925
  props,
42787
42926
  mergedClsPrefixRef
@@ -42906,7 +43045,7 @@
42906
43045
  return valOptMap;
42907
43046
  }
42908
43047
 
42909
- function self$1a(vars) {
43048
+ function self$1b(vars) {
42910
43049
  const {
42911
43050
  boxShadow2
42912
43051
  } = vars;
@@ -42921,7 +43060,7 @@
42921
43060
  InternalSelectMenu: internalSelectMenuLight,
42922
43061
  Input: inputLight
42923
43062
  },
42924
- self: self$1a
43063
+ self: self$1b
42925
43064
  });
42926
43065
 
42927
43066
  const autoCompleteDark = {
@@ -42931,10 +43070,10 @@
42931
43070
  InternalSelectMenu: internalSelectMenuDark,
42932
43071
  Input: inputDark
42933
43072
  },
42934
- self: self$1a
43073
+ self: self$1b
42935
43074
  };
42936
43075
 
42937
- var style$1l = c$1([cB("auto-complete", `
43076
+ var style$1m = c$1([cB("auto-complete", `
42938
43077
  z-index: auto;
42939
43078
  position: relative;
42940
43079
  display: inline-flex;
@@ -43058,7 +43197,7 @@
43058
43197
  const themeRef = useTheme(
43059
43198
  "AutoComplete",
43060
43199
  "-auto-complete",
43061
- style$1l,
43200
+ style$1m,
43062
43201
  autoCompleteLight,
43063
43202
  props,
43064
43203
  mergedClsPrefixRef
@@ -43448,7 +43587,7 @@
43448
43587
  return unobserve;
43449
43588
  };
43450
43589
 
43451
- function self$19(vars) {
43590
+ function self$1a(vars) {
43452
43591
  const {
43453
43592
  borderRadius,
43454
43593
  avatarColor,
@@ -43479,18 +43618,18 @@
43479
43618
  const avatarLight = {
43480
43619
  name: "Avatar",
43481
43620
  common: derived,
43482
- self: self$19
43621
+ self: self$1a
43483
43622
  };
43484
43623
 
43485
43624
  const avatarDark = {
43486
43625
  name: "Avatar",
43487
43626
  common: derived$1,
43488
- self: self$19
43627
+ self: self$1a
43489
43628
  };
43490
43629
 
43491
43630
  const avatarGroupInjectionKey = createInjectionKey("n-avatar-group");
43492
43631
 
43493
- var style$1k = cB("avatar", `
43632
+ var style$1l = cB("avatar", `
43494
43633
  width: var(--n-merged-size);
43495
43634
  height: var(--n-merged-size);
43496
43635
  color: #FFF;
@@ -43592,7 +43731,7 @@
43592
43731
  const themeRef = useTheme(
43593
43732
  "Avatar",
43594
43733
  "-avatar",
43595
- style$1k,
43734
+ style$1l,
43596
43735
  avatarLight,
43597
43736
  props,
43598
43737
  mergedClsPrefixRef
@@ -43795,7 +43934,7 @@
43795
43934
  }
43796
43935
  });
43797
43936
 
43798
- function self$18() {
43937
+ function self$19() {
43799
43938
  return {
43800
43939
  gap: "-12px"
43801
43940
  };
@@ -43806,7 +43945,7 @@
43806
43945
  peers: {
43807
43946
  Avatar: avatarLight
43808
43947
  },
43809
- self: self$18
43948
+ self: self$19
43810
43949
  });
43811
43950
 
43812
43951
  const avatarGroupDark = {
@@ -43815,10 +43954,10 @@
43815
43954
  peers: {
43816
43955
  Avatar: avatarDark
43817
43956
  },
43818
- self: self$18
43957
+ self: self$19
43819
43958
  };
43820
43959
 
43821
- var rtlStyle$q = cB("avatar-group", [cM("rtl", `
43960
+ var rtlStyle$r = cB("avatar-group", [cM("rtl", `
43822
43961
  direction: rtl;
43823
43962
  `, [cNotM("vertical", `
43824
43963
  flex-direction: row;
@@ -43829,10 +43968,10 @@
43829
43968
 
43830
43969
  const avatarGroupRtl = {
43831
43970
  name: "AvatarGroup",
43832
- style: rtlStyle$q
43971
+ style: rtlStyle$r
43833
43972
  };
43834
43973
 
43835
- var style$1j = cB("avatar-group", `
43974
+ var style$1k = cB("avatar-group", `
43836
43975
  flex-wrap: nowrap;
43837
43976
  display: inline-flex;
43838
43977
  position: relative;
@@ -43873,7 +44012,7 @@
43873
44012
  const mergedThemeRef = useTheme(
43874
44013
  "AvatarGroup",
43875
44014
  "-avatar-group",
43876
- style$1j,
44015
+ style$1k,
43877
44016
  avatarGroupLight,
43878
44017
  props,
43879
44018
  mergedClsPrefixRef
@@ -43992,7 +44131,7 @@
43992
44131
  }
43993
44132
  };
43994
44133
 
43995
- function self$17(vars) {
44134
+ function self$18(vars) {
43996
44135
  const {
43997
44136
  popoverColor,
43998
44137
  textColor2,
@@ -44014,7 +44153,7 @@
44014
44153
  const backTopLight = {
44015
44154
  name: "BackTop",
44016
44155
  common: derived,
44017
- self: self$17
44156
+ self: self$18
44018
44157
  };
44019
44158
 
44020
44159
  var renderBackTopIcon = () => /* @__PURE__ */ vue.h(
@@ -44028,7 +44167,7 @@
44028
44167
  /* @__PURE__ */ vue.h("g", { stroke: "none", "stroke-width": "1", "fill-rule": "evenodd" }, /* @__PURE__ */ vue.h("g", { transform: "translate(-139.000000, -4423.000000)", "fill-rule": "nonzero" }, /* @__PURE__ */ vue.h("g", { transform: "translate(120.000000, 4285.000000)" }, /* @__PURE__ */ vue.h("g", { transform: "translate(7.000000, 126.000000)" }, /* @__PURE__ */ vue.h("g", { transform: "translate(24.000000, 24.000000) scale(1, -1) translate(-24.000000, -24.000000) translate(12.000000, 12.000000)" }, /* @__PURE__ */ vue.h("g", { transform: "translate(4.000000, 2.000000)" }, /* @__PURE__ */ vue.h("path", { d: "M8,0 C8.51283584,0 8.93550716,0.38604019 8.99327227,0.883378875 L9,1 L9,10.584 L12.2928932,7.29289322 C12.6834175,6.90236893 13.3165825,6.90236893 13.7071068,7.29289322 C14.0675907,7.65337718 14.0953203,8.22060824 13.7902954,8.61289944 L13.7071068,8.70710678 L8.70710678,13.7071068 L8.62544899,13.7803112 L8.618,13.784 L8.59530661,13.8036654 L8.4840621,13.8753288 L8.37133602,13.9287745 L8.22929083,13.9735893 L8.14346259,13.9897165 L8.03324678,13.9994506 L7.9137692,13.9962979 L7.77070917,13.9735893 L7.6583843,13.9401293 L7.57677845,13.9063266 L7.47929125,13.8540045 L7.4048407,13.8036865 L7.38131006,13.7856883 C7.35030318,13.7612383 7.32077858,13.7349921 7.29289322,13.7071068 L2.29289322,8.70710678 L2.20970461,8.61289944 C1.90467972,8.22060824 1.93240926,7.65337718 2.29289322,7.29289322 C2.65337718,6.93240926 3.22060824,6.90467972 3.61289944,7.20970461 L3.70710678,7.29289322 L7,10.585 L7,1 L7.00672773,0.883378875 C7.06449284,0.38604019 7.48716416,0 8,0 Z" }), /* @__PURE__ */ vue.h("path", { d: "M14.9333333,15.9994506 C15.5224371,15.9994506 16,16.4471659 16,16.9994506 C16,17.5122865 15.5882238,17.9349578 15.0577292,17.9927229 L14.9333333,17.9994506 L1.06666667,17.9994506 C0.477562934,17.9994506 0,17.5517354 0,16.9994506 C0,16.4866148 0.411776203,16.0639435 0.9422708,16.0061783 L1.06666667,15.9994506 L14.9333333,15.9994506 Z" })))))))
44029
44168
  );
44030
44169
 
44031
- var style$1i = cB("back-top", `
44170
+ var style$1j = cB("back-top", `
44032
44171
  position: fixed;
44033
44172
  right: 40px;
44034
44173
  bottom: 40px;
@@ -44167,7 +44306,7 @@
44167
44306
  const themeRef = useTheme(
44168
44307
  "BackTop",
44169
44308
  "-back-top",
44170
- style$1i,
44309
+ style$1j,
44171
44310
  backTopLight,
44172
44311
  props,
44173
44312
  mergedClsPrefixRef
@@ -44341,7 +44480,7 @@
44341
44480
  }
44342
44481
  };
44343
44482
 
44344
- function self$16(vars) {
44483
+ function self$17(vars) {
44345
44484
  const {
44346
44485
  errorColor,
44347
44486
  infoColor,
@@ -44362,10 +44501,10 @@
44362
44501
  const badgeLight = {
44363
44502
  name: "Badge",
44364
44503
  common: derived,
44365
- self: self$16
44504
+ self: self$17
44366
44505
  };
44367
44506
 
44368
- var rtlStyle$p = cB("badge", [cM("rtl", `
44507
+ var rtlStyle$q = cB("badge", [cM("rtl", `
44369
44508
  direction: rtl;
44370
44509
  `, [cB("badge-sup", `
44371
44510
  right: 100%;
@@ -44376,10 +44515,10 @@
44376
44515
 
44377
44516
  const badgeRtl = {
44378
44517
  name: "Badge",
44379
- style: rtlStyle$p
44518
+ style: rtlStyle$q
44380
44519
  };
44381
44520
 
44382
- var style$1h = c$1([c$1("@keyframes badge-wave-spread", {
44521
+ var style$1i = c$1([c$1("@keyframes badge-wave-spread", {
44383
44522
  from: {
44384
44523
  boxShadow: "0 0 0.5px 0px var(--n-ripple-color)",
44385
44524
  opacity: 0.6
@@ -44475,7 +44614,7 @@
44475
44614
  const themeRef = useTheme(
44476
44615
  "Badge",
44477
44616
  "-badge",
44478
- style$1h,
44617
+ style$1i,
44479
44618
  badgeLight,
44480
44619
  props,
44481
44620
  mergedClsPrefixRef
@@ -44607,7 +44746,7 @@
44607
44746
  fontWeightActive: "400"
44608
44747
  };
44609
44748
 
44610
- function self$15(vars) {
44749
+ function self$16(vars) {
44611
44750
  const {
44612
44751
  fontSize,
44613
44752
  textColor3,
@@ -44633,16 +44772,16 @@
44633
44772
  const breadcrumbLight = {
44634
44773
  name: "Breadcrumb",
44635
44774
  common: derived,
44636
- self: self$15
44775
+ self: self$16
44637
44776
  };
44638
44777
 
44639
44778
  const breadcrumbDark = {
44640
44779
  name: "Breadcrumb",
44641
44780
  common: derived$1,
44642
- self: self$15
44781
+ self: self$16
44643
44782
  };
44644
44783
 
44645
- var style$1g = cB("breadcrumb", `
44784
+ var style$1h = cB("breadcrumb", `
44646
44785
  white-space: nowrap;
44647
44786
  cursor: default;
44648
44787
  line-height: var(--n-item-line-height);
@@ -44717,7 +44856,7 @@
44717
44856
  const themeRef = useTheme(
44718
44857
  "Breadcrumb",
44719
44858
  "-breadcrumb",
44720
- style$1g,
44859
+ style$1h,
44721
44860
  breadcrumbLight,
44722
44861
  props,
44723
44862
  mergedClsPrefixRef
@@ -44918,7 +45057,7 @@
44918
45057
  rippleDuration: ".6s"
44919
45058
  };
44920
45059
 
44921
- function self$14(vars) {
45060
+ function self$15(vars) {
44922
45061
  const {
44923
45062
  heightTiny,
44924
45063
  heightSmall,
@@ -45157,14 +45296,14 @@
45157
45296
  const buttonLight = {
45158
45297
  name: "Button",
45159
45298
  common: derived,
45160
- self: self$14
45299
+ self: self$15
45161
45300
  };
45162
45301
 
45163
45302
  const buttonDark = {
45164
45303
  name: "Button",
45165
45304
  common: derived$1,
45166
45305
  self(vars) {
45167
- const commonSelf = self$14(vars);
45306
+ const commonSelf = self$15(vars);
45168
45307
  commonSelf.waveOpacity = "0.8";
45169
45308
  commonSelf.colorOpacitySecondary = "0.16";
45170
45309
  commonSelf.colorOpacitySecondaryHover = "0.2";
@@ -45173,7 +45312,7 @@
45173
45312
  }
45174
45313
  };
45175
45314
 
45176
- var rtlStyle$o = cB("button", [cM("rtl", `
45315
+ var rtlStyle$p = cB("button", [cM("rtl", `
45177
45316
  direction: rtl;
45178
45317
  `, [cE("icon", {
45179
45318
  margin: "var(--n-icon-margin)",
@@ -45185,10 +45324,10 @@
45185
45324
 
45186
45325
  const buttonRtl = {
45187
45326
  name: "Button",
45188
- style: rtlStyle$o
45327
+ style: rtlStyle$p
45189
45328
  };
45190
45329
 
45191
- var style$1f = c$1([cB("button", `
45330
+ var style$1g = c$1([cB("button", `
45192
45331
  margin: 0;
45193
45332
  font-weight: var(--n-font-weight);
45194
45333
  line-height: 1;
@@ -45489,7 +45628,7 @@
45489
45628
  const themeRef = useTheme(
45490
45629
  "Button",
45491
45630
  "-button",
45492
- style$1f,
45631
+ style$1g,
45493
45632
  buttonLight,
45494
45633
  props,
45495
45634
  mergedClsPrefixRef
@@ -45874,7 +46013,7 @@
45874
46013
  top: n1
45875
46014
  })])])])]);
45876
46015
  }
45877
- var style$1e = cB("button-group", `
46016
+ var style$1f = cB("button-group", `
45878
46017
  flex-wrap: nowrap;
45879
46018
  display: inline-flex;
45880
46019
  position: relative;
@@ -45923,7 +46062,7 @@
45923
46062
  props: buttonGroupProps,
45924
46063
  setup(props) {
45925
46064
  const { mergedClsPrefixRef, mergedRtlRef } = useConfig(props);
45926
- useStyle("-button-group", style$1e, mergedClsPrefixRef);
46065
+ useStyle("-button-group", style$1f, mergedClsPrefixRef);
45927
46066
  vue.provide(buttonGroupInjectionKey, props);
45928
46067
  const rtlEnabledRef = useRtl(
45929
46068
  "ButtonGroup",
@@ -47007,8 +47146,6 @@
47007
47146
  };
47008
47147
 
47009
47148
  const dayPeriodEnum = {
47010
- am: "am",
47011
- pm: "pm",
47012
47149
  midnight: "midnight",
47013
47150
  noon: "noon",
47014
47151
  morning: "morning",
@@ -51410,7 +51547,7 @@
51410
51547
  titleFontSize: "22px"
51411
51548
  };
51412
51549
 
51413
- function self$13(vars) {
51550
+ function self$14(vars) {
51414
51551
  const {
51415
51552
  borderRadius,
51416
51553
  fontSize,
@@ -51456,7 +51593,7 @@
51456
51593
  peers: {
51457
51594
  Button: buttonLight
51458
51595
  },
51459
- self: self$13
51596
+ self: self$14
51460
51597
  });
51461
51598
 
51462
51599
  const calendarDark = {
@@ -51465,10 +51602,10 @@
51465
51602
  peers: {
51466
51603
  Button: buttonDark
51467
51604
  },
51468
- self: self$13
51605
+ self: self$14
51469
51606
  };
51470
51607
 
51471
- var style$1d = c$1([cB("calendar", `
51608
+ var style$1e = c$1([cB("calendar", `
51472
51609
  line-height: var(--n-line-height);
51473
51610
  font-size: var(--n-font-size);
51474
51611
  color: var(--n-text-color);
@@ -51607,7 +51744,7 @@
51607
51744
  const themeRef = useTheme(
51608
51745
  "Calendar",
51609
51746
  "-calendar",
51610
- style$1d,
51747
+ style$1e,
51611
51748
  calendarLight,
51612
51749
  props,
51613
51750
  mergedClsPrefixRef
@@ -51901,7 +52038,7 @@
51901
52038
  closeSize: "22px"
51902
52039
  };
51903
52040
 
51904
- function self$12(vars) {
52041
+ function self$13(vars) {
51905
52042
  const {
51906
52043
  primaryColor,
51907
52044
  borderRadius,
@@ -51954,14 +52091,14 @@
51954
52091
  const cardLight = {
51955
52092
  name: "Card",
51956
52093
  common: derived,
51957
- self: self$12
52094
+ self: self$13
51958
52095
  };
51959
52096
 
51960
52097
  const cardDark = {
51961
52098
  name: "Card",
51962
52099
  common: derived$1,
51963
52100
  self(vars) {
51964
- const commonSelf = self$12(vars);
52101
+ const commonSelf = self$13(vars);
51965
52102
  const {
51966
52103
  cardColor,
51967
52104
  modalColor,
@@ -51974,7 +52111,7 @@
51974
52111
  }
51975
52112
  };
51976
52113
 
51977
- var rtlStyle$n = cB("card", [cM("rtl", `
52114
+ var rtlStyle$o = cB("card", [cM("rtl", `
51978
52115
  direction: rtl;
51979
52116
  `), c$1(">", [cB("card-header", [c$1(">", [cE("close", `
51980
52117
  margin: 0 8px 0 0;
@@ -51982,10 +52119,10 @@
51982
52119
 
51983
52120
  const cardRtl = {
51984
52121
  name: "Card",
51985
- style: rtlStyle$n
52122
+ style: rtlStyle$o
51986
52123
  };
51987
52124
 
51988
- var style$1c = c$1([cB("card", `
52125
+ var style$1d = c$1([cB("card", `
51989
52126
  font-size: var(--n-font-size);
51990
52127
  line-height: var(--n-line-height);
51991
52128
  display: flex;
@@ -52147,7 +52284,7 @@
52147
52284
  const themeRef = useTheme(
52148
52285
  "Card",
52149
52286
  "-card",
52150
- style$1c,
52287
+ style$1d,
52151
52288
  cardLight,
52152
52289
  props,
52153
52290
  mergedClsPrefixRef
@@ -52358,7 +52495,7 @@
52358
52495
  }
52359
52496
  });
52360
52497
 
52361
- function self$11() {
52498
+ function self$12() {
52362
52499
  return {
52363
52500
  dotSize: "8px",
52364
52501
  dotColor: "rgba(255, 255, 255, .3)",
@@ -52372,13 +52509,13 @@
52372
52509
  const carouselLight = {
52373
52510
  name: "Carousel",
52374
52511
  common: derived,
52375
- self: self$11
52512
+ self: self$12
52376
52513
  };
52377
52514
 
52378
52515
  const carouselDark = {
52379
52516
  name: "Carousel",
52380
52517
  common: derived$1,
52381
- self: self$11
52518
+ self: self$12
52382
52519
  };
52383
52520
 
52384
52521
  const carouselMethodsInjectionKey = createInjectionKey("n-carousel-methods");
@@ -52666,7 +52803,7 @@
52666
52803
  }
52667
52804
  });
52668
52805
 
52669
- var style$1b = cB("carousel", `
52806
+ var style$1c = cB("carousel", `
52670
52807
  position: relative;
52671
52808
  width: 100%;
52672
52809
  height: 100%;
@@ -53664,7 +53801,7 @@
53664
53801
  const themeRef = useTheme(
53665
53802
  "Carousel",
53666
53803
  "-carousel",
53667
- style$1b,
53804
+ style$1c,
53668
53805
  carouselLight,
53669
53806
  props,
53670
53807
  mergedClsPrefixRef
@@ -53824,7 +53961,7 @@
53824
53961
  labelFontWeight: "400"
53825
53962
  };
53826
53963
 
53827
- function self$10(vars) {
53964
+ function self$11(vars) {
53828
53965
  const {
53829
53966
  baseColor,
53830
53967
  inputColorDisabled,
@@ -53873,7 +54010,7 @@
53873
54010
  const checkboxLight = {
53874
54011
  name: "Checkbox",
53875
54012
  common: derived,
53876
- self: self$10
54013
+ self: self$11
53877
54014
  };
53878
54015
 
53879
54016
  const checkboxDark = {
@@ -53883,23 +54020,23 @@
53883
54020
  const {
53884
54021
  cardColor
53885
54022
  } = vars;
53886
- const commonSelf = self$10(vars);
54023
+ const commonSelf = self$11(vars);
53887
54024
  commonSelf.color = "#0000";
53888
54025
  commonSelf.checkMarkColor = cardColor;
53889
54026
  return commonSelf;
53890
54027
  }
53891
54028
  };
53892
54029
 
53893
- var rtlStyle$m = cB("checkbox", [cM("rtl", `
54030
+ var rtlStyle$n = cB("checkbox", [cM("rtl", `
53894
54031
  direction: rtl;
53895
54032
  `)]);
53896
54033
 
53897
54034
  const checkboxRtl = {
53898
54035
  name: "Checkbox",
53899
- style: rtlStyle$m
54036
+ style: rtlStyle$n
53900
54037
  };
53901
54038
 
53902
- function self$$(vars) {
54039
+ function self$10(vars) {
53903
54040
  const {
53904
54041
  borderRadius,
53905
54042
  boxShadow2,
@@ -53941,7 +54078,7 @@
53941
54078
  Checkbox: checkboxLight,
53942
54079
  Empty: emptyLight
53943
54080
  },
53944
- self: self$$
54081
+ self: self$10
53945
54082
  });
53946
54083
 
53947
54084
  const cascaderDark = {
@@ -53954,7 +54091,7 @@
53954
54091
  Checkbox: checkboxDark,
53955
54092
  Empty: emptyLight
53956
54093
  },
53957
- self: self$$
54094
+ self: self$10
53958
54095
  };
53959
54096
 
53960
54097
  const checkboxGroupInjectionKey = createInjectionKey("n-checkbox-group");
@@ -54123,7 +54260,7 @@
54123
54260
 
54124
54261
  var renderLineMark = () => /* @__PURE__ */ vue.h("svg", { viewBox: "0 0 100 100", class: "line-icon" }, /* @__PURE__ */ vue.h("path", { d: "M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z" }));
54125
54262
 
54126
- var style$1a = c$1([cB("checkbox", `
54263
+ var style$1b = c$1([cB("checkbox", `
54127
54264
  font-size: var(--n-font-size);
54128
54265
  outline: none;
54129
54266
  cursor: pointer;
@@ -54368,7 +54505,7 @@
54368
54505
  const themeRef = useTheme(
54369
54506
  "Checkbox",
54370
54507
  "-checkbox",
54371
- style$1a,
54508
+ style$1b,
54372
54509
  checkboxLight,
54373
54510
  props,
54374
54511
  mergedClsPrefixRef
@@ -55314,7 +55451,7 @@
55314
55451
  }
55315
55452
  });
55316
55453
 
55317
- var style$19 = c$1([cB("cascader-menu", `
55454
+ var style$1a = c$1([cB("cascader-menu", `
55318
55455
  outline: none;
55319
55456
  position: relative;
55320
55457
  margin: 4px 0;
@@ -55561,7 +55698,7 @@
55561
55698
  const themeRef = useTheme(
55562
55699
  "Cascader",
55563
55700
  "-cascader",
55564
- style$19,
55701
+ style$1a,
55565
55702
  cascaderLight,
55566
55703
  props,
55567
55704
  mergedClsPrefixRef
@@ -56513,7 +56650,7 @@
56513
56650
  }
56514
56651
  };
56515
56652
 
56516
- function self$_(vars) {
56653
+ function self$$(vars) {
56517
56654
  const {
56518
56655
  textColor2,
56519
56656
  fontSize,
@@ -56541,10 +56678,10 @@
56541
56678
  const codeLight = {
56542
56679
  name: "Code",
56543
56680
  common: derived,
56544
- self: self$_
56681
+ self: self$$
56545
56682
  };
56546
56683
 
56547
- var style$18 = c$1([cB("code", `
56684
+ var style$19 = c$1([cB("code", `
56548
56685
  font-size: var(--n-font-size);
56549
56686
  font-family: var(--n-font-family);
56550
56687
  `, [cM("show-line-numbers", `
@@ -56715,7 +56852,7 @@
56715
56852
  const themeRef = useTheme(
56716
56853
  "Code",
56717
56854
  "-code",
56718
- style$18,
56855
+ style$19,
56719
56856
  codeLight,
56720
56857
  props,
56721
56858
  mergedClsPrefixRef
@@ -56814,7 +56951,7 @@
56814
56951
  }
56815
56952
  });
56816
56953
 
56817
- function self$Z(vars) {
56954
+ function self$_(vars) {
56818
56955
  const {
56819
56956
  fontWeight,
56820
56957
  textColor1,
@@ -56840,16 +56977,16 @@
56840
56977
  const collapseLight = {
56841
56978
  name: "Collapse",
56842
56979
  common: derived,
56843
- self: self$Z
56980
+ self: self$_
56844
56981
  };
56845
56982
 
56846
56983
  const collapseDark = {
56847
56984
  name: "Collapse",
56848
56985
  common: derived$1,
56849
- self: self$Z
56986
+ self: self$_
56850
56987
  };
56851
56988
 
56852
- var rtlStyle$l = cB("collapse", [cM("rtl", `
56989
+ var rtlStyle$m = cB("collapse", [cM("rtl", `
56853
56990
  direction: rtl;
56854
56991
  `, [cB("collapse-item", [cB("collapse-item", {
56855
56992
  marginRight: "32px",
@@ -56866,10 +57003,10 @@
56866
57003
 
56867
57004
  const collapseRtl = {
56868
57005
  name: "Collapse",
56869
- style: rtlStyle$l
57006
+ style: rtlStyle$m
56870
57007
  };
56871
57008
 
56872
- var style$17 = cB("collapse", "width: 100%;", [cB("collapse-item", `
57009
+ var style$18 = cB("collapse", "width: 100%;", [cB("collapse-item", `
56873
57010
  font-size: var(--n-font-size);
56874
57011
  color: var(--n-text-color);
56875
57012
  transition:
@@ -56970,7 +57107,7 @@
56970
57107
  const themeRef = useTheme(
56971
57108
  "Collapse",
56972
57109
  "-collapse",
56973
- style$17,
57110
+ style$18,
56974
57111
  collapseLight,
56975
57112
  props,
56976
57113
  mergedClsPrefixRef
@@ -57291,7 +57428,7 @@
57291
57428
  }
57292
57429
  });
57293
57430
 
57294
- function self$Y(vars) {
57431
+ function self$Z(vars) {
57295
57432
  const {
57296
57433
  cubicBezierEaseInOut
57297
57434
  } = vars;
@@ -57302,26 +57439,26 @@
57302
57439
  const collapseTransitionLight = {
57303
57440
  name: "CollapseTransition",
57304
57441
  common: derived,
57305
- self: self$Y
57442
+ self: self$Z
57306
57443
  };
57307
57444
 
57308
57445
  const collapseTransitionDark = {
57309
57446
  name: "CollapseTransition",
57310
57447
  common: derived$1,
57311
- self: self$Y
57448
+ self: self$Z
57312
57449
  };
57313
57450
 
57314
- var rtlStyle$k = cB("collapse-transition", [cM("rtl", `
57451
+ var rtlStyle$l = cB("collapse-transition", [cM("rtl", `
57315
57452
  direction: rtl;
57316
57453
  text-align: right;
57317
57454
  `)]);
57318
57455
 
57319
57456
  const collapseTransitionRtl = {
57320
57457
  name: "CollapseTransition",
57321
- style: rtlStyle$k
57458
+ style: rtlStyle$l
57322
57459
  };
57323
57460
 
57324
- var style$16 = cB("collapse-transition", {
57461
+ var style$17 = cB("collapse-transition", {
57325
57462
  width: "100%"
57326
57463
  }, [fadeInHeightExpandTransition()]);
57327
57464
 
@@ -57360,7 +57497,7 @@
57360
57497
  const mergedThemeRef = useTheme(
57361
57498
  "CollapseTransition",
57362
57499
  "-collapse-transition",
57363
- style$16,
57500
+ style$17,
57364
57501
  collapseTransitionLight,
57365
57502
  props,
57366
57503
  mergedClsPrefixRef
@@ -57421,7 +57558,7 @@
57421
57558
  }
57422
57559
  });
57423
57560
 
57424
- function self$X(vars) {
57561
+ function self$Y(vars) {
57425
57562
  const {
57426
57563
  fontSize,
57427
57564
  boxShadow2,
@@ -57460,7 +57597,7 @@
57460
57597
  Input: inputLight,
57461
57598
  Button: buttonLight
57462
57599
  },
57463
- self: self$X
57600
+ self: self$Y
57464
57601
  });
57465
57602
 
57466
57603
  const colorPickerDark = {
@@ -57470,7 +57607,7 @@
57470
57607
  Input: inputDark,
57471
57608
  Button: buttonDark
57472
57609
  },
57473
- self: self$X
57610
+ self: self$Y
57474
57611
  };
57475
57612
 
57476
57613
  function deriveDefaultValue(modes, showAlpha) {
@@ -58442,7 +58579,7 @@
58442
58579
  }
58443
58580
  });
58444
58581
 
58445
- var style$15 = c$1([cB("color-picker", `
58582
+ var style$16 = c$1([cB("color-picker", `
58446
58583
  display: inline-block;
58447
58584
  box-sizing: border-box;
58448
58585
  height: var(--n-height);
@@ -58682,7 +58819,7 @@
58682
58819
  const themeRef = useTheme(
58683
58820
  "ColorPicker",
58684
58821
  "-color-picker",
58685
- style$15,
58822
+ style$16,
58686
58823
  colorPickerLight,
58687
58824
  props,
58688
58825
  mergedClsPrefixRef
@@ -59606,7 +59743,7 @@
59606
59743
  }
59607
59744
  };
59608
59745
 
59609
- function self$W(vars) {
59746
+ function self$X(vars) {
59610
59747
  const {
59611
59748
  boxShadow2
59612
59749
  } = vars;
@@ -59621,12 +59758,12 @@
59621
59758
  Popover: popoverLight,
59622
59759
  InternalSelectMenu: internalSelectMenuLight
59623
59760
  },
59624
- self: self$W
59761
+ self: self$X
59625
59762
  });
59626
59763
 
59627
59764
  const popselectInjectionKey = createInjectionKey("n-popselect");
59628
59765
 
59629
- var style$14 = cB("popselect-menu", `
59766
+ var style$15 = cB("popselect-menu", `
59630
59767
  box-shadow: var(--n-menu-box-shadow);
59631
59768
  `);
59632
59769
 
@@ -59680,7 +59817,7 @@
59680
59817
  const themeRef = useTheme(
59681
59818
  "Popselect",
59682
59819
  "-pop-select",
59683
- style$14,
59820
+ style$15,
59684
59821
  popselectLight,
59685
59822
  NPopselect.props,
59686
59823
  mergedClsPrefixRef
@@ -59922,7 +60059,7 @@
59922
60059
  }
59923
60060
  });
59924
60061
 
59925
- function self$V(vars) {
60062
+ function self$W(vars) {
59926
60063
  const {
59927
60064
  boxShadow2
59928
60065
  } = vars;
@@ -59937,7 +60074,7 @@
59937
60074
  InternalSelection: internalSelectionLight,
59938
60075
  InternalSelectMenu: internalSelectMenuLight
59939
60076
  },
59940
- self: self$V
60077
+ self: self$W
59941
60078
  });
59942
60079
 
59943
60080
  const selectDark = {
@@ -59947,7 +60084,7 @@
59947
60084
  InternalSelection: internalSelectionDark,
59948
60085
  InternalSelectMenu: internalSelectMenuDark
59949
60086
  },
59950
- self: self$V
60087
+ self: self$W
59951
60088
  };
59952
60089
 
59953
60090
  const selectRtl = {
@@ -59956,7 +60093,7 @@
59956
60093
  peers: [internalSelectionRtl, internalSelectMenuRtl, tagRtl, scrollbarRtl]
59957
60094
  };
59958
60095
 
59959
- var style$13 = c$1([cB("select", `
60096
+ var style$14 = c$1([cB("select", `
59960
60097
  z-index: auto;
59961
60098
  outline: none;
59962
60099
  width: 100%;
@@ -60117,7 +60254,7 @@
60117
60254
  const themeRef = useTheme(
60118
60255
  "Select",
60119
60256
  "-select",
60120
- style$13,
60257
+ style$14,
60121
60258
  selectLight,
60122
60259
  props,
60123
60260
  mergedClsPrefixRef
@@ -60908,7 +61045,7 @@
60908
61045
  suffixMarginLarge: "0 0 0 8px"
60909
61046
  };
60910
61047
 
60911
- function self$U(vars) {
61048
+ function self$V(vars) {
60912
61049
  const {
60913
61050
  textColor2,
60914
61051
  primaryColor,
@@ -60976,7 +61113,7 @@
60976
61113
  Input: inputLight,
60977
61114
  Popselect: popselectLight
60978
61115
  },
60979
- self: self$U
61116
+ self: self$V
60980
61117
  });
60981
61118
 
60982
61119
  const paginationDark = {
@@ -60995,14 +61132,14 @@
60995
61132
  const borderColorActive = changeColor(primaryColor, {
60996
61133
  alpha: Number(opacity3)
60997
61134
  });
60998
- const commonSelf = self$U(vars);
61135
+ const commonSelf = self$V(vars);
60999
61136
  commonSelf.itemBorderActive = `1px solid ${borderColorActive}`;
61000
61137
  commonSelf.itemBorderDisabled = "1px solid #0000";
61001
61138
  return commonSelf;
61002
61139
  }
61003
61140
  };
61004
61141
 
61005
- var rtlStyle$j = cB("pagination", [cM("rtl", `
61142
+ var rtlStyle$k = cB("pagination", [cM("rtl", `
61006
61143
  direction: rtl;
61007
61144
  `, [c$1("> *:not(:first-child)", `
61008
61145
  margin: var(--n-item-margin-rtl);
@@ -61012,7 +61149,7 @@
61012
61149
 
61013
61150
  const paginationRtl = {
61014
61151
  name: "Pagination",
61015
- style: rtlStyle$j,
61152
+ style: rtlStyle$k,
61016
61153
  peers: [inputRtl, selectRtl]
61017
61154
  };
61018
61155
 
@@ -61026,7 +61163,7 @@
61026
61163
  border: var(--n-button-border-hover);
61027
61164
  color: var(--n-button-icon-color-hover);
61028
61165
  `)];
61029
- var style$12 = cB("pagination", `
61166
+ var style$13 = cB("pagination", `
61030
61167
  display: flex;
61031
61168
  vertical-align: middle;
61032
61169
  font-size: var(--n-item-font-size);
@@ -61350,7 +61487,7 @@
61350
61487
  const themeRef = useTheme(
61351
61488
  "Pagination",
61352
61489
  "-pagination",
61353
- style$12,
61490
+ style$13,
61354
61491
  paginationLight,
61355
61492
  props,
61356
61493
  mergedClsPrefixRef
@@ -62036,7 +62173,7 @@
62036
62173
  optionIconPrefixWidthHuge: "40px"
62037
62174
  };
62038
62175
 
62039
- function self$T(vars) {
62176
+ function self$U(vars) {
62040
62177
  const {
62041
62178
  primaryColor,
62042
62179
  textColor2,
@@ -62102,7 +62239,7 @@
62102
62239
  peers: {
62103
62240
  Popover: popoverLight
62104
62241
  },
62105
- self: self$T
62242
+ self: self$U
62106
62243
  });
62107
62244
 
62108
62245
  const dropdownDark = {
@@ -62117,7 +62254,7 @@
62117
62254
  primaryColor,
62118
62255
  popoverColor
62119
62256
  } = vars;
62120
- const commonSelf = self$T(vars);
62257
+ const commonSelf = self$U(vars);
62121
62258
  commonSelf.colorInverted = popoverColor;
62122
62259
  commonSelf.optionColorActive = changeColor(primaryColor, {
62123
62260
  alpha: 0.15
@@ -62155,7 +62292,7 @@
62155
62292
  }
62156
62293
  };
62157
62294
 
62158
- function self$S(vars) {
62295
+ function self$T(vars) {
62159
62296
  const {
62160
62297
  borderRadius,
62161
62298
  boxShadow2,
@@ -62175,7 +62312,7 @@
62175
62312
  peers: {
62176
62313
  Popover: popoverLight
62177
62314
  },
62178
- self: self$S
62315
+ self: self$T
62179
62316
  });
62180
62317
 
62181
62318
  const ellipsisDark = {
@@ -62265,7 +62402,7 @@
62265
62402
  }
62266
62403
  };
62267
62404
 
62268
- function self$R(vars) {
62405
+ function self$S(vars) {
62269
62406
  const {
62270
62407
  borderColor,
62271
62408
  primaryColor,
@@ -62326,10 +62463,10 @@
62326
62463
  const radioLight = {
62327
62464
  name: "Radio",
62328
62465
  common: derived,
62329
- self: self$R
62466
+ self: self$S
62330
62467
  };
62331
62468
 
62332
- var rtlStyle$i = c$1([cB("radio", [cM("rtl", `
62469
+ var rtlStyle$j = c$1([cB("radio", [cM("rtl", `
62333
62470
  direction: rtl;
62334
62471
  `)]), cB("radio-group", [cM("rtl", `
62335
62472
  direction: rtl;
@@ -62351,7 +62488,7 @@
62351
62488
 
62352
62489
  const radioRtl = {
62353
62490
  name: "Radio",
62354
- style: rtlStyle$i
62491
+ style: rtlStyle$j
62355
62492
  };
62356
62493
 
62357
62494
  var commonVariables$8 = {
@@ -62371,7 +62508,7 @@
62371
62508
  actionButtonMargin: "0 8px 0 0"
62372
62509
  };
62373
62510
 
62374
- function self$Q(vars) {
62511
+ function self$R(vars) {
62375
62512
  const {
62376
62513
  cardColor,
62377
62514
  modalColor,
@@ -62455,7 +62592,7 @@
62455
62592
  Ellipsis: ellipsisLight,
62456
62593
  Dropdown: dropdownLight
62457
62594
  },
62458
- self: self$Q
62595
+ self: self$R
62459
62596
  });
62460
62597
 
62461
62598
  const dataTableDark = {
@@ -62473,14 +62610,14 @@
62473
62610
  Dropdown: dropdownDark
62474
62611
  },
62475
62612
  self(vars) {
62476
- const commonSelf = self$Q(vars);
62613
+ const commonSelf = self$R(vars);
62477
62614
  commonSelf.boxShadowAfter = "inset 12px 0 8px -12px rgba(0, 0, 0, .36)";
62478
62615
  commonSelf.boxShadowBefore = "inset -12px 0 8px -12px rgba(0, 0, 0, .36)";
62479
62616
  return commonSelf;
62480
62617
  }
62481
62618
  };
62482
62619
 
62483
- var rtlStyle$h = c$1([cB("data-table", [cM("rtl", `
62620
+ var rtlStyle$i = c$1([cB("data-table", [cM("rtl", `
62484
62621
  direction: rtl;
62485
62622
  `, [cB("data-table-th", [cM("filterable", `
62486
62623
  padding-left: 36px;
@@ -62500,7 +62637,7 @@
62500
62637
 
62501
62638
  const DataTableRtl = {
62502
62639
  name: "DataTable",
62503
- style: rtlStyle$h,
62640
+ style: rtlStyle$i,
62504
62641
  peers: [scrollbarRtl, paginationRtl]
62505
62642
  };
62506
62643
 
@@ -62804,7 +62941,7 @@
62804
62941
  }
62805
62942
  });
62806
62943
 
62807
- var style$11 = cB("radio", `
62944
+ var style$12 = cB("radio", `
62808
62945
  line-height: var(--n-label-line-height);
62809
62946
  outline: none;
62810
62947
  position: relative;
@@ -62825,14 +62962,10 @@
62825
62962
  `), cB("radio-input", `
62826
62963
  position: absolute;
62827
62964
  border: 0;
62828
- border-radius: inherit;
62829
- left: 0;
62830
- right: 0;
62831
- top: 0;
62832
- bottom: 0;
62965
+ width: 0;
62966
+ height: 0;
62833
62967
  opacity: 0;
62834
- z-index: 1;
62835
- cursor: pointer;
62968
+ margin: 0;
62836
62969
  `), cE("dot", `
62837
62970
  position: absolute;
62838
62971
  top: 50%;
@@ -63047,7 +63180,7 @@
63047
63180
  const themeRef = useTheme(
63048
63181
  "Radio",
63049
63182
  "-radio",
63050
- style$11,
63183
+ style$12,
63051
63184
  radioLight,
63052
63185
  props,
63053
63186
  radio.mergedClsPrefix
@@ -63130,7 +63263,15 @@
63130
63263
  ],
63131
63264
  style: this.cssVars
63132
63265
  },
63133
- /* @__PURE__ */ vue.h(
63266
+ /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-radio__dot-wrapper` }, "\xA0", /* @__PURE__ */ vue.h(
63267
+ "div",
63268
+ {
63269
+ class: [
63270
+ `${mergedClsPrefix}-radio__dot`,
63271
+ this.renderSafeChecked && `${mergedClsPrefix}-radio__dot--checked`
63272
+ ]
63273
+ }
63274
+ ), /* @__PURE__ */ vue.h(
63134
63275
  "input",
63135
63276
  {
63136
63277
  ref: "inputRef",
@@ -63144,15 +63285,6 @@
63144
63285
  onFocus: this.handleRadioInputFocus,
63145
63286
  onBlur: this.handleRadioInputBlur
63146
63287
  }
63147
- ),
63148
- /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-radio__dot-wrapper` }, "\xA0", /* @__PURE__ */ vue.h(
63149
- "div",
63150
- {
63151
- class: [
63152
- `${mergedClsPrefix}-radio__dot`,
63153
- this.renderSafeChecked && `${mergedClsPrefix}-radio__dot--checked`
63154
- ]
63155
- }
63156
63288
  )),
63157
63289
  resolveWrappedSlot($slots.default, (children) => {
63158
63290
  if (!children && !label)
@@ -63205,7 +63337,7 @@
63205
63337
  }
63206
63338
  });
63207
63339
 
63208
- var style$10 = cB("radio-group", `
63340
+ var style$11 = cB("radio-group", `
63209
63341
  display: inline-block;
63210
63342
  font-size: var(--n-font-size);
63211
63343
  `, [cE("splitor", `
@@ -63386,7 +63518,7 @@
63386
63518
  const themeRef = useTheme(
63387
63519
  "Radio",
63388
63520
  "-radio-group",
63389
- style$10,
63521
+ style$11,
63390
63522
  radioLight,
63391
63523
  props,
63392
63524
  mergedClsPrefixRef
@@ -63601,7 +63733,7 @@
63601
63733
  }
63602
63734
  });
63603
63735
 
63604
- var style$$ = cB("ellipsis", {
63736
+ var style$10 = cB("ellipsis", {
63605
63737
  overflow: "hidden"
63606
63738
  }, [cNotM("line-clamp", `
63607
63739
  white-space: nowrap;
@@ -63640,7 +63772,7 @@
63640
63772
  const mergedTheme = useTheme(
63641
63773
  "Ellipsis",
63642
63774
  "-ellipsis",
63643
- style$$,
63775
+ style$10,
63644
63776
  ellipsisLight,
63645
63777
  props,
63646
63778
  mergedClsPrefixRef
@@ -63796,7 +63928,7 @@
63796
63928
  setup(props, { attrs, slots }) {
63797
63929
  const mouseEnteredRef = vue.ref(false);
63798
63930
  const mergedClsPrefixRef = useMergedClsPrefix();
63799
- useStyle("-ellipsis", style$$, mergedClsPrefixRef);
63931
+ useStyle("-ellipsis", style$10, mergedClsPrefixRef);
63800
63932
  const renderTrigger = () => {
63801
63933
  const { lineClamp } = props;
63802
63934
  const mergedClsPrefix = mergedClsPrefixRef.value;
@@ -64571,7 +64703,7 @@
64571
64703
  }
64572
64704
  });
64573
64705
 
64574
- function self$P(vars) {
64706
+ function self$Q(vars) {
64575
64707
  const {
64576
64708
  textColorBase,
64577
64709
  opacity1,
@@ -64592,16 +64724,16 @@
64592
64724
  const iconLight = {
64593
64725
  name: "Icon",
64594
64726
  common: derived,
64595
- self: self$P
64727
+ self: self$Q
64596
64728
  };
64597
64729
 
64598
64730
  const iconDark$1 = {
64599
64731
  name: "Icon",
64600
64732
  common: derived$1,
64601
- self: self$P
64733
+ self: self$Q
64602
64734
  };
64603
64735
 
64604
- var style$_ = cB("icon", `
64736
+ var style$$ = cB("icon", `
64605
64737
  height: 1em;
64606
64738
  width: 1em;
64607
64739
  line-height: 1em;
@@ -64609,7 +64741,6 @@
64609
64741
  display: inline-block;
64610
64742
  position: relative;
64611
64743
  fill: currentColor;
64612
- transform: translateZ(0);
64613
64744
  `, [cM("color-transition", {
64614
64745
  transition: "color .3s var(--n-bezier)"
64615
64746
  }), cM("depth", {
@@ -64639,7 +64770,7 @@
64639
64770
  mergedClsPrefixRef,
64640
64771
  inlineThemeDisabled
64641
64772
  } = useConfig(props);
64642
- const themeRef = useTheme("Icon", "-icon", style$_, iconLight, props, mergedClsPrefixRef);
64773
+ const themeRef = useTheme("Icon", "-icon", style$$, iconLight, props, mergedClsPrefixRef);
64643
64774
  const cssVarsRef = vue.computed(() => {
64644
64775
  const {
64645
64776
  depth
@@ -65232,7 +65363,7 @@
65232
65363
  }
65233
65364
  });
65234
65365
 
65235
- var style$Z = cB("dropdown-menu", `
65366
+ var style$_ = cB("dropdown-menu", `
65236
65367
  transform-origin: var(--v-transform-origin);
65237
65368
  background-color: var(--n-color);
65238
65369
  border-radius: var(--n-border-radius);
@@ -65477,7 +65608,7 @@
65477
65608
  const themeRef = useTheme(
65478
65609
  "Dropdown",
65479
65610
  "-dropdown",
65480
- style$Z,
65611
+ style$_,
65481
65612
  dropdownLight,
65482
65613
  props,
65483
65614
  mergedClsPrefixRef
@@ -67238,7 +67369,7 @@
67238
67369
  });
67239
67370
 
67240
67371
  const fixedColumnStyle = createFixedColumnStyle();
67241
- var style$Y = c$1([cB("data-table", `
67372
+ var style$Z = c$1([cB("data-table", `
67242
67373
  width: 100%;
67243
67374
  font-size: var(--n-font-size);
67244
67375
  display: flex;
@@ -67247,6 +67378,7 @@
67247
67378
  --n-merged-th-color: var(--n-th-color);
67248
67379
  --n-merged-td-color: var(--n-td-color);
67249
67380
  --n-merged-border-color: var(--n-border-color);
67381
+ --n-merged-th-color-hover: var(--n-th-color-hover);
67250
67382
  --n-merged-th-color-sorting: var(--n-th-color-sorting);
67251
67383
  --n-merged-td-color-hover: var(--n-td-color-hover);
67252
67384
  --n-merged-td-color-sorting: var(--n-td-color-sorting);
@@ -68764,7 +68896,7 @@
68764
68896
  const themeRef = useTheme(
68765
68897
  "DataTable",
68766
68898
  "-data-table",
68767
- style$Y,
68899
+ style$Z,
68768
68900
  dataTableLight,
68769
68901
  props,
68770
68902
  mergedClsPrefixRef
@@ -69060,12 +69192,12 @@
69060
69192
  "--n-td-color-striped": tdColorStriped,
69061
69193
  "--n-td-color-striped-modal": tdColorStripedModal,
69062
69194
  "--n-td-color-striped-popover": tdColorStripedPopover,
69063
- "n-td-color-sorting": tdColorSorting,
69064
- "n-td-color-sorting-modal": tdColorSortingModal,
69065
- "n-td-color-sorting-popover": tdColorSortingPopover,
69066
- "n-th-color-sorting": thColorSorting,
69067
- "n-th-color-sorting-modal": thColorSortingModal,
69068
- "n-th-color-sorting-popover": thColorSortingPopover
69195
+ "--n-td-color-sorting": tdColorSorting,
69196
+ "--n-td-color-sorting-modal": tdColorSortingModal,
69197
+ "--n-td-color-sorting-popover": tdColorSortingPopover,
69198
+ "--n-th-color-sorting": thColorSorting,
69199
+ "--n-th-color-sorting-modal": thColorSortingModal,
69200
+ "--n-th-color-sorting-popover": thColorSortingPopover
69069
69201
  };
69070
69202
  });
69071
69203
  const themeClassHandle = inlineThemeDisabled ? useThemeClass(
@@ -69157,7 +69289,7 @@
69157
69289
  panelActionPadding: "8px 0"
69158
69290
  };
69159
69291
 
69160
- function self$O(vars) {
69292
+ function self$P(vars) {
69161
69293
  const {
69162
69294
  popoverColor,
69163
69295
  textColor2,
@@ -69193,7 +69325,7 @@
69193
69325
  Button: buttonLight,
69194
69326
  Input: inputLight
69195
69327
  },
69196
- self: self$O
69328
+ self: self$P
69197
69329
  });
69198
69330
 
69199
69331
  const timePickerDark = {
@@ -69204,7 +69336,7 @@
69204
69336
  Button: buttonDark,
69205
69337
  Input: inputDark
69206
69338
  },
69207
- self: self$O
69339
+ self: self$P
69208
69340
  };
69209
69341
 
69210
69342
  var commonVars$7 = {
@@ -69247,7 +69379,7 @@
69247
69379
  calendarRightPaddingWeek: "0"
69248
69380
  };
69249
69381
 
69250
- function self$N(vars) {
69382
+ function self$O(vars) {
69251
69383
  const {
69252
69384
  hoverColor,
69253
69385
  fontSize,
@@ -69307,7 +69439,7 @@
69307
69439
  TimePicker: timePickerLight,
69308
69440
  Scrollbar: scrollbarLight
69309
69441
  },
69310
- self: self$N
69442
+ self: self$O
69311
69443
  });
69312
69444
 
69313
69445
  const datePickerDark = {
@@ -69325,7 +69457,7 @@
69325
69457
  hoverColor,
69326
69458
  primaryColor
69327
69459
  } = vars;
69328
- const commonSelf = self$N(vars);
69460
+ const commonSelf = self$O(vars);
69329
69461
  commonSelf.itemColorDisabled = composite(popoverColor, hoverColor);
69330
69462
  commonSelf.itemColorIncluded = changeColor(primaryColor, {
69331
69463
  alpha: 0.15
@@ -69354,7 +69486,7 @@
69354
69486
  type: Boolean,
69355
69487
  default: void 0
69356
69488
  },
69357
- timerPickerFormat: {
69489
+ timePickerFormat: {
69358
69490
  type: String,
69359
69491
  value: TIME_FORMAT
69360
69492
  },
@@ -70802,7 +70934,7 @@
70802
70934
  if (typeof startTime !== "number") {
70803
70935
  startTime = getTime(startTime);
70804
70936
  }
70805
- if (source !== "shortcutPreview") {
70937
+ if (source !== "shortcutPreview" && source !== "shortcutDone") {
70806
70938
  let startDefaultTime;
70807
70939
  let endDefaultTime;
70808
70940
  if (type === "datetimerange") {
@@ -70824,7 +70956,7 @@
70824
70956
  endTime = getTime(set(endTime, endDefaultTime));
70825
70957
  }
70826
70958
  }
70827
- panelCommon.doUpdateValue([startTime, endTime], props.panel && source === "done");
70959
+ panelCommon.doUpdateValue([startTime, endTime], props.panel && (source === "done" || source === "shortcutDone"));
70828
70960
  }
70829
70961
  function sanitizeValue(datetime) {
70830
70962
  if (type === "datetimerange") {
@@ -70961,7 +71093,7 @@
70961
71093
  function handleRangeShortcutClick(shortcut) {
70962
71094
  const shortcutValue = panelCommon.getShortcutValue(shortcut);
70963
71095
  if (!Array.isArray(shortcutValue)) return;
70964
- changeStartEndTime(shortcutValue[0], shortcutValue[1], "done");
71096
+ changeStartEndTime(shortcutValue[0], shortcutValue[1], "shortcutDone");
70965
71097
  panelCommon.clearPendingValue();
70966
71098
  handleConfirmClick();
70967
71099
  }
@@ -71568,7 +71700,6 @@
71568
71700
  const MILLISECONDS_IN_HOUR$1 = 3600000;
71569
71701
  const MILLISECONDS_IN_MINUTE$2 = 60000;
71570
71702
  const patterns$1 = {
71571
- timezone: /([Z+-].*)$/,
71572
71703
  timezoneZ: /^(Z)$/,
71573
71704
  timezoneHH: /^([+-]\d{2})$/,
71574
71705
  timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
@@ -71812,7 +71943,6 @@
71812
71943
  const patterns = {
71813
71944
  dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
71814
71945
  datePattern: /^([0-9W+-]+)(.*)/,
71815
- plainTime: /:/,
71816
71946
  // year tokens
71817
71947
  YY: /^(\d{2})$/,
71818
71948
  YYY: [/^([+-]\d{2})$/,
@@ -73050,7 +73180,7 @@
73050
73180
  }
73051
73181
  });
73052
73182
 
73053
- var style$X = c$1([cB("time-picker", `
73183
+ var style$Y = c$1([cB("time-picker", `
73054
73184
  z-index: auto;
73055
73185
  position: relative;
73056
73186
  `, [cB("time-picker-icon", `
@@ -73244,7 +73374,7 @@
73244
73374
  const themeRef = useTheme(
73245
73375
  "TimePicker",
73246
73376
  "-time-picker",
73247
- style$X,
73377
+ style$Y,
73248
73378
  timePickerLight,
73249
73379
  props,
73250
73380
  mergedClsPrefixRef
@@ -74075,7 +74205,7 @@
74075
74205
  {
74076
74206
  size: this.timePickerSize,
74077
74207
  placeholder: this.locale.selectTime,
74078
- format: this.timerPickerFormat,
74208
+ format: this.timePickerFormat,
74079
74209
  ...Array.isArray(timePickerProps) ? void 0 : timePickerProps,
74080
74210
  showIcon: false,
74081
74211
  to: false,
@@ -74311,7 +74441,7 @@
74311
74441
  NTimePicker,
74312
74442
  {
74313
74443
  placeholder: this.locale.selectTime,
74314
- format: this.timerPickerFormat,
74444
+ format: this.timePickerFormat,
74315
74445
  size: this.timePickerSize,
74316
74446
  ...Array.isArray(timePickerProps) ? timePickerProps[0] : timePickerProps,
74317
74447
  value: this.startTimeValue,
@@ -74345,7 +74475,7 @@
74345
74475
  NTimePicker,
74346
74476
  {
74347
74477
  placeholder: this.locale.selectTime,
74348
- format: this.timerPickerFormat,
74478
+ format: this.timePickerFormat,
74349
74479
  size: this.timePickerSize,
74350
74480
  ...Array.isArray(timePickerProps) ? timePickerProps[1] : timePickerProps,
74351
74481
  disabled: this.isSelecting,
@@ -74948,7 +75078,7 @@
74948
75078
  endPlaceholder: String,
74949
75079
  format: String,
74950
75080
  dateFormat: String,
74951
- timerPickerFormat: String,
75081
+ timePickerFormat: String,
74952
75082
  actions: Array,
74953
75083
  shortcuts: Object,
74954
75084
  isDateDisabled: Function,
@@ -75001,7 +75131,7 @@
75001
75131
  onChange: [Function, Array]
75002
75132
  };
75003
75133
 
75004
- var style$W = c$1([cB("date-picker", `
75134
+ var style$X = c$1([cB("date-picker", `
75005
75135
  position: relative;
75006
75136
  z-index: auto;
75007
75137
  `, [cB("date-picker-icon", `
@@ -75644,7 +75774,7 @@
75644
75774
  const themeRef = useTheme(
75645
75775
  "DatePicker",
75646
75776
  "-date-picker",
75647
- style$W,
75777
+ style$X,
75648
75778
  datePickerLight,
75649
75779
  props,
75650
75780
  mergedClsPrefixRef
@@ -76318,7 +76448,7 @@
76318
76448
  onPrevMonth: this.onPrevMonth,
76319
76449
  onNextYear: this.onNextYear,
76320
76450
  onPrevYear: this.onPrevYear,
76321
- timerPickerFormat: this.timerPickerFormat,
76451
+ timePickerFormat: this.timePickerFormat,
76322
76452
  dateFormat: this.dateFormat,
76323
76453
  calendarDayFormat: this.calendarDayFormat,
76324
76454
  calendarHeaderYearFormat: this.calendarHeaderYearFormat,
@@ -76531,7 +76661,7 @@
76531
76661
  tdPaddingLarge: "0 0 16px 0"
76532
76662
  };
76533
76663
 
76534
- function self$M(vars) {
76664
+ function self$N(vars) {
76535
76665
  const {
76536
76666
  tableHeaderColor,
76537
76667
  textColor2,
@@ -76572,16 +76702,16 @@
76572
76702
  const descriptionsLight = {
76573
76703
  name: "Descriptions",
76574
76704
  common: derived,
76575
- self: self$M
76705
+ self: self$N
76576
76706
  };
76577
76707
 
76578
76708
  const descriptionsDark = {
76579
76709
  name: "Descriptions",
76580
76710
  common: derived$1,
76581
- self: self$M
76711
+ self: self$N
76582
76712
  };
76583
76713
 
76584
- var style$V = c$1([cB("descriptions", {
76714
+ var style$W = c$1([cB("descriptions", {
76585
76715
  fontSize: "var(--n-font-size)"
76586
76716
  }, [cB("descriptions-separator", `
76587
76717
  display: inline-block;
@@ -76727,7 +76857,7 @@
76727
76857
  const themeRef = useTheme(
76728
76858
  "Descriptions",
76729
76859
  "-descriptions",
76730
- style$V,
76860
+ style$W,
76731
76861
  descriptionsLight,
76732
76862
  props,
76733
76863
  mergedClsPrefixRef
@@ -77037,7 +77167,7 @@
77037
77167
  closeMarginIconTop: "10px 16px 0 0"
77038
77168
  };
77039
77169
 
77040
- function self$L(vars) {
77170
+ function self$M(vars) {
77041
77171
  const {
77042
77172
  textColor1,
77043
77173
  textColor2,
@@ -77087,7 +77217,7 @@
77087
77217
  peers: {
77088
77218
  Button: buttonLight
77089
77219
  },
77090
- self: self$L
77220
+ self: self$M
77091
77221
  });
77092
77222
 
77093
77223
  const dialogDark = {
@@ -77096,10 +77226,10 @@
77096
77226
  peers: {
77097
77227
  Button: buttonDark
77098
77228
  },
77099
- self: self$L
77229
+ self: self$M
77100
77230
  };
77101
77231
 
77102
- var rtlStyle$g = cB("dialog", [cM("rtl", `
77232
+ var rtlStyle$h = cB("dialog", [cM("rtl", `
77103
77233
  --n-icon-margin: var(--n-icon-margin-top) var(--n-icon-margin-left) var(--n-icon-margin-bottom) var(--n-icon-margin-right);
77104
77234
  direction: rtl;
77105
77235
  `, [cE("close", `
@@ -77119,7 +77249,7 @@
77119
77249
 
77120
77250
  const dialogRtl = {
77121
77251
  name: "Dialog",
77122
- style: rtlStyle$g
77252
+ style: rtlStyle$h
77123
77253
  };
77124
77254
 
77125
77255
  const dialogProps = {
@@ -77158,7 +77288,7 @@
77158
77288
  };
77159
77289
  const dialogPropKeys = keysOf(dialogProps);
77160
77290
 
77161
- var style$U = c$1([cB("dialog", `
77291
+ var style$V = c$1([cB("dialog", `
77162
77292
  --n-icon-margin: var(--n-icon-margin-top) var(--n-icon-margin-right) var(--n-icon-margin-bottom) var(--n-icon-margin-left);
77163
77293
  word-break: break-word;
77164
77294
  line-height: var(--n-line-height);
@@ -77281,7 +77411,7 @@
77281
77411
  const themeRef = useTheme(
77282
77412
  "Dialog",
77283
77413
  "-dialog",
77284
- style$U,
77414
+ style$V,
77285
77415
  dialogLight,
77286
77416
  props,
77287
77417
  mergedClsPrefixRef
@@ -77498,7 +77628,7 @@
77498
77628
  }
77499
77629
  });
77500
77630
 
77501
- function self$K(vars) {
77631
+ function self$L(vars) {
77502
77632
  const {
77503
77633
  modalColor,
77504
77634
  textColor2,
@@ -77518,7 +77648,7 @@
77518
77648
  Dialog: dialogLight,
77519
77649
  Card: cardLight
77520
77650
  },
77521
- self: self$K
77651
+ self: self$L
77522
77652
  });
77523
77653
 
77524
77654
  const modalDark = {
@@ -77529,7 +77659,7 @@
77529
77659
  Dialog: dialogDark,
77530
77660
  Card: cardDark
77531
77661
  },
77532
- self: self$K
77662
+ self: self$L
77533
77663
  };
77534
77664
 
77535
77665
  const modalProviderInjectionKey = createInjectionKey("n-modal-provider");
@@ -77978,7 +78108,7 @@
77978
78108
  }
77979
78109
  });
77980
78110
 
77981
- var style$T = c$1([cB("modal-container", `
78111
+ var style$U = c$1([cB("modal-container", `
77982
78112
  position: fixed;
77983
78113
  left: 0;
77984
78114
  top: 0;
@@ -78117,7 +78247,7 @@
78117
78247
  const themeRef = useTheme(
78118
78248
  "Modal",
78119
78249
  "-modal",
78120
- style$T,
78250
+ style$U,
78121
78251
  modalLight,
78122
78252
  props,
78123
78253
  mergedClsPrefixRef
@@ -78602,7 +78732,7 @@
78602
78732
  }
78603
78733
  };
78604
78734
 
78605
- function self$J(vars) {
78735
+ function self$K(vars) {
78606
78736
  const {
78607
78737
  primaryColor,
78608
78738
  errorColor
@@ -78616,10 +78746,10 @@
78616
78746
  const loadingBarLight = {
78617
78747
  name: "LoadingBar",
78618
78748
  common: derived,
78619
- self: self$J
78749
+ self: self$K
78620
78750
  };
78621
78751
 
78622
- var style$S = cB("loading-bar-container", `
78752
+ var style$T = cB("loading-bar-container", `
78623
78753
  z-index: 5999;
78624
78754
  position: fixed;
78625
78755
  top: 0;
@@ -78753,7 +78883,7 @@
78753
78883
  const themeRef = useTheme(
78754
78884
  "LoadingBar",
78755
78885
  "-loading-bar",
78756
- style$S,
78886
+ style$T,
78757
78887
  loadingBarLight,
78758
78888
  providerProps,
78759
78889
  mergedClsPrefixRef
@@ -78929,7 +79059,7 @@
78929
79059
  fontSize: "14px"
78930
79060
  };
78931
79061
 
78932
- function self$I(vars) {
79062
+ function self$J(vars) {
78933
79063
  const {
78934
79064
  textColor2,
78935
79065
  closeIconColor,
@@ -79012,16 +79142,16 @@
79012
79142
  const messageLight = {
79013
79143
  name: "Message",
79014
79144
  common: derived,
79015
- self: self$I
79145
+ self: self$J
79016
79146
  };
79017
79147
 
79018
79148
  const messageDark = {
79019
79149
  name: "Message",
79020
79150
  common: derived$1,
79021
- self: self$I
79151
+ self: self$J
79022
79152
  };
79023
79153
 
79024
- var rtlStyle$f = cB("message", [cM("rtl", `
79154
+ var rtlStyle$g = cB("message", [cM("rtl", `
79025
79155
  direction: rtl;
79026
79156
  `, [cE("close", `
79027
79157
  margin: 0 10px 0 0;
@@ -79031,7 +79161,7 @@
79031
79161
 
79032
79162
  const messageRtl = {
79033
79163
  name: "Message",
79034
- style: rtlStyle$f
79164
+ style: rtlStyle$g
79035
79165
  };
79036
79166
 
79037
79167
  const messageProps = {
@@ -79052,7 +79182,7 @@
79052
79182
  onMouseleave: Function
79053
79183
  };
79054
79184
 
79055
- var style$R = c$1([cB("message-wrapper", `
79185
+ var style$S = c$1([cB("message-wrapper", `
79056
79186
  margin: var(--n-margin);
79057
79187
  z-index: 0;
79058
79188
  transform-origin: top center;
@@ -79178,7 +79308,7 @@
79178
79308
  const themeRef = useTheme(
79179
79309
  "Message",
79180
79310
  "-message",
79181
- style$R,
79311
+ style$S,
79182
79312
  messageLight,
79183
79313
  messageProviderProps,
79184
79314
  mergedClsPrefixRef
@@ -79771,7 +79901,7 @@
79771
79901
  descriptionFontSize: "12px"
79772
79902
  };
79773
79903
 
79774
- function self$H(vars) {
79904
+ function self$I(vars) {
79775
79905
  const {
79776
79906
  textColor2,
79777
79907
  successColor,
@@ -79823,7 +79953,7 @@
79823
79953
  peers: {
79824
79954
  Scrollbar: scrollbarLight
79825
79955
  },
79826
- self: self$H
79956
+ self: self$I
79827
79957
  });
79828
79958
 
79829
79959
  const notificationDark = {
@@ -79832,10 +79962,10 @@
79832
79962
  peers: {
79833
79963
  Scrollbar: scrollbarDark
79834
79964
  },
79835
- self: self$H
79965
+ self: self$I
79836
79966
  };
79837
79967
 
79838
- var rtlStyle$e = cB("notification", [cM("rtl", `
79968
+ var rtlStyle$f = cB("notification", [cM("rtl", `
79839
79969
  direction: rtl;
79840
79970
  `, [cB("notification-main", `
79841
79971
  margin-left: unset;
@@ -79859,7 +79989,7 @@
79859
79989
 
79860
79990
  const notificationRtl = {
79861
79991
  name: "Notification",
79862
- style: rtlStyle$e
79992
+ style: rtlStyle$f
79863
79993
  };
79864
79994
 
79865
79995
  const notificationProviderInjectionKey = createInjectionKey("n-notification-provider");
@@ -80262,7 +80392,7 @@
80262
80392
  }
80263
80393
  });
80264
80394
 
80265
- var style$Q = c$1([cB("notification-container", `
80395
+ var style$R = c$1([cB("notification-container", `
80266
80396
  z-index: 4000;
80267
80397
  position: fixed;
80268
80398
  overflow: visible;
@@ -80537,7 +80667,7 @@
80537
80667
  const themeRef = useTheme(
80538
80668
  "Notification",
80539
80669
  "-notification",
80540
- style$Q,
80670
+ style$R,
80541
80671
  notificationLight,
80542
80672
  props,
80543
80673
  mergedClsPrefixRef
@@ -80743,7 +80873,7 @@
80743
80873
  return discreteApp;
80744
80874
  }
80745
80875
 
80746
- function self$G(vars) {
80876
+ function self$H(vars) {
80747
80877
  const {
80748
80878
  textColor1,
80749
80879
  dividerColor,
@@ -80758,16 +80888,16 @@
80758
80888
  const dividerLight = {
80759
80889
  name: "Divider",
80760
80890
  common: derived,
80761
- self: self$G
80891
+ self: self$H
80762
80892
  };
80763
80893
 
80764
80894
  const dividerDark = {
80765
80895
  name: "Divider",
80766
80896
  common: derived$1,
80767
- self: self$G
80897
+ self: self$H
80768
80898
  };
80769
80899
 
80770
- var style$P = cB("divider", `
80900
+ var style$Q = cB("divider", `
80771
80901
  position: relative;
80772
80902
  display: flex;
80773
80903
  width: 100%;
@@ -80837,7 +80967,7 @@
80837
80967
  const themeRef = useTheme(
80838
80968
  "Divider",
80839
80969
  "-divider",
80840
- style$P,
80970
+ style$Q,
80841
80971
  dividerLight,
80842
80972
  props,
80843
80973
  mergedClsPrefixRef
@@ -80904,7 +81034,7 @@
80904
81034
  }
80905
81035
  });
80906
81036
 
80907
- function self$F(vars) {
81037
+ function self$G(vars) {
80908
81038
  const {
80909
81039
  modalColor,
80910
81040
  textColor1,
@@ -80952,7 +81082,7 @@
80952
81082
  peers: {
80953
81083
  Scrollbar: scrollbarLight
80954
81084
  },
80955
- self: self$F
81085
+ self: self$G
80956
81086
  });
80957
81087
 
80958
81088
  const drawerDark = {
@@ -80961,10 +81091,10 @@
80961
81091
  peers: {
80962
81092
  Scrollbar: scrollbarDark
80963
81093
  },
80964
- self: self$F
81094
+ self: self$G
80965
81095
  };
80966
81096
 
80967
- var rtlStyle$d = cB("drawer", [cM("rtl", `
81097
+ var rtlStyle$e = cB("drawer", [cM("rtl", `
80968
81098
  direction: rtl;
80969
81099
  text-align: right;
80970
81100
  `, [cB("drawer-content", [cB("drawer-header", [cE("close", `
@@ -80974,7 +81104,7 @@
80974
81104
 
80975
81105
  const drawerRtl = {
80976
81106
  name: "Drawer",
80977
- style: rtlStyle$d,
81107
+ style: rtlStyle$e,
80978
81108
  peers: [scrollbarRtl]
80979
81109
  };
80980
81110
 
@@ -81370,7 +81500,7 @@
81370
81500
  })];
81371
81501
  }
81372
81502
 
81373
- var style$O = c$1([cB("drawer", `
81503
+ var style$P = c$1([cB("drawer", `
81374
81504
  word-break: break-word;
81375
81505
  line-height: var(--n-line-height);
81376
81506
  position: absolute;
@@ -81631,7 +81761,7 @@
81631
81761
  const themeRef = useTheme(
81632
81762
  "Drawer",
81633
81763
  "-drawer",
81634
- style$O,
81764
+ style$P,
81635
81765
  drawerLight,
81636
81766
  props,
81637
81767
  mergedClsPrefixRef
@@ -82011,7 +82141,7 @@
82011
82141
  }
82012
82142
  };
82013
82143
 
82014
- function self$E() {
82144
+ function self$F() {
82015
82145
  return commonVariables$5;
82016
82146
  }
82017
82147
  const dynamicInputLight = createTheme$1({
@@ -82021,7 +82151,7 @@
82021
82151
  Input: inputLight,
82022
82152
  Button: buttonLight
82023
82153
  },
82024
- self: self$E
82154
+ self: self$F
82025
82155
  });
82026
82156
 
82027
82157
  function createRightBorderStyle(type) {
@@ -82031,7 +82161,7 @@
82031
82161
  left: n1
82032
82162
  })])])])]);
82033
82163
  }
82034
- var rtlStyle$c = cB("button-group", [cNotM("vertical", [cM("rtl", `
82164
+ var rtlStyle$d = cB("button-group", [cNotM("vertical", [cM("rtl", `
82035
82165
  direction: rtl;
82036
82166
  `, [cB("button", [c$1("&:last-child:not(:first-child)", `
82037
82167
  margin-right: ${zero};
@@ -82049,20 +82179,20 @@
82049
82179
 
82050
82180
  const buttonGroupRtl = {
82051
82181
  name: "ButtonGroup",
82052
- style: rtlStyle$c
82182
+ style: rtlStyle$d
82053
82183
  };
82054
82184
 
82055
- var rtlStyle$b = cB("input-number", [cM("rtl", `
82185
+ var rtlStyle$c = cB("input-number", [cM("rtl", `
82056
82186
  direction: rtl;
82057
82187
  `)]);
82058
82188
 
82059
82189
  const inputNumberRtl = {
82060
82190
  name: "InputNumber",
82061
- style: rtlStyle$b,
82191
+ style: rtlStyle$c,
82062
82192
  peers: [inputRtl, buttonRtl]
82063
82193
  };
82064
82194
 
82065
- var rtlStyle$a = cB("dynamic-input", [cM("rtl", `
82195
+ var rtlStyle$b = cB("dynamic-input", [cM("rtl", `
82066
82196
  direction: rtl;
82067
82197
  `, [cB("dynamic-input-preset-pair", [cB("dynamic-input-pair-input", [c$1("&:first-child", {
82068
82198
  "margin-left": "12px",
@@ -82073,7 +82203,7 @@
82073
82203
 
82074
82204
  const dynamicInputRtl = {
82075
82205
  name: "DynamicInput",
82076
- style: rtlStyle$a,
82206
+ style: rtlStyle$b,
82077
82207
  peers: [inputRtl, buttonRtl, buttonGroupRtl, checkboxRtl, inputNumberRtl]
82078
82208
  };
82079
82209
 
@@ -82207,7 +82337,7 @@
82207
82337
  }
82208
82338
  });
82209
82339
 
82210
- var style$N = cB("dynamic-input", {
82340
+ var style$O = cB("dynamic-input", {
82211
82341
  width: "100%"
82212
82342
  }, [cB("dynamic-input-item", `
82213
82343
  margin-bottom: 10px;
@@ -82322,7 +82452,7 @@
82322
82452
  const themeRef = useTheme(
82323
82453
  "DynamicInput",
82324
82454
  "-dynamic-input",
82325
- style$N,
82455
+ style$O,
82326
82456
  dynamicInputLight,
82327
82457
  props,
82328
82458
  mergedClsPrefixRef
@@ -82682,21 +82812,21 @@
82682
82812
  }
82683
82813
  };
82684
82814
 
82685
- function self$D() {
82815
+ function self$E() {
82686
82816
  return commonVars$4;
82687
82817
  }
82688
82818
  const spaceLight = {
82689
82819
  name: "Space",
82690
- self: self$D
82820
+ self: self$E
82691
82821
  };
82692
82822
 
82693
- var rtlStyle$9 = cB("space", [cM("rtl", `
82823
+ var rtlStyle$a = cB("space", [cM("rtl", `
82694
82824
  direction: rtl;
82695
82825
  `)]);
82696
82826
 
82697
82827
  const spaceRtl = {
82698
82828
  name: "Space",
82699
- style: rtlStyle$9
82829
+ style: rtlStyle$a
82700
82830
  };
82701
82831
 
82702
82832
  let supportFlexGap;
@@ -82908,7 +83038,7 @@
82908
83038
  }
82909
83039
  });
82910
83040
 
82911
- var style$M = cB("dynamic-tags", [cB("input", {
83041
+ var style$N = cB("dynamic-tags", [cB("input", {
82912
83042
  minWidth: "var(--n-input-width)"
82913
83043
  })]);
82914
83044
 
@@ -82970,7 +83100,7 @@
82970
83100
  const themeRef = useTheme(
82971
83101
  "DynamicTags",
82972
83102
  "-dynamic-tags",
82973
- style$M,
83103
+ style$N,
82974
83104
  dynamicTagsLight,
82975
83105
  props,
82976
83106
  mergedClsPrefixRef
@@ -83285,21 +83415,21 @@
83285
83415
  }
83286
83416
  };
83287
83417
 
83288
- function self$C() {
83418
+ function self$D() {
83289
83419
  return commonVars$3;
83290
83420
  }
83291
83421
  const flexLight = {
83292
83422
  name: "Flex",
83293
- self: self$C
83423
+ self: self$D
83294
83424
  };
83295
83425
 
83296
- var rtlStyle$8 = cB("space", [cM("rtl", `
83426
+ var rtlStyle$9 = cB("space", [cM("rtl", `
83297
83427
  direction: rtl;
83298
83428
  `)]);
83299
83429
 
83300
83430
  const flexRtl = {
83301
83431
  name: "Flex",
83302
- style: rtlStyle$8
83432
+ style: rtlStyle$9
83303
83433
  };
83304
83434
 
83305
83435
  const flexProps = {
@@ -83442,7 +83572,7 @@
83442
83572
  labelFontWeight: "400"
83443
83573
  };
83444
83574
 
83445
- function self$B(vars) {
83575
+ function self$C(vars) {
83446
83576
  const {
83447
83577
  heightSmall,
83448
83578
  heightMedium,
@@ -83469,13 +83599,13 @@
83469
83599
  const formLight = {
83470
83600
  name: "Form",
83471
83601
  common: derived,
83472
- self: self$B
83602
+ self: self$C
83473
83603
  };
83474
83604
 
83475
83605
  const formItemDark = {
83476
83606
  name: "Form",
83477
83607
  common: derived$1,
83478
- self: self$B
83608
+ self: self$C
83479
83609
  };
83480
83610
 
83481
83611
  const gradientTextDark = {
@@ -83512,7 +83642,7 @@
83512
83642
  }
83513
83643
  };
83514
83644
 
83515
- function self$A(vars) {
83645
+ function self$B(vars) {
83516
83646
  const {
83517
83647
  primaryColor,
83518
83648
  successColor,
@@ -83549,7 +83679,7 @@
83549
83679
  const gradientTextLight = {
83550
83680
  name: "GradientText",
83551
83681
  common: derived,
83552
- self: self$A
83682
+ self: self$B
83553
83683
  };
83554
83684
 
83555
83685
  const inputNumberDark = {
@@ -83569,7 +83699,7 @@
83569
83699
  }
83570
83700
  };
83571
83701
 
83572
- function self$z(vars) {
83702
+ function self$A(vars) {
83573
83703
  const {
83574
83704
  textColorDisabled
83575
83705
  } = vars;
@@ -83584,9 +83714,46 @@
83584
83714
  Button: buttonLight,
83585
83715
  Input: inputLight
83586
83716
  },
83717
+ self: self$A
83718
+ });
83719
+
83720
+ function self$z() {
83721
+ return {
83722
+ inputWidthSmall: "24px",
83723
+ inputWidthMedium: "30px",
83724
+ inputWidthLarge: "36px",
83725
+ gapSmall: "8px",
83726
+ gapMedium: "8px",
83727
+ gapLarge: "8px"
83728
+ };
83729
+ }
83730
+ const inputOtpLight = createTheme$1({
83731
+ name: "InputOtp",
83732
+ common: derived,
83733
+ peers: {
83734
+ Input: inputLight
83735
+ },
83587
83736
  self: self$z
83588
83737
  });
83589
83738
 
83739
+ const inputOtpDark = {
83740
+ name: "InputOtp",
83741
+ common: derived$1,
83742
+ peers: {
83743
+ Input: inputDark
83744
+ },
83745
+ self: self$z
83746
+ };
83747
+
83748
+ var rtlStyle$8 = cB("input-otp", [cM("rtl", `
83749
+ direction: rtl;
83750
+ `)]);
83751
+
83752
+ const inputOtpRtl = {
83753
+ name: "InputOtp",
83754
+ style: rtlStyle$8
83755
+ };
83756
+
83590
83757
  const layoutDark = {
83591
83758
  name: "Layout",
83592
83759
  common: derived$1,
@@ -85403,7 +85570,7 @@
85403
85570
  self: self$a
85404
85571
  };
85405
85572
 
85406
- var style$L = cB("float-button-group", [cB("float-button", `
85573
+ var style$M = cB("float-button-group", [cB("float-button", `
85407
85574
  position: relative;
85408
85575
  `), cM("square-shape", `
85409
85576
  background-color: var(--n-color);
@@ -85466,7 +85633,7 @@
85466
85633
  const themeRef = useTheme(
85467
85634
  "FloatButtonGroup",
85468
85635
  "-float-button-group",
85469
- style$L,
85636
+ style$M,
85470
85637
  themeLight$3,
85471
85638
  props,
85472
85639
  mergedClsPrefixRef
@@ -85581,7 +85748,7 @@
85581
85748
  self: self$9
85582
85749
  };
85583
85750
 
85584
- var style$K = cB("float-button", `
85751
+ var style$L = cB("float-button", `
85585
85752
  user-select: none;
85586
85753
  cursor: pointer;
85587
85754
  color: var(--n-text-color);
@@ -85711,7 +85878,7 @@
85711
85878
  const themeRef = useTheme(
85712
85879
  "FloatButton",
85713
85880
  "-float-button",
85714
- style$K,
85881
+ style$L,
85715
85882
  themeLight$2,
85716
85883
  props,
85717
85884
  mergedClsPrefixRef
@@ -85885,7 +86052,7 @@
85885
86052
  const formInjectionKey = createInjectionKey("n-form");
85886
86053
  const formItemInstsInjectionKey = createInjectionKey("n-form-item-insts");
85887
86054
 
85888
- var style$J = cB("form", [cM("inline", `
86055
+ var style$K = cB("form", [cM("inline", `
85889
86056
  width: 100%;
85890
86057
  display: inline-flex;
85891
86058
  align-items: flex-start;
@@ -85940,7 +86107,7 @@
85940
86107
  props: formProps,
85941
86108
  setup(props) {
85942
86109
  const { mergedClsPrefixRef } = useConfig(props);
85943
- useTheme("Form", "-form", style$J, formLight, props, mergedClsPrefixRef);
86110
+ useTheme("Form", "-form", style$K, formLight, props, mergedClsPrefixRef);
85944
86111
  const formItems = {};
85945
86112
  const maxChildLabelWidthRef = vue.ref(void 0);
85946
86113
  const deriveMaxChildLabelWidth = (currentWidth) => {
@@ -87145,7 +87312,7 @@
87145
87312
  })];
87146
87313
  }
87147
87314
 
87148
- var style$I = cB("form-item", `
87315
+ var style$J = cB("form-item", `
87149
87316
  display: grid;
87150
87317
  line-height: var(--n-line-height);
87151
87318
  `, [cB("form-item-label", `
@@ -87505,7 +87672,7 @@
87505
87672
  const themeRef = useTheme(
87506
87673
  "Form",
87507
87674
  "-form-item",
87508
- style$I,
87675
+ style$J,
87509
87676
  formLight,
87510
87677
  props,
87511
87678
  mergedClsPrefixRef
@@ -87938,7 +88105,7 @@
87938
88105
  right: percent
87939
88106
  })];
87940
88107
  });
87941
- var style$H = c$1([cB("row", {
88108
+ var style$I = c$1([cB("row", {
87942
88109
  width: "100%",
87943
88110
  display: "flex",
87944
88111
  flexWrap: "wrap"
@@ -87970,7 +88137,7 @@
87970
88137
  props: rowProps,
87971
88138
  setup(props) {
87972
88139
  const { mergedClsPrefixRef, mergedRtlRef } = useConfig(props);
87973
- useStyle("-legacy-grid", style$H, mergedClsPrefixRef);
88140
+ useStyle("-legacy-grid", style$I, mergedClsPrefixRef);
87974
88141
  const rtlEnabledRef = useRtl("Row", mergedRtlRef, mergedClsPrefixRef);
87975
88142
  const verticalGutterRef = useMemo(() => {
87976
88143
  const { gutter } = props;
@@ -88370,7 +88537,7 @@
88370
88537
  }
88371
88538
  });
88372
88539
 
88373
- var style$G = cB("gradient-text", `
88540
+ var style$H = cB("gradient-text", `
88374
88541
  display: inline-block;
88375
88542
  font-weight: var(--n-font-weight);
88376
88543
  -webkit-background-clip: text;
@@ -88427,7 +88594,7 @@
88427
88594
  const themeRef = useTheme(
88428
88595
  "GradientText",
88429
88596
  "-gradient-text",
88430
- style$G,
88597
+ style$H,
88431
88598
  gradientTextLight,
88432
88599
  props,
88433
88600
  mergedClsPrefixRef
@@ -88899,7 +89066,7 @@
88899
89066
  self: self$8
88900
89067
  };
88901
89068
 
88902
- var style$F = cB("icon-wrapper", `
89069
+ var style$G = cB("icon-wrapper", `
88903
89070
  transition:
88904
89071
  color .3s var(--n-bezier),
88905
89072
  background-color .3s var(--n-bezier);
@@ -88931,7 +89098,7 @@
88931
89098
  const themeRef = useTheme(
88932
89099
  "IconWrapper",
88933
89100
  "-icon-wrapper",
88934
- style$F,
89101
+ style$G,
88935
89102
  iconWrapperLight,
88936
89103
  props,
88937
89104
  mergedClsPrefixRef
@@ -89052,7 +89219,7 @@
89052
89219
  };
89053
89220
  const imageContextKey = createInjectionKey("n-image");
89054
89221
 
89055
- var style$E = c$1([c$1("body >", [cB("image-container", "position: fixed;")]), cB("image-preview-container", `
89222
+ var style$F = c$1([c$1("body >", [cB("image-container", "position: fixed;")]), cB("image-preview-container", `
89056
89223
  position: fixed;
89057
89224
  left: 0;
89058
89225
  right: 0;
@@ -89128,7 +89295,7 @@
89128
89295
  const themeRef = useTheme(
89129
89296
  "Image",
89130
89297
  "-image",
89131
- style$E,
89298
+ style$F,
89132
89299
  imageLight,
89133
89300
  props,
89134
89301
  vue.toRef(props, "clsPrefix")
@@ -89971,7 +90138,7 @@
89971
90138
  }
89972
90139
  });
89973
90140
 
89974
- var style$D = c$1([cB("input-number-suffix", `
90141
+ var style$E = c$1([cB("input-number-suffix", `
89975
90142
  display: inline-block;
89976
90143
  margin-right: 10px;
89977
90144
  `), cB("input-number-prefix", `
@@ -90096,7 +90263,7 @@
90096
90263
  const themeRef = useTheme(
90097
90264
  "InputNumber",
90098
90265
  "-input-number",
90099
- style$D,
90266
+ style$E,
90100
90267
  inputNumberLight,
90101
90268
  props,
90102
90269
  mergedClsPrefixRef
@@ -90686,6 +90853,324 @@
90686
90853
  }
90687
90854
  });
90688
90855
 
90856
+ var style$D = c$1([cB("input-otp", `
90857
+ display: flex;
90858
+ align-items: center;
90859
+ gap: var(--n-gap);
90860
+ `, [cM("block", ``, [cB("input", ``, [cNotM("autosize", `
90861
+ text-align: center;
90862
+ min-width: 0;
90863
+ `), cM("autosize", `
90864
+ text-align: center;
90865
+ min-width: 0;
90866
+ `)])]), cNotM("block", ``, [cB("input", ``, [cNotM("autosize", `
90867
+ width: var(--n-input-width);
90868
+ text-align: center;
90869
+ `), cM("autosize", `
90870
+ width: var(--n-input-width);
90871
+ text-align: center;
90872
+ `)])])])]);
90873
+
90874
+ const inputOtpProps = {
90875
+ ...useTheme.props,
90876
+ defaultValue: { type: Array, default: [] },
90877
+ value: Array,
90878
+ length: {
90879
+ type: Number,
90880
+ default: 6
90881
+ },
90882
+ block: Boolean,
90883
+ size: String,
90884
+ disabled: Boolean,
90885
+ mask: Boolean,
90886
+ readonly: Boolean,
90887
+ status: String,
90888
+ gap: [String, Number],
90889
+ placeholder: { type: String, default: "" },
90890
+ allowInput: Function,
90891
+ onBlur: [Function, Array],
90892
+ onFocus: [Function, Array],
90893
+ "onUpdate:value": [Function, Array],
90894
+ onUpdateValue: [Function, Array],
90895
+ onFinish: [Function, Array]
90896
+ };
90897
+ var InputOtp = vue.defineComponent({
90898
+ name: "InputOtp",
90899
+ props: inputOtpProps,
90900
+ slots: Object,
90901
+ setup(props) {
90902
+ const { mergedClsPrefixRef, mergedRtlRef, inlineThemeDisabled } = useConfig(props);
90903
+ const themeRef = useTheme(
90904
+ "InputOtp",
90905
+ "-input-otp",
90906
+ style$D,
90907
+ inputOtpLight,
90908
+ props,
90909
+ mergedClsPrefixRef
90910
+ );
90911
+ const rtlEnabledRef = useRtl("InputOtp", mergedRtlRef, mergedClsPrefixRef);
90912
+ const formItem = useFormItem(props);
90913
+ const { mergedSizeRef, mergedDisabledRef, mergedStatusRef } = formItem;
90914
+ const cssVarsRef = vue.computed(() => {
90915
+ const { value: size } = mergedSizeRef;
90916
+ const { gap: propGap } = props;
90917
+ const {
90918
+ self: {
90919
+ [createKey("inputWidth", size)]: inputWidth,
90920
+ [createKey("gap", size)]: gap
90921
+ }
90922
+ } = themeRef.value;
90923
+ return {
90924
+ "--n-gap": propGap === void 0 ? gap : typeof propGap === "number" ? pxfy(propGap) : propGap,
90925
+ "--n-input-width": inputWidth
90926
+ };
90927
+ });
90928
+ const themeClassHandle = inlineThemeDisabled ? useThemeClass(
90929
+ "input-otp",
90930
+ vue.computed(() => {
90931
+ const { value: size } = mergedSizeRef;
90932
+ return size[0];
90933
+ }),
90934
+ cssVarsRef,
90935
+ props
90936
+ ) : void 0;
90937
+ const uncontrolledValueRef = vue.ref(props.defaultValue);
90938
+ const controlledValueRef = vue.toRef(props, "value");
90939
+ const mergedValueRef = useMergedState(
90940
+ controlledValueRef,
90941
+ uncontrolledValueRef
90942
+ );
90943
+ const inputRefList = vue.ref([]);
90944
+ const inputTypeRef = vue.computed(
90945
+ () => props.mask ? "password" : "text"
90946
+ );
90947
+ const handleFocus = (e, index) => {
90948
+ if (inputRefList?.value.some(
90949
+ (inputInst) => inputInst.inputElRef === e.relatedTarget
90950
+ )) {
90951
+ return;
90952
+ }
90953
+ const { onFocus } = props;
90954
+ if (onFocus) {
90955
+ call(onFocus, e, index);
90956
+ }
90957
+ const { nTriggerFormFocus } = formItem;
90958
+ nTriggerFormFocus();
90959
+ };
90960
+ const handleBlur = (e, index) => {
90961
+ if (inputRefList?.value.some(
90962
+ (inputInst) => inputInst.inputElRef === e.relatedTarget
90963
+ )) {
90964
+ return;
90965
+ }
90966
+ const { onBlur } = props;
90967
+ const { nTriggerFormBlur } = formItem;
90968
+ if (onBlur)
90969
+ call(onBlur, e, index);
90970
+ nTriggerFormBlur();
90971
+ };
90972
+ const focusOnChar = (charIndex) => {
90973
+ if (charIndex >= props.length)
90974
+ return;
90975
+ if (charIndex < 0)
90976
+ return;
90977
+ inputRefList?.value[charIndex].focus();
90978
+ inputRefList?.value[charIndex].select();
90979
+ };
90980
+ const focusOnNextChar = (currentIndex) => {
90981
+ if (currentIndex >= props.length - 1) {
90982
+ return;
90983
+ }
90984
+ focusOnChar(currentIndex + 1);
90985
+ };
90986
+ const focusOnPrevChar = (currentIndex) => {
90987
+ if (currentIndex <= 0) {
90988
+ return;
90989
+ }
90990
+ focusOnChar(currentIndex - 1);
90991
+ };
90992
+ const justifyValue = (value) => {
90993
+ const justifiedValue = value ? Array.from(value) : [];
90994
+ const length = props.length;
90995
+ while (justifiedValue.length > length) {
90996
+ justifiedValue.pop();
90997
+ }
90998
+ while (justifiedValue.length < length) {
90999
+ justifiedValue.push("");
91000
+ }
91001
+ return justifiedValue;
91002
+ };
91003
+ function doUpdateValue(value, meta) {
91004
+ const { nTriggerFormInput, nTriggerFormChange } = formItem;
91005
+ if (isArrayShallowEqual(value, mergedValueRef.value)) {
91006
+ nTriggerFormInput();
91007
+ return;
91008
+ }
91009
+ const {
91010
+ "onUpdate:value": _onUpdateValue,
91011
+ onUpdateValue,
91012
+ length,
91013
+ onFinish
91014
+ } = props;
91015
+ if (_onUpdateValue)
91016
+ call(_onUpdateValue, value, meta);
91017
+ if (onUpdateValue)
91018
+ call(onUpdateValue, value, meta);
91019
+ if (value.filter((v) => v).length === length && onFinish) {
91020
+ call(onFinish, value);
91021
+ }
91022
+ uncontrolledValueRef.value = value;
91023
+ nTriggerFormInput();
91024
+ nTriggerFormChange();
91025
+ }
91026
+ const handlePaste = (e, index) => {
91027
+ if (props.readonly || mergedDisabledRef.value) {
91028
+ return;
91029
+ }
91030
+ e.preventDefault();
91031
+ const { clipboardData } = e;
91032
+ const text = clipboardData?.getData("text");
91033
+ if (!text)
91034
+ return;
91035
+ const currentValue = justifyValue(mergedValueRef.value);
91036
+ let startIndex = index;
91037
+ const allowInput = props.allowInput;
91038
+ let pasteApplied = false;
91039
+ let appendedText = "";
91040
+ for (let i = 0; i < text.length; ++i) {
91041
+ if (allowInput && !allowInput(text[i], startIndex, currentValue)) {
91042
+ continue;
91043
+ }
91044
+ pasteApplied = true;
91045
+ currentValue[startIndex] = text[i];
91046
+ appendedText += text[i];
91047
+ startIndex++;
91048
+ if (startIndex >= currentValue.length) {
91049
+ break;
91050
+ }
91051
+ }
91052
+ if (pasteApplied) {
91053
+ focusOnChar(startIndex);
91054
+ doUpdateValue(currentValue, {
91055
+ diff: appendedText,
91056
+ index: startIndex,
91057
+ source: "paste"
91058
+ });
91059
+ }
91060
+ };
91061
+ const handleKeydown = (e, index) => {
91062
+ if (mergedDisabledRef.value)
91063
+ return;
91064
+ const keyCode = e.code || e.key;
91065
+ const currentValue = justifyValue(mergedValueRef.value);
91066
+ if (keyCode === "Backspace" && !props.readonly) {
91067
+ e.preventDefault();
91068
+ currentValue[Math.max(index, 0)] = "";
91069
+ doUpdateValue(currentValue, { diff: "", index, source: "delete" });
91070
+ focusOnPrevChar(index);
91071
+ } else if (keyCode === "ArrowLeft") {
91072
+ e.preventDefault();
91073
+ focusOnPrevChar(index);
91074
+ } else if (keyCode === "ArrowRight") {
91075
+ e.preventDefault();
91076
+ focusOnNextChar(index);
91077
+ }
91078
+ };
91079
+ const handleInput = (value, index) => {
91080
+ const currentValue = justifyValue(mergedValueRef.value);
91081
+ const currentValueAtIndex = currentValue[index];
91082
+ const diff = value.replace(currentValueAtIndex, "");
91083
+ const char = diff[diff.length - 1] || value[value.length - 1] || "";
91084
+ const allowInput = props.allowInput;
91085
+ if (allowInput && !allowInput(char, index, currentValue)) {
91086
+ return;
91087
+ }
91088
+ currentValue[index] = char;
91089
+ doUpdateValue(currentValue, { diff: char, index, source: "input" });
91090
+ focusOnNextChar(index);
91091
+ };
91092
+ const getTemplateEvents = (index) => {
91093
+ return {
91094
+ onInput: (value) => handleInput(value, index),
91095
+ onPaste: (event) => handlePaste(event, index),
91096
+ onKeydown: (event) => handleKeydown(event, index),
91097
+ onFocus: (event) => handleFocus(event, index),
91098
+ onBlur: (event) => handleBlur(event, index)
91099
+ };
91100
+ };
91101
+ return {
91102
+ mergedTheme: themeRef,
91103
+ perItemValueArray: vue.computed(() => justifyValue(mergedValueRef.value)),
91104
+ mergedClsPrefix: mergedClsPrefixRef,
91105
+ inputRefList,
91106
+ inputType: inputTypeRef,
91107
+ rtlEnabled: rtlEnabledRef,
91108
+ mergedStatus: mergedStatusRef,
91109
+ mergedDisabled: mergedDisabledRef,
91110
+ cssVars: inlineThemeDisabled ? void 0 : cssVarsRef,
91111
+ themeClass: themeClassHandle?.themeClass,
91112
+ getTemplateEvents,
91113
+ onRender: themeClassHandle?.onRender
91114
+ };
91115
+ },
91116
+ render() {
91117
+ const {
91118
+ mergedTheme,
91119
+ mergedClsPrefix,
91120
+ perItemValueArray,
91121
+ size,
91122
+ placeholder,
91123
+ mergedDisabled,
91124
+ mergedStatus,
91125
+ readonly,
91126
+ inputType,
91127
+ $slots,
91128
+ getTemplateEvents,
91129
+ themeClass,
91130
+ onRender
91131
+ } = this;
91132
+ onRender?.();
91133
+ return /* @__PURE__ */ vue.h(
91134
+ "div",
91135
+ {
91136
+ style: this.cssVars,
91137
+ class: [
91138
+ `${mergedClsPrefix}-input-otp`,
91139
+ themeClass,
91140
+ this.rtlEnabled && `${mergedClsPrefix}-input-otp--rtl`,
91141
+ this.block && `${mergedClsPrefix}-input-otp--block`
91142
+ ]
91143
+ },
91144
+ repeat(this.length, void 0).map(
91145
+ (_, index) => resolveSlotWithTypedProps(
91146
+ $slots.default,
91147
+ {
91148
+ index,
91149
+ value: perItemValueArray[index],
91150
+ type: inputType,
91151
+ size,
91152
+ placeholder,
91153
+ disabled: mergedDisabled,
91154
+ readonly,
91155
+ status: mergedStatus,
91156
+ builtinThemeOverrides: {
91157
+ paddingTiny: "0",
91158
+ paddingSmall: "0",
91159
+ paddingMedium: "0",
91160
+ paddingLarge: "0"
91161
+ },
91162
+ theme: mergedTheme.peers.Input,
91163
+ themeOverrides: mergedTheme.peerOverrides.Input,
91164
+ ref: (el) => this.inputRefList[index] = el,
91165
+ ...getTemplateEvents(index)
91166
+ },
91167
+ ({ index: index2, ...restProps }) => [/* @__PURE__ */ vue.h(NInput, { ...restProps, key: index2 })]
91168
+ )
91169
+ )
91170
+ );
91171
+ }
91172
+ });
91173
+
90689
91174
  const layoutSiderInjectionKey = createInjectionKey("n-layout-sider");
90690
91175
  const positionProp = {
90691
91176
  type: String,
@@ -95928,8 +96413,8 @@
95928
96413
  const endPositionY = 2 * radius;
95929
96414
  const centerX = 50 + strokeWidth / 2;
95930
96415
  const pathString = `M ${centerX},${centerX} m ${beginPositionX},${beginPositionY}
95931
- a ${radius},${radius} 0 1 1 ${endPositionX},${-endPositionY}
95932
- a ${radius},${radius} 0 1 1 ${-endPositionX},${endPositionY}`;
96416
+ a ${radius},${radius} 0 1 1 ${endPositionX},${ -100}
96417
+ a ${radius},${radius} 0 1 1 ${ -0},${endPositionY}`;
95933
96418
  const len = Math.PI * 2 * radius;
95934
96419
  const pathStyle = {
95935
96420
  stroke: type === "rail" ? strokeColor : typeof props.fillColor === "object" ? "url(#gradient)" : strokeColor,
@@ -104960,7 +105445,6 @@
104960
105445
  box-sizing: border-box;
104961
105446
  padding: var(--n-node-wrapper-padding);
104962
105447
  `), cB("tree-node", `
104963
- transform: translate3d(0,0,0);
104964
105448
  position: relative;
104965
105449
  display: flex;
104966
105450
  border-radius: var(--n-node-border-radius);
@@ -105102,6 +105586,10 @@
105102
105586
  type: Array,
105103
105587
  default: () => []
105104
105588
  },
105589
+ indent: {
105590
+ type: Number,
105591
+ default: 24
105592
+ },
105105
105593
  indeterminateKeys: Array,
105106
105594
  renderSwitcherIcon: Function,
105107
105595
  onUpdateIndeterminateKeys: [Function, Array],
@@ -105159,10 +105647,6 @@
105159
105647
  default: true
105160
105648
  },
105161
105649
  scrollbarProps: Object,
105162
- indent: {
105163
- type: Number,
105164
- default: 24
105165
- },
105166
105650
  allowDrop: {
105167
105651
  type: Function,
105168
105652
  default: defaultAllowDrop
@@ -107362,6 +107846,7 @@
107362
107846
  themeOverrides: mergedTheme.peerOverrides.Tree,
107363
107847
  defaultExpandAll: this.defaultExpandAll,
107364
107848
  defaultExpandedKeys: this.defaultExpandedKeys,
107849
+ indent: this.indent,
107365
107850
  expandedKeys: this.mergedExpandedKeys,
107366
107851
  checkedKeys: this.treeCheckedKeys,
107367
107852
  selectedKeys: this.treeSelectedKeys,
@@ -108668,13 +109153,18 @@
108668
109153
  }
108669
109154
  function handleDownload(file) {
108670
109155
  const {
108671
- onDownloadRef: { value: onDownload }
109156
+ onDownloadRef: { value: onDownload },
109157
+ customDownloadRef: { value: customDownload }
108672
109158
  } = NUpload;
108673
109159
  void Promise.resolve(
108674
109160
  onDownload ? onDownload(Object.assign({}, file)) : true
108675
109161
  ).then((res) => {
108676
109162
  if (res !== false) {
108677
- download(file.url, file.name);
109163
+ if (customDownload) {
109164
+ customDownload(Object.assign({}, file));
109165
+ } else {
109166
+ download(file.url, file.name);
109167
+ }
108678
109168
  }
108679
109169
  });
108680
109170
  }
@@ -109233,6 +109723,7 @@
109233
109723
  isErrorState: Function,
109234
109724
  /** currently not used */
109235
109725
  onDownload: Function,
109726
+ customDownload: Function,
109236
109727
  defaultUpload: {
109237
109728
  type: Boolean,
109238
109729
  default: true
@@ -109562,6 +110053,7 @@
109562
110053
  showRetryButtonRef: vue.toRef(props, "showRetryButton"),
109563
110054
  onRemoveRef: vue.toRef(props, "onRemove"),
109564
110055
  onDownloadRef: vue.toRef(props, "onDownload"),
110056
+ customDownloadRef: vue.toRef(props, "customDownload"),
109565
110057
  mergedFileListRef,
109566
110058
  triggerClassRef: vue.toRef(props, "triggerClass"),
109567
110059
  triggerStyleRef: vue.toRef(props, "triggerStyle"),
@@ -110139,6 +110631,7 @@
110139
110631
  NInputGroup: NInputGroup,
110140
110632
  NInputGroupLabel: InputGroupLabel,
110141
110633
  NInputNumber: InputNumber,
110634
+ NInputOtp: InputOtp,
110142
110635
  NLayout: Layout,
110143
110636
  NLayoutContent: LayoutContent,
110144
110637
  NLayoutFooter: LayoutFooter,
@@ -110285,6 +110778,7 @@
110285
110778
  inputGroupLabelProps: inputGroupLabelProps,
110286
110779
  inputGroupProps: inputGroupProps,
110287
110780
  inputNumberProps: inputNumberProps,
110781
+ inputOtpProps: inputOtpProps,
110288
110782
  inputProps: inputProps,
110289
110783
  layoutContentProps: layoutProps,
110290
110784
  layoutFooterProps: layoutFooterProps,
@@ -110345,6 +110839,7 @@
110345
110839
  treeProps: treeProps,
110346
110840
  treeSelectProps: treeSelectProps,
110347
110841
  ulProps: ulProps,
110842
+ uploadDownload: publicDownload,
110348
110843
  uploadProps: uploadProps,
110349
110844
  useDialog: useDialog,
110350
110845
  useDialogReactiveList: useDialogReactiveList,
@@ -110378,7 +110873,7 @@
110378
110873
  });
110379
110874
  }
110380
110875
 
110381
- var version = "2.41.0";
110876
+ var version = "2.42.0";
110382
110877
 
110383
110878
  function create({
110384
110879
  componentPrefix = "N",
@@ -110493,6 +110988,7 @@
110493
110988
  Image: imageLight,
110494
110989
  Input: inputLight,
110495
110990
  InputNumber: inputNumberLight,
110991
+ InputOtp: inputOtpLight,
110496
110992
  Layout: layoutLight,
110497
110993
  LegacyTransfer: transferLight,
110498
110994
  List: listLight,
@@ -111068,6 +111564,7 @@
111068
111564
  Image: imageDark,
111069
111565
  Input: inputDark,
111070
111566
  InputNumber: inputNumberDark,
111567
+ InputOtp: inputOtpDark,
111071
111568
  LegacyTransfer: transferDark,
111072
111569
  Layout: layoutDark,
111073
111570
  List: listDark$1,
@@ -111214,6 +111711,7 @@
111214
111711
  exports.NInputGroup = NInputGroup;
111215
111712
  exports.NInputGroupLabel = InputGroupLabel;
111216
111713
  exports.NInputNumber = InputNumber;
111714
+ exports.NInputOtp = InputOtp;
111217
111715
  exports.NLayout = Layout;
111218
111716
  exports.NLayoutContent = LayoutContent;
111219
111717
  exports.NLayoutFooter = LayoutFooter;
@@ -111447,6 +111945,8 @@
111447
111945
  exports.inputGroupProps = inputGroupProps;
111448
111946
  exports.inputNumberDark = inputNumberDark;
111449
111947
  exports.inputNumberProps = inputNumberProps;
111948
+ exports.inputOtpDark = inputOtpDark;
111949
+ exports.inputOtpProps = inputOtpProps;
111450
111950
  exports.inputProps = inputProps;
111451
111951
  exports.install = install;
111452
111952
  exports.internalSelectMenuDark = internalSelectMenuDark;
@@ -111576,6 +112076,7 @@
111576
112076
  exports.unstableDynamicInputRtl = dynamicInputRtl;
111577
112077
  exports.unstableFlexRtl = flexRtl;
111578
112078
  exports.unstableInputNumberRtl = inputNumberRtl;
112079
+ exports.unstableInputOtpRtl = inputOtpRtl;
111579
112080
  exports.unstableInputRtl = inputRtl;
111580
112081
  exports.unstableListRtl = listRtl;
111581
112082
  exports.unstableMessageRtl = messageRtl;
@@ -111594,6 +112095,7 @@
111594
112095
  exports.unstableThingRtl = thingRtl;
111595
112096
  exports.unstableTreeRtl = treeRtl;
111596
112097
  exports.uploadDark = uploadDark;
112098
+ exports.uploadDownload = publicDownload;
111597
112099
  exports.uploadProps = uploadProps;
111598
112100
  exports.useDialog = useDialog;
111599
112101
  exports.useDialogReactiveList = useDialogReactiveList;