x-next 1.3.1 → 1.4.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 (159) hide show
  1. package/AI_USAGE.md +2 -2
  2. package/CHANGELOG.md +36 -0
  3. package/dist/_utils/constant.d.ts +1 -1
  4. package/dist/_utils/palette.d.ts +6 -14
  5. package/dist/components/alert/Alert.vue.d.ts +9 -9
  6. package/dist/components/alert/index.d.ts +6 -6
  7. package/dist/components/button/ButtonGroup.vue.d.ts +22 -18
  8. package/dist/components/date-picker/DatePanel.vue.d.ts +342 -1
  9. package/dist/components/date-picker/DatePicker.vue.d.ts +343 -2
  10. package/dist/components/date-picker/index.d.ts +1765 -1083
  11. package/dist/components/form-input-tag/index.d.ts +26 -25
  12. package/dist/components/form-input-tag/interface.d.ts +8 -0
  13. package/dist/components/link/Link.vue.d.ts +4 -4
  14. package/dist/components/link/index.d.ts +6 -6
  15. package/dist/components/message/index.d.ts +3 -3
  16. package/dist/components/message/message.vue.d.ts +1 -1
  17. package/dist/components/notification/Notification.d.ts +1 -1
  18. package/dist/components/notification/index.d.ts +3 -3
  19. package/dist/components/popconfirm/src/types.d.ts +1 -1
  20. package/dist/components/progress/Progress.vue.d.ts +3 -3
  21. package/dist/components/progress/index.d.ts +3 -3
  22. package/dist/components/tag/Tag.vue.d.ts +14 -0
  23. package/dist/components/tag/index.d.ts +9 -0
  24. package/dist/components/tag/interface.d.ts +5 -0
  25. package/dist/components/trend-chart/components/TrendChart.d.ts +127 -17
  26. package/dist/components/trend-chart/components/trend-chart-curve.d.ts +27 -7
  27. package/dist/components/trend-chart/components/trend-chart-labels.d.ts +4 -0
  28. package/dist/components/trend-chart/helpers/getPadding.d.ts +3 -2
  29. package/dist/components/trend-chart/index.d.ts +223 -28
  30. package/dist/components/trend-chart/props.d.ts +63 -5
  31. package/dist/es/_styles/palette-aliases.js +182 -127
  32. package/dist/es/_utils/palette.js +49 -43
  33. package/dist/es/components/_components/picker/input-range.vue2.js +10 -10
  34. package/dist/es/components/_components/picker/input.vue2.js +20 -20
  35. package/dist/es/components/_components/select-view/select-view.js +2 -2
  36. package/dist/es/components/alert/Alert.vue.js +2 -2
  37. package/dist/es/components/alert/Alert.vue2.js +21 -20
  38. package/dist/es/components/button/Button.js +17 -17
  39. package/dist/es/components/button/ButtonGroup.vue2.js +11 -9
  40. package/dist/es/components/date-picker/DatePanel.vue.js +71 -62
  41. package/dist/es/components/date-picker/DatePanel.vue2.js +50 -40
  42. package/dist/es/components/date-picker/DatePicker.vue2.js +1 -1
  43. package/dist/es/components/form/form-item-label.vue.js +25 -22
  44. package/dist/es/components/form/form-item-label.vue2.js +1 -1
  45. package/dist/es/components/form-checkbox/icon-check.js +12 -43
  46. package/dist/es/components/form-input/InputPassword.vue2.js +2 -2
  47. package/dist/es/components/form-input/InputSearch.js +1 -1
  48. package/dist/es/components/form-input-number/InputNumber.js +4 -4
  49. package/dist/es/components/form-input-tag/InputTag.js +168 -147
  50. package/dist/es/components/form-input-tag/utils.js +21 -19
  51. package/dist/es/components/form-textarea/Textarea.vue2.js +1 -1
  52. package/dist/es/components/link/Link.vue2.js +1 -1
  53. package/dist/es/components/popconfirm/src/popup.vue.js +1 -1
  54. package/dist/es/components/progress/Progress.vue2.js +1 -1
  55. package/dist/es/components/table/Table.js +1 -1
  56. package/dist/es/components/table/table-th.js +2 -2
  57. package/dist/es/components/tabs/tabs-button.js +2 -2
  58. package/dist/es/components/tabs/tabs-nav.js +1 -1
  59. package/dist/es/components/tag/Tag.vue.js +20 -20
  60. package/dist/es/components/tag/Tag.vue2.js +35 -28
  61. package/dist/es/components/time-picker/TimePanel.vue.js +30 -29
  62. package/dist/es/components/time-picker/TimePicker.vue2.js +1 -1
  63. package/dist/es/components/time-picker/TimeRangePanel.js +26 -23
  64. package/dist/es/components/trend-chart/components/TrendChart.js +208 -142
  65. package/dist/es/components/trend-chart/components/trend-chart-curve.js +124 -59
  66. package/dist/es/components/trend-chart/components/trend-chart-labels.js +43 -41
  67. package/dist/es/components/trend-chart/helpers/getPadding.js +3 -3
  68. package/dist/es/components/trend-chart/props.js +101 -33
  69. package/dist/es/components/trend-chart/themes.js +15 -15
  70. package/dist/es/components/watermark/controller.js +40 -40
  71. package/dist/es/icons/default/calendar.js +15 -0
  72. package/dist/es/icons/default/clock-circle.js +15 -0
  73. package/dist/es/icons/default/double-left.js +15 -0
  74. package/dist/es/icons/default/double-right.js +15 -0
  75. package/dist/es/icons/default/down.js +16 -0
  76. package/dist/es/icons/default/eye-invisible.js +20 -0
  77. package/dist/es/icons/default/eye.js +18 -0
  78. package/dist/es/icons/default/left.js +15 -0
  79. package/dist/es/icons/default/minus.js +16 -0
  80. package/dist/es/icons/default/plus.js +16 -0
  81. package/dist/es/icons/default/question-circle.js +18 -0
  82. package/dist/es/icons/default/right.js +15 -0
  83. package/dist/es/icons/default/search.js +16 -0
  84. package/dist/es/icons/default/up.js +16 -0
  85. package/dist/es/icons/icon.js +26 -25
  86. package/dist/es/icons/public/boxicons/basic.js +1893 -0
  87. package/dist/es/icons/public/boxicons/brands.js +304 -0
  88. package/dist/es/icons/public/boxicons/filled.js +1893 -0
  89. package/dist/es/icons/public/boxicons/index.js +24 -0
  90. package/dist/es/icons/public/boxicons/names.js +4082 -0
  91. package/dist/es/icons/registry.js +15 -15
  92. package/dist/es/style.css +1 -1
  93. package/dist/icons/default/calendar.d.ts +93 -0
  94. package/dist/icons/default/clock-circle.d.ts +93 -0
  95. package/dist/icons/{_self/down.d.ts → default/double-left.d.ts} +6 -0
  96. package/dist/icons/{_self/eye-invisible.d.ts → default/double-right.d.ts} +6 -0
  97. package/dist/icons/default/down.d.ts +93 -0
  98. package/dist/icons/default/eye-invisible.d.ts +93 -0
  99. package/dist/icons/default/eye.d.ts +93 -0
  100. package/dist/icons/{_self/eye.d.ts → default/left.d.ts} +7 -0
  101. package/dist/icons/default/minus.d.ts +93 -0
  102. package/dist/icons/{_self → default}/plus.d.ts +7 -0
  103. package/dist/icons/default/question-circle.d.ts +93 -0
  104. package/dist/icons/{_self/minus.d.ts → default/right.d.ts} +7 -0
  105. package/dist/icons/{_self → default}/search.d.ts +7 -0
  106. package/dist/icons/{_self → default}/up.d.ts +7 -0
  107. package/dist/icons/public/boxicons/basic.cjs +1 -0
  108. package/dist/icons/public/boxicons/basic.d.ts +2 -0
  109. package/dist/icons/public/boxicons/brands.cjs +1 -0
  110. package/dist/icons/public/boxicons/brands.d.ts +2 -0
  111. package/dist/icons/public/boxicons/filled.cjs +1 -0
  112. package/dist/icons/public/boxicons/filled.d.ts +2 -0
  113. package/dist/icons/public/boxicons/index.cjs +1 -0
  114. package/dist/icons/public/boxicons/index.d.ts +10 -0
  115. package/dist/icons/public/boxicons/names.d.ts +10 -0
  116. package/dist/icons/registry.d.ts +5 -0
  117. package/dist/index.cjs +4 -4
  118. package/dist/index.umd.js +4 -4
  119. package/dist/style/alert.css +1 -1
  120. package/dist/style/base.css +1 -1
  121. package/dist/style/button.css +1 -1
  122. package/dist/style/date-picker.css +1 -1
  123. package/dist/style/dialog.css +1 -1
  124. package/dist/style/drawer.css +1 -1
  125. package/dist/style/dropdown.css +1 -1
  126. package/dist/style/form-input-number.css +1 -1
  127. package/dist/style/form-input-tag.css +1 -1
  128. package/dist/style/form-input.css +1 -1
  129. package/dist/style/form-radio.css +1 -1
  130. package/dist/style/form-select.css +1 -1
  131. package/dist/style/form-textarea.css +1 -1
  132. package/dist/style/form.css +1 -1
  133. package/dist/style/link.css +1 -1
  134. package/dist/style/menu.css +1 -1
  135. package/dist/style/message-box.css +1 -1
  136. package/dist/style/network.css +1 -1
  137. package/dist/style/popconfirm.css +1 -1
  138. package/dist/style/popover.css +1 -1
  139. package/dist/style/popup.css +1 -1
  140. package/dist/style/progress.css +1 -1
  141. package/dist/style/rate.css +1 -1
  142. package/dist/style/spin.css +1 -1
  143. package/dist/style/steps.css +1 -1
  144. package/dist/style/table.css +1 -1
  145. package/dist/style/tag.css +1 -1
  146. package/dist/style/time-picker.css +1 -1
  147. package/dist/style/time-range-selector.css +1 -1
  148. package/dist/style.css +1 -1
  149. package/package.json +30 -4
  150. package/dist/es/icons/_self/down.js +0 -16
  151. package/dist/es/icons/_self/eye-invisible.js +0 -13
  152. package/dist/es/icons/_self/eye.js +0 -13
  153. package/dist/es/icons/_self/minus.js +0 -13
  154. package/dist/es/icons/_self/plus.js +0 -12
  155. package/dist/es/icons/_self/question-message.js +0 -12
  156. package/dist/es/icons/_self/search.js +0 -13
  157. package/dist/es/icons/_self/up.js +0 -16
  158. package/dist/es/icons/_ui/calendar.js +0 -13
  159. package/dist/es/icons/_ui/time.js +0 -12
package/AI_USAGE.md CHANGED
@@ -1,9 +1,9 @@
1
1
  <!-- Generated by pnpm generate:ai-usage. Edit src/docs/guide/ai-usage-recipes.md and script/ai-usage/manifest.js. -->
2
2
  # x-next AI 使用手册
3
3
 
4
- 适用版本:**x-next@1.3.1**。Vue:`^3.5.0`;Node:`>=20.19.0`。
4
+ 适用版本:**x-next@1.4.0**。Vue:`^3.5.0`;Node:`>=20.19.0`。
5
5
 
6
- 来源指纹(精选示例、映射、版本与公开类型声明):`026780d75893368a0a1da6edd95df58545bcfefe87f3a5390756065500e73fe7`。
6
+ 来源指纹(精选示例、映射、版本与公开类型声明):`37f7ca897f3f8851dd34e16a59bbdeb40404262841c8c0bc9112fc62100f031a`。
7
7
 
8
8
  先按业务需要选择组件,不要求全部迁移。本手册限定在用户确认的 22 个组件及必要的同族子组件,未覆盖的导出不表示已完成业务验收。
9
9
 
package/CHANGELOG.md CHANGED
@@ -2,6 +2,42 @@
2
2
 
3
3
  本项目遵循 [语义化版本](https://semver.org/lang/zh-CN/)。
4
4
 
5
+ ## [1.4.0] - 2026-10-02
6
+
7
+ ### 新增
8
+
9
+ - **Boxicons 图标库接入**:新增 4063 个图标(basic / filled / brands 三套),支持按名引用与独立子路径引入,附同步脚本与图标文档页。
10
+ - **图标规格统一**:新增一批 48×48 线性图标(`calendar`、`clock-circle`、`left`、`right`、`double-left`、`double-right`、`search`、`up`、`down`、`plus`、`minus`、`eye`、`eye-invisible`、`question-circle`),替换原先在 10~16px 下使用的 1024×1024 实心图标,消除小尺寸降采样导致的笔画粘连。
11
+ - **颜色体系**:重构调色板与语义别名,补齐状态色族(success / warning / danger / info)在组件中的覆盖;新增 `forced-colors.scss` 支持高对比度模式。
12
+ - `DatePicker` / `TimePicker` 面板支持按可见列数自适应宽度。
13
+
14
+ ### 修复
15
+
16
+ - **InputNumber**:修复按钮模式两侧按钮高度塌陷(`height: 100%` 在不定高外层中退化为内容高度,实测恒为 16px 且不随尺寸档变化),现按尺寸档对齐 24 / 28 / 32 / 36px;修复只读态未走禁用色、悬停与按下反馈被高特异性规则覆盖、`hide-button` 下业务插槽被强制尺寸。
17
+ - **日期 / 时间选择器**:
18
+ - 修复 picker `error` + `focus` 组合态选择器编译为无效 CSS(`mm()` 误传 `&-focused`),错误态聚焦时红框与阴影丢失;
19
+ - 修复 12 小时制面板宽度写死 3 列导致第 4 列(上午 / 下午)溢出裁切不可点;
20
+ - 面板头部四个翻页箭头原为文本字符 `«‹›»`(单箭头字形仅 5px,依赖字体回退),改为 48 线性图标;
21
+ - 重做选中范围带:高度由满格 32px 改为与日期圆圈等高的 24px,行间恢复空隙、端点圆角与圆圈对齐、行首行尾正确收口;范围内悬停由「蓝底叠灰圆」改为色带整体加深;农历模式与周模式同步适配。
22
+ - **Select**:修复展开时箭头从不翻转——样式选择器为单横线 `x-select--view-arrow-icon` 而运行时类名为双横线,规则永不命中;并补上翻转过渡。
23
+ - **表单族图标与动效**:统一清除图标为线性规格(picker / Textarea 原为实心圆叉);六个组件的清除按钮由 `display` 硬切换或仅切 `visibility` 改为统一淡入淡出,并补齐 `:focus-within`(键盘用户原本看不到清除按钮)。
24
+ - **表单尺寸脱钩**:Input medium / large 高度由 30 / 32px 修正为与 token 一致的 32 / 36px,使同一表单内 Input 与 Select / InputTag 不再错位。
25
+ - **Form 无障碍**:说明图标补齐 `tabindex`、`aria-label` 与 `focus` 触发;修正 tooltip 图标类名错配导致的样式全失效。
26
+ - **浮层与弹窗**:统一扁平化投影与间距,修正 Tooltip 箭头可见性。
27
+ - 修正颜色门禁与对比度检查的阈值与来源覆盖。
28
+
29
+ ### 文档
30
+
31
+ - 补齐 Checkbox、Slider、Textarea、Switch、InputNumber、TimePicker 缺失的尺寸与状态 live demo;TimePicker 增加 12 小时制范围组合示例。
32
+ - 修正 InputNumber 文档将 `#prepend` / `#append` 与 `mode="button"` 混用的示例(按钮模式下业务插槽不渲染,需配合 `hide-button`)。
33
+ - 新增 Boxicons 图标库文档页;补充 Tag / Link 文字角色说明与文档样式隔离。
34
+
35
+ ### 检查与测试
36
+
37
+ - 对比度门禁扩至 466 组合,新增 DatePicker 范围带悬停反馈校验;颜色门禁运行测试同步新来源文件。
38
+ - 新增 InputNumber 按钮模式回归测试(百分比高度守卫、插槽让位契约)。
39
+ - 全量单测 1888 项。
40
+
5
41
  ## [1.3.1] - 2026-09-30
6
42
 
7
43
  ### 文档与检查
@@ -2,7 +2,7 @@ export declare const SIZES: readonly ["mini", "small", "medium", "large"];
2
2
  export type Size = typeof SIZES[number];
3
3
  export declare const BORDER_SHAPES: readonly ["square", "round", "circle"];
4
4
  export type BorderShape = typeof BORDER_SHAPES[number];
5
- export declare const STATUSES: readonly ["normal", "success", "warning", "danger"];
5
+ export declare const STATUSES: readonly ["normal", "success", "warning", "strong", "danger"];
6
6
  export type Status = typeof STATUSES[number];
7
7
  export declare const MESSAGE_TYPES: readonly ["info", "success", "warning", "error"];
8
8
  export type MessageType = typeof MESSAGE_TYPES[number];
@@ -13,9 +13,11 @@
13
13
  * 实测 95.5 / 86.5 / 77.3 / 68.2 / 59.0,误差 ≤ 0.2。
14
14
  *
15
15
  * 2. 色相每档漂移约 2.05°。方向按色相区间决定:
16
- * 红黄区间(0°~90°)随档位加深而递减,其余区间递增。
17
- * 该规则同时命中 primary(+2.2)、success(+2.1)、danger(-2.0)、
18
- * strong(-2.0)、warning(-2.1) 五族的实测方向。
16
+ * 红黄区间(0°~90°)随档位加深而递减,其余区间递增,
17
+ * 与 Arco 色阶生成规则(60°~240° 区间随加深递增)一致。
18
+ * 注意:该符号曾写反,导致 warning 加深向绿漂(41°→47°)、
19
+ * primary 加深向紫漂,文字档位出现橄榄/灰紫观感;修正后
20
+ * warning -9 回到 37° 琥珀棕,色阶整体与原始 Arco 导入色板同向。
19
21
  *
20
22
  * 3. 饱和度沿用种子色,浅端不做衰减。
21
23
  * 这与 primary / warning / strong 的实测完全一致。
@@ -32,7 +34,7 @@ export interface HSL {
32
34
  s: number;
33
35
  l: number;
34
36
  }
35
- /** #rgb / #rrggbb / rgb() / rgba() 转为 RGB 三元组,失败返回 null */
37
+ /** hex / rgb() / rgba() 转为不透明 RGB 三元组,失败返回 null;alpha 不参与色阶。 */
36
38
  export declare const parseColor: (input: string) => [number, number, number] | null;
37
39
  export declare const rgbToHsl: ([r, g, b]: [number, number, number]) => HSL;
38
40
  export declare const hslToRgb: ({ h, s, l }: HSL) => [number, number, number];
@@ -48,16 +50,6 @@ export declare const toHex: (rgb: [number, number, number]) => string;
48
50
  * generatePalette('#0056ff')[5] // 第 6 档,等于种子色
49
51
  */
50
52
  export declare const generatePalette: (seed: string, options?: PaletteOptions) => string[];
51
- /**
52
- * 与色阶同名的派生别名。
53
- *
54
- * 这些名字在 `:root` 上定义时形如 `--x-color-primary-solid: var(--x-color-primary-6)`,
55
- * 而 CSS 自定义属性是在**声明处**解析 `var()` 的:一旦定义在 `:root`,
56
- * 其值就固化为 `:root` 当时的色阶,后代元素再覆盖 `-6` 也不会重算。
57
- *
58
- * 因此写入色阶时必须连带重写这些别名,且要写成 `var(...)` 引用而非解析后的色值,
59
- * 让它们在目标元素处重新解析。这样局部主题容器(ConfigProvider)才能生效。
60
- */
61
53
  /**
62
54
  * 把色阶写入指定元素的 CSS 变量,供运行时换主题色使用。
63
55
  *
@@ -2,12 +2,12 @@ import { PropType, SlotsType, StyleValue } from 'vue';
2
2
  import { MessageType } from '../../_utils/constant';
3
3
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
4
  /**
5
- * @zh 警告提示的类型。2.41.0 新增 `normal` 类型
6
- * @en Type of the alert. 2.41.0 Added `normal` type
7
- * @values info, success, warning, error, normal
5
+ * @zh 警告提示的类型
6
+ * @en Type of the alert
7
+ * @values info, success, warning, strong, error, normal
8
8
  */
9
9
  type: {
10
- type: PropType<MessageType | "normal">;
10
+ type: PropType<MessageType | "normal" | "strong">;
11
11
  default: string;
12
12
  validator: (value: string) => boolean;
13
13
  };
@@ -97,12 +97,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
97
97
  afterClose: () => true;
98
98
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
99
99
  /**
100
- * @zh 警告提示的类型。2.41.0 新增 `normal` 类型
101
- * @en Type of the alert. 2.41.0 Added `normal` type
102
- * @values info, success, warning, error, normal
100
+ * @zh 警告提示的类型
101
+ * @en Type of the alert
102
+ * @values info, success, warning, strong, error, normal
103
103
  */
104
104
  type: {
105
- type: PropType<MessageType | "normal">;
105
+ type: PropType<MessageType | "normal" | "strong">;
106
106
  default: string;
107
107
  validator: (value: string) => boolean;
108
108
  };
@@ -166,7 +166,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
166
166
  onAfterClose?: (() => any) | undefined;
167
167
  }>, {
168
168
  center: boolean;
169
- type: "normal" | "success" | "warning" | "info" | "error";
169
+ type: "normal" | "success" | "warning" | "strong" | "info" | "error";
170
170
  showIcon: boolean;
171
171
  closable: boolean;
172
172
  banner: boolean;
@@ -1,7 +1,7 @@
1
1
  export declare const Alert: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
3
  type: {
4
- type: import('vue').PropType<import('../../_utils/constant.ts').MessageType | "normal">;
4
+ type: import('vue').PropType<import('../../_utils/constant.ts').MessageType | "normal" | "strong">;
5
5
  default: string;
6
6
  validator: (value: string) => boolean;
7
7
  };
@@ -57,7 +57,7 @@ export declare const Alert: {
57
57
  afterClose: () => true;
58
58
  }, import('vue').PublicProps, {
59
59
  center: boolean;
60
- type: "normal" | "success" | "warning" | "info" | "error";
60
+ type: "normal" | "success" | "warning" | "strong" | "info" | "error";
61
61
  showIcon: boolean;
62
62
  closable: boolean;
63
63
  banner: boolean;
@@ -558,7 +558,7 @@ export declare const Alert: {
558
558
  Defaults: {};
559
559
  }, Readonly<import('vue').ExtractPropTypes<{
560
560
  type: {
561
- type: import('vue').PropType<import('../../_utils/constant.ts').MessageType | "normal">;
561
+ type: import('vue').PropType<import('../../_utils/constant.ts').MessageType | "normal" | "strong">;
562
562
  default: string;
563
563
  validator: (value: string) => boolean;
564
564
  };
@@ -610,7 +610,7 @@ export declare const Alert: {
610
610
  handleAfterLeave: () => void;
611
611
  }, {}, {}, {}, {
612
612
  center: boolean;
613
- type: "normal" | "success" | "warning" | "info" | "error";
613
+ type: "normal" | "success" | "warning" | "strong" | "info" | "error";
614
614
  showIcon: boolean;
615
615
  closable: boolean;
616
616
  banner: boolean;
@@ -622,7 +622,7 @@ export declare const Alert: {
622
622
  __isSuspense?: never;
623
623
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
624
624
  type: {
625
- type: import('vue').PropType<import('../../_utils/constant.ts').MessageType | "normal">;
625
+ type: import('vue').PropType<import('../../_utils/constant.ts').MessageType | "normal" | "strong">;
626
626
  default: string;
627
627
  validator: (value: string) => boolean;
628
628
  };
@@ -678,7 +678,7 @@ export declare const Alert: {
678
678
  afterClose: () => true;
679
679
  }, string, {
680
680
  center: boolean;
681
- type: "normal" | "success" | "warning" | "info" | "error";
681
+ type: "normal" | "success" | "warning" | "strong" | "info" | "error";
682
682
  showIcon: boolean;
683
683
  closable: boolean;
684
684
  banner: boolean;
@@ -2,31 +2,33 @@ import { PropType } from 'vue';
2
2
  import { ButtonShape, ButtonSize, ButtonStatus, ButtonTypes } from './props';
3
3
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
4
  /**
5
- * @zh 按钮的类型,分为五种:次要按钮、主要按钮、虚框按钮、线性按钮、文字按钮。
6
- * @en Children button types are divided into five types: secondary, primary, dashed, outline and text.
5
+ * @zh 子按钮默认类型:默认、主要、虚框、线性、文字
6
+ * @en Children button type: default, primary, dashed, outline and text
7
+ * @values 'default','primary','dashed','outline','text'
7
8
  */
8
9
  type: {
9
10
  type: PropType<ButtonTypes>;
10
11
  };
11
12
  /**
12
- * @zh 按钮的状态
13
- * @en Children button state
14
- * @values 'normal','warning','success','danger'
13
+ * @zh 子按钮默认状态
14
+ * @en Children button status
15
+ * @values 'default','success','warning','strong','danger','info'
15
16
  */
16
17
  status: {
17
18
  type: PropType<ButtonStatus>;
18
19
  };
19
20
  /**
20
- * @zh 按钮的形状
21
- * @en Button shape
21
+ * @zh 子按钮默认形状
22
+ * @en Children button shape
23
+ * @values 'round','circle','square'
22
24
  */
23
25
  shape: {
24
26
  type: PropType<ButtonShape>;
25
27
  };
26
28
  /**
27
- * @zh 按钮的尺寸
29
+ * @zh 子按钮默认尺寸
28
30
  * @en Children button size
29
- * @values 'mini','small','medium','large'
31
+ * @values 'mini','small','medium','large','huge'
30
32
  */
31
33
  size: {
32
34
  type: PropType<ButtonSize>;
@@ -47,31 +49,33 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
47
49
  };
48
50
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
49
51
  /**
50
- * @zh 按钮的类型,分为五种:次要按钮、主要按钮、虚框按钮、线性按钮、文字按钮。
51
- * @en Children button types are divided into five types: secondary, primary, dashed, outline and text.
52
+ * @zh 子按钮默认类型:默认、主要、虚框、线性、文字
53
+ * @en Children button type: default, primary, dashed, outline and text
54
+ * @values 'default','primary','dashed','outline','text'
52
55
  */
53
56
  type: {
54
57
  type: PropType<ButtonTypes>;
55
58
  };
56
59
  /**
57
- * @zh 按钮的状态
58
- * @en Children button state
59
- * @values 'normal','warning','success','danger'
60
+ * @zh 子按钮默认状态
61
+ * @en Children button status
62
+ * @values 'default','success','warning','strong','danger','info'
60
63
  */
61
64
  status: {
62
65
  type: PropType<ButtonStatus>;
63
66
  };
64
67
  /**
65
- * @zh 按钮的形状
66
- * @en Button shape
68
+ * @zh 子按钮默认形状
69
+ * @en Children button shape
70
+ * @values 'round','circle','square'
67
71
  */
68
72
  shape: {
69
73
  type: PropType<ButtonShape>;
70
74
  };
71
75
  /**
72
- * @zh 按钮的尺寸
76
+ * @zh 子按钮默认尺寸
73
77
  * @en Children button size
74
- * @values 'mini','small','medium','large'
78
+ * @values 'mini','small','medium','large','huge'
75
79
  */
76
80
  size: {
77
81
  type: PropType<ButtonSize>;
@@ -161,5 +161,346 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
161
161
  shortcuts: DatePickerShortcut[];
162
162
  showToday: boolean;
163
163
  showConfirmBtn: boolean;
164
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
164
+ }, {}, {
165
+ IconLeft: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
166
+ fillColor: {
167
+ type: ArrayConstructor;
168
+ default: undefined;
169
+ };
170
+ name: {
171
+ type: StringConstructor;
172
+ default: undefined;
173
+ };
174
+ size: {
175
+ type: (StringConstructor | NumberConstructor)[];
176
+ default: undefined;
177
+ };
178
+ rotate: {
179
+ type: NumberConstructor;
180
+ default: undefined;
181
+ };
182
+ spin: {
183
+ type: BooleanConstructor;
184
+ default: boolean;
185
+ };
186
+ color: {
187
+ type: StringConstructor;
188
+ default: undefined;
189
+ };
190
+ title: {
191
+ type: StringConstructor;
192
+ default: undefined;
193
+ };
194
+ ariaLabel: {
195
+ type: StringConstructor;
196
+ default: undefined;
197
+ };
198
+ strokeWidth: {
199
+ type: (StringConstructor | NumberConstructor)[];
200
+ default: undefined;
201
+ };
202
+ }>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
203
+ fillColor: {
204
+ type: ArrayConstructor;
205
+ default: undefined;
206
+ };
207
+ name: {
208
+ type: StringConstructor;
209
+ default: undefined;
210
+ };
211
+ size: {
212
+ type: (StringConstructor | NumberConstructor)[];
213
+ default: undefined;
214
+ };
215
+ rotate: {
216
+ type: NumberConstructor;
217
+ default: undefined;
218
+ };
219
+ spin: {
220
+ type: BooleanConstructor;
221
+ default: boolean;
222
+ };
223
+ color: {
224
+ type: StringConstructor;
225
+ default: undefined;
226
+ };
227
+ title: {
228
+ type: StringConstructor;
229
+ default: undefined;
230
+ };
231
+ ariaLabel: {
232
+ type: StringConstructor;
233
+ default: undefined;
234
+ };
235
+ strokeWidth: {
236
+ type: (StringConstructor | NumberConstructor)[];
237
+ default: undefined;
238
+ };
239
+ }>> & Readonly<{}>, {
240
+ name: string;
241
+ title: string;
242
+ size: string | number;
243
+ rotate: number;
244
+ spin: boolean;
245
+ color: string;
246
+ ariaLabel: string;
247
+ strokeWidth: string | number;
248
+ fillColor: unknown[];
249
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
250
+ IconRight: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
251
+ fillColor: {
252
+ type: ArrayConstructor;
253
+ default: undefined;
254
+ };
255
+ name: {
256
+ type: StringConstructor;
257
+ default: undefined;
258
+ };
259
+ size: {
260
+ type: (StringConstructor | NumberConstructor)[];
261
+ default: undefined;
262
+ };
263
+ rotate: {
264
+ type: NumberConstructor;
265
+ default: undefined;
266
+ };
267
+ spin: {
268
+ type: BooleanConstructor;
269
+ default: boolean;
270
+ };
271
+ color: {
272
+ type: StringConstructor;
273
+ default: undefined;
274
+ };
275
+ title: {
276
+ type: StringConstructor;
277
+ default: undefined;
278
+ };
279
+ ariaLabel: {
280
+ type: StringConstructor;
281
+ default: undefined;
282
+ };
283
+ strokeWidth: {
284
+ type: (StringConstructor | NumberConstructor)[];
285
+ default: undefined;
286
+ };
287
+ }>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
288
+ fillColor: {
289
+ type: ArrayConstructor;
290
+ default: undefined;
291
+ };
292
+ name: {
293
+ type: StringConstructor;
294
+ default: undefined;
295
+ };
296
+ size: {
297
+ type: (StringConstructor | NumberConstructor)[];
298
+ default: undefined;
299
+ };
300
+ rotate: {
301
+ type: NumberConstructor;
302
+ default: undefined;
303
+ };
304
+ spin: {
305
+ type: BooleanConstructor;
306
+ default: boolean;
307
+ };
308
+ color: {
309
+ type: StringConstructor;
310
+ default: undefined;
311
+ };
312
+ title: {
313
+ type: StringConstructor;
314
+ default: undefined;
315
+ };
316
+ ariaLabel: {
317
+ type: StringConstructor;
318
+ default: undefined;
319
+ };
320
+ strokeWidth: {
321
+ type: (StringConstructor | NumberConstructor)[];
322
+ default: undefined;
323
+ };
324
+ }>> & Readonly<{}>, {
325
+ name: string;
326
+ title: string;
327
+ size: string | number;
328
+ rotate: number;
329
+ spin: boolean;
330
+ color: string;
331
+ ariaLabel: string;
332
+ strokeWidth: string | number;
333
+ fillColor: unknown[];
334
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
335
+ IconDoubleLeft: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
336
+ fillColor: {
337
+ type: ArrayConstructor;
338
+ default: undefined;
339
+ };
340
+ name: {
341
+ type: StringConstructor;
342
+ default: undefined;
343
+ };
344
+ size: {
345
+ type: (StringConstructor | NumberConstructor)[];
346
+ default: undefined;
347
+ };
348
+ rotate: {
349
+ type: NumberConstructor;
350
+ default: undefined;
351
+ };
352
+ spin: {
353
+ type: BooleanConstructor;
354
+ default: boolean;
355
+ };
356
+ color: {
357
+ type: StringConstructor;
358
+ default: undefined;
359
+ };
360
+ title: {
361
+ type: StringConstructor;
362
+ default: undefined;
363
+ };
364
+ ariaLabel: {
365
+ type: StringConstructor;
366
+ default: undefined;
367
+ };
368
+ strokeWidth: {
369
+ type: (StringConstructor | NumberConstructor)[];
370
+ default: undefined;
371
+ };
372
+ }>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
373
+ fillColor: {
374
+ type: ArrayConstructor;
375
+ default: undefined;
376
+ };
377
+ name: {
378
+ type: StringConstructor;
379
+ default: undefined;
380
+ };
381
+ size: {
382
+ type: (StringConstructor | NumberConstructor)[];
383
+ default: undefined;
384
+ };
385
+ rotate: {
386
+ type: NumberConstructor;
387
+ default: undefined;
388
+ };
389
+ spin: {
390
+ type: BooleanConstructor;
391
+ default: boolean;
392
+ };
393
+ color: {
394
+ type: StringConstructor;
395
+ default: undefined;
396
+ };
397
+ title: {
398
+ type: StringConstructor;
399
+ default: undefined;
400
+ };
401
+ ariaLabel: {
402
+ type: StringConstructor;
403
+ default: undefined;
404
+ };
405
+ strokeWidth: {
406
+ type: (StringConstructor | NumberConstructor)[];
407
+ default: undefined;
408
+ };
409
+ }>> & Readonly<{}>, {
410
+ name: string;
411
+ title: string;
412
+ size: string | number;
413
+ rotate: number;
414
+ spin: boolean;
415
+ color: string;
416
+ ariaLabel: string;
417
+ strokeWidth: string | number;
418
+ fillColor: unknown[];
419
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
420
+ IconDoubleRight: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
421
+ fillColor: {
422
+ type: ArrayConstructor;
423
+ default: undefined;
424
+ };
425
+ name: {
426
+ type: StringConstructor;
427
+ default: undefined;
428
+ };
429
+ size: {
430
+ type: (StringConstructor | NumberConstructor)[];
431
+ default: undefined;
432
+ };
433
+ rotate: {
434
+ type: NumberConstructor;
435
+ default: undefined;
436
+ };
437
+ spin: {
438
+ type: BooleanConstructor;
439
+ default: boolean;
440
+ };
441
+ color: {
442
+ type: StringConstructor;
443
+ default: undefined;
444
+ };
445
+ title: {
446
+ type: StringConstructor;
447
+ default: undefined;
448
+ };
449
+ ariaLabel: {
450
+ type: StringConstructor;
451
+ default: undefined;
452
+ };
453
+ strokeWidth: {
454
+ type: (StringConstructor | NumberConstructor)[];
455
+ default: undefined;
456
+ };
457
+ }>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
458
+ fillColor: {
459
+ type: ArrayConstructor;
460
+ default: undefined;
461
+ };
462
+ name: {
463
+ type: StringConstructor;
464
+ default: undefined;
465
+ };
466
+ size: {
467
+ type: (StringConstructor | NumberConstructor)[];
468
+ default: undefined;
469
+ };
470
+ rotate: {
471
+ type: NumberConstructor;
472
+ default: undefined;
473
+ };
474
+ spin: {
475
+ type: BooleanConstructor;
476
+ default: boolean;
477
+ };
478
+ color: {
479
+ type: StringConstructor;
480
+ default: undefined;
481
+ };
482
+ title: {
483
+ type: StringConstructor;
484
+ default: undefined;
485
+ };
486
+ ariaLabel: {
487
+ type: StringConstructor;
488
+ default: undefined;
489
+ };
490
+ strokeWidth: {
491
+ type: (StringConstructor | NumberConstructor)[];
492
+ default: undefined;
493
+ };
494
+ }>> & Readonly<{}>, {
495
+ name: string;
496
+ title: string;
497
+ size: string | number;
498
+ rotate: number;
499
+ spin: boolean;
500
+ color: string;
501
+ ariaLabel: string;
502
+ strokeWidth: string | number;
503
+ fillColor: unknown[];
504
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
505
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
165
506
  export default _default;