@aifuxi/semi-ui-vue 1.0.0-next.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +88 -0
- package/dist/SBOM.spdx.json +6 -6
- package/dist/_shared/0162ffa4caa5.js +9 -8
- package/dist/_shared/019cf0caa7ef.js +7 -1
- package/dist/_shared/05120ee10857.js +1 -1
- package/dist/_shared/08a53c0de7b0.js +10 -9
- package/dist/_shared/13bf6311746b.js +16 -15
- package/dist/_shared/15c99d88a59d.js +16 -15
- package/dist/_shared/16498abf4835.js +5 -4
- package/dist/_shared/1697a9619a90.js +5 -4
- package/dist/_shared/25d2fc6cf554.js +14 -13
- package/dist/_shared/27123d72be0f.js +6 -5
- package/dist/_shared/281db5dbaa63.js +10 -9
- package/dist/_shared/29fbeb675a69.js +6 -5
- package/dist/_shared/2bd50b5d74c9.js +4 -3
- package/dist/_shared/32f6ac3256b0.js +2 -1
- package/dist/_shared/333673f768be.js +1 -0
- package/dist/_shared/35cb764c3a17.js +4 -3
- package/dist/_shared/37ae2a4c0237.js +1 -1
- package/dist/_shared/3bed2ae23704.js +1 -1
- package/dist/_shared/3c3e07c83374.js +2 -1
- package/dist/_shared/44f3a786fac6.js +4 -0
- package/dist/_shared/4a78c9dcefa1.js +9 -8
- package/dist/_shared/4af597ece6bf.js +5 -3
- package/dist/_shared/4f947162110c.js +2 -1
- package/dist/_shared/5b36e8cc7ec1.js +6 -5
- package/dist/_shared/610f55721b87.js +4 -3
- package/dist/_shared/658ed91e7987.js +6 -5
- package/dist/_shared/6cd8667173a3.js +35 -34
- package/dist/_shared/6f8c5adc6cb7.js +6 -6
- package/dist/_shared/737f126bc8a7.js +14 -13
- package/dist/_shared/74c045cd0b3a.js +7 -6
- package/dist/_shared/754084ff0c45.js +7 -6
- package/dist/_shared/840ea8d8a0bf.js +3 -2
- package/dist/_shared/880395026069.js +5 -4
- package/dist/_shared/8aa0280b5e6a.js +10 -3
- package/dist/_shared/8cf2fda53b00.js +7 -6
- package/dist/_shared/8e22993f671a.js +2 -1
- package/dist/_shared/8f32e2908097.js +7 -6
- package/dist/_shared/971e09ddfd4b.js +1 -1
- package/dist/_shared/973cbe480e84.js +4 -3
- package/dist/_shared/9877625e2ef3.js +16 -15
- package/dist/_shared/9a3c5590b0d5.js +1 -1
- package/dist/_shared/9fef929dcfab.js +2 -2
- package/dist/_shared/a006b9219c97.js +3 -2
- package/dist/_shared/a0fe2ec32325.js +2 -1
- package/dist/_shared/a506f09b996b.js +2 -1
- package/dist/_shared/a777f4d00db6.js +7 -6
- package/dist/_shared/a797ea1c7f94.js +4 -3
- package/dist/_shared/aa057d4bb9a6.js +3 -2
- package/dist/_shared/af12a8968394.js +2 -1
- package/dist/_shared/b48b583c3eb5.js +55 -34
- package/dist/_shared/b7074e47ccc9.js +4 -3
- package/dist/_shared/b843d2864038.js +14 -2
- package/dist/_shared/bee1afbee802.js +1 -1
- package/dist/_shared/c11eef486688.js +1 -1
- package/dist/_shared/c125f95727ac.js +2 -1
- package/dist/_shared/c203d5d6e241.js +13 -12
- package/dist/_shared/c8b9c7f045a4.js +3 -3
- package/dist/_shared/caa52d5be19e.js +18 -17
- package/dist/_shared/cdc963921461.js +1 -1
- package/dist/_shared/ceee7b2bb70b.js +4 -3
- package/dist/_shared/d1d519ac0bb3.js +2 -1
- package/dist/_shared/d3b983994306.js +4 -3
- package/dist/_shared/d6d8bdd94ec9.js +15 -14
- package/dist/_shared/d9594df1ef60.js +1 -1
- package/dist/_shared/db9045f2ed8c.js +42 -33
- package/dist/_shared/e54a4b03d2ba.js +4 -3
- package/dist/_shared/e6d3e8f299d5.js +14 -13
- package/dist/_shared/ea37add7be39.js +2 -1
- package/dist/_shared/ee2fa8b72a94.js +7 -6
- package/dist/_shared/efdb070a5161.js +3 -1
- package/dist/_shared/f1edb14da77a.js +9 -8
- package/dist/_shared/f2f88cc6f7cd.js +7 -6
- package/dist/_shared/f3939b8b41c5.js +2 -8
- package/dist/_shared/f400ba35aadd.js +4 -3
- package/dist/_shared/f6b637a9cf2e.js +3 -3
- package/dist/_shared/fa639d6cca69.js +15 -14
- package/dist/_shared/fa6772f8f0cf.js +11 -10
- package/dist/_utils/index.d.ts +10 -1
- package/dist/_utils/index.js +1 -1
- package/dist/ai-chat-dialogue/index.d.ts +3 -17
- package/dist/ai-chat-dialogue/types.d.ts +52 -2
- package/dist/anchor/Anchor.vue.d.ts +2 -2
- package/dist/button/Button.vue.d.ts +1 -1
- package/dist/icon-button/IconButton.d.ts +1 -1
- package/dist/upload/Upload.vue.d.ts +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,93 @@
|
|
|
1
1
|
# @aifuxi/semi-ui-vue
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`2364e0e`](https://github.com/aifuxi/semi-ui-vue/commit/2364e0edc54af8542d115b1bda12f4c4700ba7d3) Thanks [@aifuxi](https://github.com/aifuxi)! - 进入 1.0 预发布验证阶段:提供固定 Semi 2.102.0 基线的 Vue 组件、主题、图标与插画,以及近期修复的 Markdown 跨 chunk 绑定和文档 REPL 循环依赖加载。五个公开包统一使用 next 渠道;从旧 alpha 升级时应一起更新五包并按组件文档核对 Vue props、emits、slots 与 v-model。此候选不代表稳定版产品验收完成。
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#14](https://github.com/aifuxi/semi-ui-vue/pull/14) [`ed52848`](https://github.com/aifuxi/semi-ui-vue/commit/ed52848720919481083c9a180b3905c5137b3f51) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 Select 声明式选项和 Pagination 小尺寸模式的 SSR hydration 差异
|
|
12
|
+
|
|
13
|
+
- [#14](https://github.com/aifuxi/semi-ui-vue/pull/14) [`aed4289`](https://github.com/aifuxi/semi-ui-vue/commit/aed4289a884c05a936d877eada568889995ef398) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 Calendar、Cascader、Modal、Radio、Select 与 Tooltip 在 SSR hydration 时的首屏差异。
|
|
14
|
+
|
|
15
|
+
- [#14](https://github.com/aifuxi/semi-ui-vue/pull/14) [`b7d048e`](https://github.com/aifuxi/semi-ui-vue/commit/b7d048ebb24f58bf159dee37f4f036880783dc86) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 InputNumber 未向内部 Input 转发部分继承输入属性的问题
|
|
16
|
+
|
|
17
|
+
- [#14](https://github.com/aifuxi/semi-ui-vue/pull/14) [`88aec57`](https://github.com/aifuxi/semi-ui-vue/commit/88aec5700d7c8fdb5217c40627d22096d12e47be) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 Rating 根节点未透传 aria-errormessage、aria-invalid 和 aria-required 的问题
|
|
18
|
+
|
|
19
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`97ac1b6`](https://github.com/aifuxi/semi-ui-vue/commit/97ac1b60829027141779e39ddd78189973cdee47) Thanks [@aifuxi](https://github.com/aifuxi)! - Expose the pinned `getConfigureItem` factory so custom controls can join `AIChatInput.Configure`.
|
|
20
|
+
|
|
21
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`4828654`](https://github.com/aifuxi/semi-ui-vue/commit/482865404c53e633d746faa9a5123556906fe7cd) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 Avatar 共享 slot 配置时的节点复用:`topSlot.text`/`bottomSlot.text`/`hoverMask` 传入的 VNode 在渲染前克隆,使同一份配置对象在每个头像实例上都继续渲染,不再静默丢失内容;同步记录 Avatar 双语文档严格验收。
|
|
22
|
+
|
|
23
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`a789395`](https://github.com/aifuxi/semi-ui-vue/commit/a789395154f01c061ef0f56dcf6cb8b43df6b5cc) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 Calendar 月视图与固定 Adapter 的 DOM 差异:普通 gridcell 始终输出 `aria-current`(当天 `date`、其余 `false`),折叠单元格的 Popover 触发器 `<li>` 不再重复附加 `role="gridcell"`、`aria-label` 与 `aria-current`;同步完成 Calendar 双语文档严格验收。
|
|
24
|
+
|
|
25
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`2280b6a`](https://github.com/aifuxi/semi-ui-vue/commit/2280b6abf91eb716b7986fa6d54a466d5d154152) Thanks [@aifuxi](https://github.com/aifuxi)! - Add the default export for the `code-highlight` public entry.
|
|
26
|
+
|
|
27
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`a7f2192`](https://github.com/aifuxi/semi-ui-vue/commit/a7f21925f63a59a5a2f3425bda1284a3fed903b3) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 CollapsePanel 的 `aria-owns` 渲染传播:面板 id 在挂载后赋值且不触发渲染,固定 Adapter 会在展开集变化时重渲染全部面板,Vue 此前只有自身重渲染过的面板才输出 id;现按同一时机传播,默认态仍保持空值。同步完成 Collapse 双语文档严格验收。
|
|
28
|
+
|
|
29
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`71ad9a1`](https://github.com/aifuxi/semi-ui-vue/commit/71ad9a1c53e769d5efb90109af435a0118a9e6f6) Thanks [@aifuxi](https://github.com/aifuxi)! - Add the DragMove subpath default export to match the fixed Semi public entry.
|
|
30
|
+
|
|
31
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`306e1c5`](https://github.com/aifuxi/semi-ui-vue/commit/306e1c5a57c27b9e05bdc3a9e338f589fd932677) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 Dropdown 的组件触发器未转发 Tooltip ARIA 关联、Tag 触发器 tabIndex 丢失的问题,保留调用方显式焦点顺序,并按固定基线恢复嵌套 DropdownItem 的属性透传边界。将 Escape 回焦保留在隐藏前,移除关闭通知和动画结束后的额外聚焦,避免抢走用户已转移的焦点或改变重开后的焦点样式。
|
|
32
|
+
|
|
33
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`54f78a2`](https://github.com/aifuxi/semi-ui-vue/commit/54f78a2d82b550ff3dd867f74d528f176afd11b8) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 SideSheet 进入动画结束后残留的状态 class,分别清理遮罩与内容动画状态,退出时等待真实动画结束,避免定时器提前卸载;补充 Feedback 双语文档严格验收。
|
|
34
|
+
|
|
35
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`8500f8c`](https://github.com/aifuxi/semi-ui-vue/commit/8500f8c4409fcd039f3bdadfb16b5cc9b048fac1) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 Image 预览页码的文本节点渲染,使底栏宽度与固定 Semi 基线一致。
|
|
36
|
+
为 ImagePreview 分组恢复稳定的实例 ID。
|
|
37
|
+
|
|
38
|
+
修复 Modal 自定义渲染边界,使 modalRender 仅包装对话框内容,并正确保留外层布局与拖拽行为。
|
|
39
|
+
恢复静态 Modal 自定义 Semi 图标的尺寸和状态样式。
|
|
40
|
+
|
|
41
|
+
修复 Tooltip/Popover 初始焦点引用,优先调用组件公开的 focus 方法。
|
|
42
|
+
|
|
43
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`a2fa89e`](https://github.com/aifuxi/semi-ui-vue/commit/a2fa89ea75e034f87248221ace7e8b6b1230396c) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 Modal 数字 `width` 与 `height` 没有显式转换为 CSS `px` 的问题;字符串尺寸继续原样保留。
|
|
44
|
+
|
|
45
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`a0fd13b`](https://github.com/aifuxi/semi-ui-vue/commit/a0fd13bfc367c8b6d883a8450275d69fdb40d7fe) Thanks [@aifuxi](https://github.com/aifuxi)! - 对齐 Notification 固定基线:任意合法 type 都保留 `semi-notification-notice-icon-show` class,自定义 Semi 图标按显式尺寸或 `large` 克隆;完成八项双语文档示例的严格视觉与行为验收。
|
|
46
|
+
|
|
47
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`82b6ce7`](https://github.com/aifuxi/semi-ui-vue/commit/82b6ce72d4298aa7fbef2aee5663ce2e39e8ba9e) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 OverflowList 隐藏项计数不更新:折叠模式的 `+N` 与滚动模式两端的边缘计数此前停留在首次渲染值(折叠模式的 overflow 渲染器在 computed 中调用,VNode 创建在渲染之外;滚动模式的槽位被 Vue 的 stable 槽更新跳过)。现改为在渲染期调用 overflow 渲染器,并在隐藏项变化时以隐藏项键重建折叠包装节点与滚动边缘片段;同步完成 OverflowList 双语文档严格验收。
|
|
48
|
+
|
|
49
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`25e41b1`](https://github.com/aifuxi/semi-ui-vue/commit/25e41b1c4b525c8d165a7a635c5805f3609948da) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 TagGroup 折叠计数的内容布局和 ARIA、浮层关闭后再次打开内容为空,以及 Popover 箭头额外的 aria-hidden 属性,使其与固定 Semi 基线一致;修复 Tooltip 在 rePosKey 与触发器位置同时更新时读取旧 DOM、导致滑块提示偏移的问题;并行推进 ScrollList、Tag、Timeline 双语文档严格验收,补齐批次矩阵、参考适配与章节/API/迁移审阅。
|
|
50
|
+
|
|
51
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`eb5c0b6`](https://github.com/aifuxi/semi-ui-vue/commit/eb5c0b6861b10f8680c98f3ddcb96e1fa008b02f) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 `RadioGroup` 丢弃 slot 顶层 `v-for` 生成的 `Fragment`:模板内直接 `v-for` 的 `Radio` 现在全部渲染并保持组选中语义(此前整段列表被过滤掉)。同时完成 Popconfirm 四项示例的双语、明暗与适用 RTL 严格验收。
|
|
52
|
+
|
|
53
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`067a196`](https://github.com/aifuxi/semi-ui-vue/commit/067a1961c0f50765581585b8615e5340f912cfc4) Thanks [@aifuxi](https://github.com/aifuxi)! - Export TagInput size and validate-status constants from the public entry.
|
|
54
|
+
|
|
55
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`32ff62b`](https://github.com/aifuxi/semi-ui-vue/commit/32ff62b9eb59f660fc3f996b61322106c706e468) Thanks [@aifuxi](https://github.com/aifuxi)! - Export Resizable direction constants and public helper types from the resizable entry.
|
|
56
|
+
|
|
57
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`36c5e86`](https://github.com/aifuxi/semi-ui-vue/commit/36c5e86f635745f6f7eaeefd949bb8ef95108287) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 SideSheet 初始省略 `mask` 后动态显式设置 `mask=false` 时仍保留遮罩的问题。
|
|
58
|
+
|
|
59
|
+
- [#7](https://github.com/aifuxi/semi-ui-vue/pull/7) [`e3a4995`](https://github.com/aifuxi/semi-ui-vue/commit/e3a49950a74b8e62d9ff0fa7fde691cfd4dc96bb) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复父级重渲染后插件插槽内容不刷新的问题:读取插槽的派生值改为每次渲染重新求值,覆盖 Tag、Typography、Table 等全部读取插槽的组件;同时修复 Table 同 `dataIndex` 多列的表头标题互相覆盖,并补充 Switch、Space、Grid 与固定基线一致的已知限制文档。
|
|
60
|
+
|
|
61
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`2a76510`](https://github.com/aifuxi/semi-ui-vue/commit/2a765109eb57a107d5c58a6b36605231046cbb77) Thanks [@aifuxi](https://github.com/aifuxi)! - Align Table virtual scrolling, measurement caches and end-of-list navigation, declarative and grouped headers, optional cell render props, dynamic fixed-column layout and expanded content, and complete sorting/filtering callback queries with the pinned Semi baseline. Reset internal Table state when entering or leaving resizable mode. Prevent duplicate pagination and expansion callbacks, preserve Switch state when controlled checked is removed, and correct the bilingual Table documentation examples.
|
|
62
|
+
|
|
63
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`503f6e8`](https://github.com/aifuxi/semi-ui-vue/commit/503f6e81ac981958b4f35acbd1649f856a57cbcd) Thanks [@aifuxi](https://github.com/aifuxi)! - Apply the pinned ColumnProps of object `expandedRowRender` results to the expanded row cell and evaluate them once per rendered expanded row.
|
|
64
|
+
|
|
65
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`df6cc51`](https://github.com/aifuxi/semi-ui-vue/commit/df6cc512c900029c5854d8b10c18631bea9655a7) Thanks [@aifuxi](https://github.com/aifuxi)! - Add the pinned `Tabs.TabPane` and `Tabs.TabItem` compound statics to the public entry.
|
|
66
|
+
|
|
67
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`f6096e6`](https://github.com/aifuxi/semi-ui-vue/commit/f6096e62fd4dc674547640e4d78150532a4d8d81) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 Table 受控分页重复切片、受控排序通知、行列无障碍属性与 RTL 固定列,并向自定义 sorter 传递排序方向;补齐 Checkbox 独立名称透传、Table 选择状态名称与 Pagination 非当前页状态。修复 SideSheet 数字宽高及多实例容器切换时的 Portal 锚点错误,补充对应文档严格对照。
|
|
68
|
+
|
|
69
|
+
补齐 Select 多选标签的默认方形样式与最大宽度,支持文档示例通过方向参数预览真实 RTL 上下文。
|
|
70
|
+
|
|
71
|
+
修复 Input 与 Checkbox 缺省无障碍属性的输出,以及 Descriptions 复用 VNode 数据时展开行关闭重开后内容丢失的问题。
|
|
72
|
+
|
|
73
|
+
修复 Dropdown 在弹层定位前提前触发可见性通知、导致回调聚焦使页面意外滚动的问题;保留受控可见状态的即时回写。
|
|
74
|
+
|
|
75
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`84bcff5`](https://github.com/aifuxi/semi-ui-vue/commit/84bcff501a97c0718502cf7084e0a54634889347) Thanks [@aifuxi](https://github.com/aifuxi)! - 对齐 Toast 固定基线:`useToast` holder 改为就地渲染裸 Toast(不再包 `.semi-toast-innerWrapper`)、空 holder 不渲染节点且列表位移为 0;完成九项双语示例(含英文独有 Stacking)的严格视觉与行为验收。
|
|
76
|
+
|
|
77
|
+
- [#2](https://github.com/aifuxi/semi-ui-vue/pull/2) [`d0bee77`](https://github.com/aifuxi/semi-ui-vue/commit/d0bee772c354865bb231065cafc27428e2e4584c) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复 Table 的分组分页顺序与分组行结构、树叶缩进和展开图标响应式更新,以及列宽回调结果、拖动样式与容器尺寸监听,使固定文档示例符合公开契约。
|
|
78
|
+
- Updated dependencies []:
|
|
79
|
+
- @aifuxi/semi-icons-vue@1.0.0
|
|
80
|
+
- @aifuxi/semi-illustrations-vue@1.0.0
|
|
81
|
+
|
|
82
|
+
## 1.0.0-next.1
|
|
83
|
+
|
|
84
|
+
### Patch Changes
|
|
85
|
+
|
|
86
|
+
- [#7](https://github.com/aifuxi/semi-ui-vue/pull/7) [`e3a4995`](https://github.com/aifuxi/semi-ui-vue/commit/e3a49950a74b8e62d9ff0fa7fde691cfd4dc96bb) Thanks [@aifuxi](https://github.com/aifuxi)! - 修复父级重渲染后插件插槽内容不刷新的问题:读取插槽的派生值改为每次渲染重新求值,覆盖 Tag、Typography、Table 等全部读取插槽的组件;同时修复 Table 同 `dataIndex` 多列的表头标题互相覆盖,并补充 Switch、Space、Grid 与固定基线一致的已知限制文档。
|
|
87
|
+
- Updated dependencies []:
|
|
88
|
+
- @aifuxi/semi-icons-vue@1.0.0-next.1
|
|
89
|
+
- @aifuxi/semi-illustrations-vue@1.0.0-next.1
|
|
90
|
+
|
|
3
91
|
## 1.0.0-next.0
|
|
4
92
|
|
|
5
93
|
### Major Changes
|
package/dist/SBOM.spdx.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"spdxVersion": "SPDX-2.3",
|
|
3
3
|
"dataLicense": "CC0-1.0",
|
|
4
4
|
"SPDXID": "SPDXRef-DOCUMENT",
|
|
5
|
-
"name": "@aifuxi/semi-ui-vue-1.0.0
|
|
6
|
-
"documentNamespace": "https://github.com/aifuxi/semi-ui-vue/spdx/%40aifuxi%2Fsemi-ui-vue/1.0.0
|
|
5
|
+
"name": "@aifuxi/semi-ui-vue-1.0.0",
|
|
6
|
+
"documentNamespace": "https://github.com/aifuxi/semi-ui-vue/spdx/%40aifuxi%2Fsemi-ui-vue/1.0.0/cdfba6e520fc83ad871b30f51f36d8af3aaa5a21/80c3a813551a3f3c",
|
|
7
7
|
"documentDescribes": [
|
|
8
8
|
"SPDXRef-Package-Workspace"
|
|
9
9
|
],
|
|
10
10
|
"creationInfo": {
|
|
11
|
-
"created": "2026-09-
|
|
11
|
+
"created": "2026-09-22T03:05:28.524Z",
|
|
12
12
|
"creators": [
|
|
13
13
|
"Tool: semi-ui-vue-workspace"
|
|
14
14
|
]
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
{
|
|
18
18
|
"SPDXID": "SPDXRef-Package-Workspace",
|
|
19
19
|
"name": "@aifuxi/semi-ui-vue",
|
|
20
|
-
"versionInfo": "1.0.0
|
|
20
|
+
"versionInfo": "1.0.0",
|
|
21
21
|
"supplier": "Person: aifuxi",
|
|
22
22
|
"downloadLocation": "https://github.com/aifuxi/semi-ui-vue",
|
|
23
23
|
"filesAnalyzed": false,
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
{
|
|
46
46
|
"SPDXID": "SPDXRef-Package--aifuxi-semi-icons-vue",
|
|
47
47
|
"name": "@aifuxi/semi-icons-vue",
|
|
48
|
-
"versionInfo": "1.0.0
|
|
48
|
+
"versionInfo": "1.0.0",
|
|
49
49
|
"downloadLocation": "NOASSERTION",
|
|
50
50
|
"filesAnalyzed": false,
|
|
51
51
|
"licenseConcluded": "NOASSERTION",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
{
|
|
55
55
|
"SPDXID": "SPDXRef-Package--aifuxi-semi-illustrations-vue",
|
|
56
56
|
"name": "@aifuxi/semi-illustrations-vue",
|
|
57
|
-
"versionInfo": "1.0.0
|
|
57
|
+
"versionInfo": "1.0.0",
|
|
58
58
|
"downloadLocation": "NOASSERTION",
|
|
59
59
|
"filesAnalyzed": false,
|
|
60
60
|
"licenseConcluded": "NOASSERTION",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createCommentVNode, useSlots, shallowRef, unref, onBeforeUnmount, onMounted, mergeProps, useAttrs, Comment, createElementBlock, createElementVNode, createBlock, createVNode, openBlock, Text, normalizeStyle, withCtx, computed, defineComponent } from "./67c08e654af4.js";
|
|
2
|
+
import { useRenderComputed } from "./b843d2864038.js";
|
|
2
3
|
import { EmptyNodeRenderer } from "./90916f5ca493.js";
|
|
3
4
|
import { Title } from "./9974658522b2.js";
|
|
4
5
|
const _hoisted_1 = [
|
|
@@ -129,16 +130,16 @@ const Emptyvue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineComponent({
|
|
|
129
130
|
function isSvgNode(content) {
|
|
130
131
|
return 'object' == typeof content && null !== content && !Array.isArray(content) && 'id' in content;
|
|
131
132
|
}
|
|
132
|
-
const lightImage =
|
|
133
|
-
const darkImage =
|
|
133
|
+
const lightImage = useRenderComputed(()=>slots.image?.() ?? props.image);
|
|
134
|
+
const darkImage = useRenderComputed(()=>slots.darkModeImage?.() ?? props.darkModeImage);
|
|
134
135
|
const selectedImage = computed(()=>'dark' === themeMode.value && hasTruthyContent(darkImage.value) ? darkImage.value : lightImage.value);
|
|
135
136
|
const isStringImage = computed(()=>'string' == typeof selectedImage.value);
|
|
136
137
|
const svgImage = computed(()=>isSvgNode(selectedImage.value) ? selectedImage.value : void 0);
|
|
137
138
|
const customImage = computed(()=>isStringImage.value || svgImage.value ? void 0 : selectedImage.value);
|
|
138
139
|
const hasImageNode = computed(()=>isStringImage.value || Boolean(svgImage.value) || hasTruthyContent(customImage.value));
|
|
139
|
-
const titleContent =
|
|
140
|
-
const descriptionContent =
|
|
141
|
-
const footerContent =
|
|
140
|
+
const titleContent = useRenderComputed(()=>slots.title?.() ?? props.title);
|
|
141
|
+
const descriptionContent = useRenderComputed(()=>slots.description?.() ?? props.description);
|
|
142
|
+
const footerContent = useRenderComputed(()=>slots.default?.());
|
|
142
143
|
const hasTitle = computed(()=>hasTruthyContent(titleContent.value));
|
|
143
144
|
const hasDescription = computed(()=>hasTruthyContent(descriptionContent.value));
|
|
144
145
|
const hasFooter = computed(()=>hasTruthyContent(footerContent.value));
|
|
@@ -209,7 +210,7 @@ const Emptyvue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineComponent({
|
|
|
209
210
|
}, {
|
|
210
211
|
default: withCtx(()=>[
|
|
211
212
|
createVNode(unref(EmptyNodeRenderer), {
|
|
212
|
-
content: titleContent
|
|
213
|
+
content: unref(titleContent)
|
|
213
214
|
}, null, 8, [
|
|
214
215
|
"content"
|
|
215
216
|
])
|
|
@@ -221,14 +222,14 @@ const Emptyvue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineComponent({
|
|
|
221
222
|
])) : createCommentVNode("", true),
|
|
222
223
|
hasDescription.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
223
224
|
createVNode(unref(EmptyNodeRenderer), {
|
|
224
|
-
content: descriptionContent
|
|
225
|
+
content: unref(descriptionContent)
|
|
225
226
|
}, null, 8, [
|
|
226
227
|
"content"
|
|
227
228
|
])
|
|
228
229
|
])) : createCommentVNode("", true),
|
|
229
230
|
hasFooter.value ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
230
231
|
createVNode(unref(EmptyNodeRenderer), {
|
|
231
|
-
content: footerContent
|
|
232
|
+
content: unref(footerContent)
|
|
232
233
|
}, null, 8, [
|
|
233
234
|
"content"
|
|
234
235
|
])
|
|
@@ -75,6 +75,12 @@ const TooltipTriggerRenderer = defineComponent({
|
|
|
75
75
|
'aria-describedby': props.popupId
|
|
76
76
|
};
|
|
77
77
|
const explicitTabindex = originalProps.tabindex ?? originalProps.tabIndex;
|
|
78
|
+
const tabindex = explicitTabindex ?? 0;
|
|
79
|
+
const tabindexProp = Object.hasOwn(originalProps, 'tabindex') ? {
|
|
80
|
+
tabindex
|
|
81
|
+
} : {
|
|
82
|
+
tabIndex: tabindex
|
|
83
|
+
};
|
|
78
84
|
return cloneVNode(node, {
|
|
79
85
|
...aria,
|
|
80
86
|
...props.eventSet,
|
|
@@ -84,7 +90,7 @@ const TooltipTriggerRenderer = defineComponent({
|
|
|
84
90
|
originalProps.style,
|
|
85
91
|
extraStyle
|
|
86
92
|
],
|
|
87
|
-
|
|
93
|
+
...tabindexProp
|
|
88
94
|
}, true);
|
|
89
95
|
};
|
|
90
96
|
return ()=>{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, unref, useSlots, useTemplateRef } from "vue";
|
|
@@ -3,6 +3,7 @@ import "./a7e0eab4d4b0.js";
|
|
|
3
3
|
import { configContextKey } from "./650465d64194.js";
|
|
4
4
|
import { semiGlobal as semi_global } from "./7d608cdc8674.js";
|
|
5
5
|
import { DEFAULT_CONFIG_LOCALE } from "./0d4f4a0ec690.js";
|
|
6
|
+
import { useRenderComputed } from "./b843d2864038.js";
|
|
6
7
|
import { Popover } from "./279ed7065cab.js";
|
|
7
8
|
import { UserGuidePopupContent } from "./345c88fd0b3f.js";
|
|
8
9
|
import { Modal } from "./2fc430a455d0.js";
|
|
@@ -165,9 +166,9 @@ const UserGuidevue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineComponen
|
|
|
165
166
|
index: current.value,
|
|
166
167
|
step: activeStep.value
|
|
167
168
|
} : void 0);
|
|
168
|
-
const coverContent =
|
|
169
|
-
const titleContent =
|
|
170
|
-
const descriptionContent =
|
|
169
|
+
const coverContent = useRenderComputed(()=>slotProps.value ? slots.cover?.(slotProps.value) ?? activeStep.value?.cover : void 0);
|
|
170
|
+
const titleContent = useRenderComputed(()=>slotProps.value ? slots.title?.(slotProps.value) ?? activeStep.value?.title : void 0);
|
|
171
|
+
const descriptionContent = useRenderComputed(()=>slotProps.value ? slots.description?.(slotProps.value) ?? activeStep.value?.description : void 0);
|
|
171
172
|
const nextText = computed(()=>isLast.value ? props.finishText || locale.value.finish : props.nextButtonProps?.content || locale.value.next);
|
|
172
173
|
const prevText = computed(()=>props.prevButtonProps?.content || locale.value.prev);
|
|
173
174
|
const popupClass = computed(()=>[
|
|
@@ -404,9 +405,9 @@ const UserGuidevue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineComponen
|
|
|
404
405
|
}, {
|
|
405
406
|
content: withCtx(()=>[
|
|
406
407
|
createVNode(UserGuidePopupContent, {
|
|
407
|
-
cover: coverContent
|
|
408
|
+
cover: unref(coverContent),
|
|
408
409
|
current: current.value,
|
|
409
|
-
description: descriptionContent
|
|
410
|
+
description: unref(descriptionContent),
|
|
410
411
|
"is-first": isFirst.value,
|
|
411
412
|
"is-last": isLast.value,
|
|
412
413
|
"is-primary": isPrimary.value,
|
|
@@ -419,7 +420,7 @@ const UserGuidevue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineComponen
|
|
|
419
420
|
"show-skip-button": showSkipButton.value,
|
|
420
421
|
"skip-bindings": popupSkipBindings.value,
|
|
421
422
|
"step-count": runtimeSteps.value.length,
|
|
422
|
-
title: titleContent
|
|
423
|
+
title: unref(titleContent)
|
|
423
424
|
}, null, 8, [
|
|
424
425
|
"cover",
|
|
425
426
|
"current",
|
|
@@ -536,9 +537,9 @@ const UserGuidevue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineComponen
|
|
|
536
537
|
}, {
|
|
537
538
|
default: withCtx(()=>[
|
|
538
539
|
createVNode(UserGuideModalContent, {
|
|
539
|
-
cover: coverContent
|
|
540
|
+
cover: unref(coverContent),
|
|
540
541
|
current: current.value,
|
|
541
|
-
description: descriptionContent
|
|
542
|
+
description: unref(descriptionContent),
|
|
542
543
|
"is-first": isFirst.value,
|
|
543
544
|
"is-last": isLast.value,
|
|
544
545
|
locale: locale.value,
|
|
@@ -550,7 +551,7 @@ const UserGuidevue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineComponen
|
|
|
550
551
|
"show-skip-button": showSkipButton.value,
|
|
551
552
|
"skip-bindings": modalSkipBindings.value,
|
|
552
553
|
"step-count": runtimeSteps.value.length,
|
|
553
|
-
title: titleContent
|
|
554
|
+
title: unref(titleContent)
|
|
554
555
|
}, null, 8, [
|
|
555
556
|
"cover",
|
|
556
557
|
"current",
|
|
@@ -2,6 +2,7 @@ import { createCommentVNode, useSlots, toDisplayString, unref, inject, Fragment,
|
|
|
2
2
|
import { configContextKey } from "./650465d64194.js";
|
|
3
3
|
import { DEFAULT_CONFIG_LOCALE } from "./0d4f4a0ec690.js";
|
|
4
4
|
import { listContextKey } from "./b3d8cd976268.js";
|
|
5
|
+
import { useRenderComputed } from "./b843d2864038.js";
|
|
5
6
|
import { ListNodeRenderer } from "./fed590775654.js";
|
|
6
7
|
import { ListSpin } from "./8dd975020d85.js";
|
|
7
8
|
import { Row } from "./3fa866633be1.js";
|
|
@@ -145,9 +146,9 @@ const Listvue_type_script_setup_true_lang_ts_generic_T_20_3D_20unknown = /*@__PU
|
|
|
145
146
|
if (content.type === Fragment) return hasRenderableContent(content.children);
|
|
146
147
|
return true;
|
|
147
148
|
}
|
|
148
|
-
const defaultContent =
|
|
149
|
+
const defaultContent = useRenderComputed(()=>slots.default?.() ?? []);
|
|
149
150
|
const hasDefaultContent = computed(()=>hasRenderableContent(defaultContent.value));
|
|
150
|
-
const renderedItems =
|
|
151
|
+
const renderedItems = useRenderComputed(()=>{
|
|
151
152
|
if (!props.dataSource?.length) return [];
|
|
152
153
|
return props.dataSource.map((item, index)=>{
|
|
153
154
|
const content = slots.item?.({
|
|
@@ -162,13 +163,13 @@ const Listvue_type_script_setup_true_lang_ts_generic_T_20_3D_20unknown = /*@__PU
|
|
|
162
163
|
});
|
|
163
164
|
});
|
|
164
165
|
const shouldRenderEmpty = computed(()=>!props.dataSource?.length && !hasDefaultContent.value);
|
|
165
|
-
const headerContent =
|
|
166
|
-
const footerContent =
|
|
167
|
-
const loadMoreContent =
|
|
166
|
+
const headerContent = useRenderComputed(()=>slots.header?.() ?? props.header);
|
|
167
|
+
const footerContent = useRenderComputed(()=>slots.footer?.() ?? props.footer);
|
|
168
|
+
const loadMoreContent = useRenderComputed(()=>slots.loadMore?.() ?? props.loadMore);
|
|
168
169
|
const hasHeader = computed(()=>hasRenderableContent(headerContent.value));
|
|
169
170
|
const hasFooter = computed(()=>hasRenderableContent(footerContent.value));
|
|
170
171
|
const hasLoadMore = computed(()=>hasRenderableContent(loadMoreContent.value));
|
|
171
|
-
const customEmptyContent =
|
|
172
|
+
const customEmptyContent = useRenderComputed(()=>slots.emptyContent?.() ?? props.emptyContent);
|
|
172
173
|
const hasCustomEmpty = computed(()=>hasRenderableContent(customEmptyContent.value));
|
|
173
174
|
const emptyText = computed(()=>locale.value.List?.emptyText ?? '暂无数据');
|
|
174
175
|
const rowProps = computed(()=>{
|
|
@@ -213,7 +214,7 @@ const Listvue_type_script_setup_true_lang_ts_generic_T_20_3D_20unknown = /*@__PU
|
|
|
213
214
|
}), [
|
|
214
215
|
hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
215
216
|
createVNode(unref(ListNodeRenderer), {
|
|
216
|
-
content: headerContent
|
|
217
|
+
content: unref(headerContent)
|
|
217
218
|
}, null, 8, [
|
|
218
219
|
"content"
|
|
219
220
|
])
|
|
@@ -226,7 +227,7 @@ const Listvue_type_script_setup_true_lang_ts_generic_T_20_3D_20unknown = /*@__PU
|
|
|
226
227
|
key: 0
|
|
227
228
|
}, rowProps.value)), {
|
|
228
229
|
default: withCtx(()=>[
|
|
229
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(renderedItems
|
|
230
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(renderedItems), (item)=>(openBlock(), createBlock(unref(ListNodeRenderer), {
|
|
230
231
|
key: item.key,
|
|
231
232
|
content: item.content
|
|
232
233
|
}, null, 8, [
|
|
@@ -239,7 +240,7 @@ const Listvue_type_script_setup_true_lang_ts_generic_T_20_3D_20unknown = /*@__PU
|
|
|
239
240
|
}, [
|
|
240
241
|
hasCustomEmpty.value ? (openBlock(), createBlock(unref(ListNodeRenderer), {
|
|
241
242
|
key: 0,
|
|
242
|
-
content: customEmptyContent
|
|
243
|
+
content: unref(customEmptyContent)
|
|
243
244
|
}, null, 8, [
|
|
244
245
|
"content"
|
|
245
246
|
])) : (openBlock(), createElementBlock(Fragment, {
|
|
@@ -249,14 +250,14 @@ const Listvue_type_script_setup_true_lang_ts_generic_T_20_3D_20unknown = /*@__PU
|
|
|
249
250
|
], 64))
|
|
250
251
|
], 8, _hoisted_2)) : createCommentVNode("", true),
|
|
251
252
|
createVNode(unref(ListNodeRenderer), {
|
|
252
|
-
content: defaultContent
|
|
253
|
+
content: unref(defaultContent)
|
|
253
254
|
}, null, 8, [
|
|
254
255
|
"content"
|
|
255
256
|
])
|
|
256
257
|
]),
|
|
257
258
|
_: 1
|
|
258
259
|
}, 16)) : (openBlock(), createElementBlock("ul", _hoisted_3, [
|
|
259
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(renderedItems
|
|
260
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(renderedItems), (item)=>(openBlock(), createBlock(unref(ListNodeRenderer), {
|
|
260
261
|
key: item.key,
|
|
261
262
|
content: item.content
|
|
262
263
|
}, null, 8, [
|
|
@@ -269,7 +270,7 @@ const Listvue_type_script_setup_true_lang_ts_generic_T_20_3D_20unknown = /*@__PU
|
|
|
269
270
|
}, [
|
|
270
271
|
hasCustomEmpty.value ? (openBlock(), createBlock(unref(ListNodeRenderer), {
|
|
271
272
|
key: 0,
|
|
272
|
-
content: customEmptyContent
|
|
273
|
+
content: unref(customEmptyContent)
|
|
273
274
|
}, null, 8, [
|
|
274
275
|
"content"
|
|
275
276
|
])) : (openBlock(), createElementBlock(Fragment, {
|
|
@@ -279,7 +280,7 @@ const Listvue_type_script_setup_true_lang_ts_generic_T_20_3D_20unknown = /*@__PU
|
|
|
279
280
|
], 64))
|
|
280
281
|
], 8, _hoisted_4)) : createCommentVNode("", true),
|
|
281
282
|
createVNode(unref(ListNodeRenderer), {
|
|
282
|
-
content: defaultContent
|
|
283
|
+
content: unref(defaultContent)
|
|
283
284
|
}, null, 8, [
|
|
284
285
|
"content"
|
|
285
286
|
])
|
|
@@ -291,14 +292,14 @@ const Listvue_type_script_setup_true_lang_ts_generic_T_20_3D_20unknown = /*@__PU
|
|
|
291
292
|
]),
|
|
292
293
|
hasFooter.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
293
294
|
createVNode(unref(ListNodeRenderer), {
|
|
294
|
-
content: footerContent
|
|
295
|
+
content: unref(footerContent)
|
|
295
296
|
}, null, 8, [
|
|
296
297
|
"content"
|
|
297
298
|
])
|
|
298
299
|
])) : createCommentVNode("", true),
|
|
299
300
|
hasLoadMore.value ? (openBlock(), createBlock(unref(ListNodeRenderer), {
|
|
300
301
|
key: 2,
|
|
301
|
-
content: loadMoreContent
|
|
302
|
+
content: unref(loadMoreContent)
|
|
302
303
|
}, null, 8, [
|
|
303
304
|
"content"
|
|
304
305
|
])) : createCommentVNode("", true)
|
|
@@ -7,6 +7,7 @@ import { configContextKey } from "./650465d64194.js";
|
|
|
7
7
|
import { semiGlobal as semi_global } from "./7d608cdc8674.js";
|
|
8
8
|
import { en_US } from "./0b135951952f.js";
|
|
9
9
|
import { zh_CN } from "./11c87b78a456.js";
|
|
10
|
+
import { useRenderComputed } from "./b843d2864038.js";
|
|
10
11
|
import { Popover } from "./279ed7065cab.js";
|
|
11
12
|
import { DatePickerPanel } from "./1601fc5f045e.js";
|
|
12
13
|
import { DatePickerNodeRenderer } from "./40dd8e710421.js";
|
|
@@ -754,15 +755,15 @@ const DatePickervue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineCompone
|
|
|
754
755
|
'class',
|
|
755
756
|
'style'
|
|
756
757
|
].includes(key))));
|
|
757
|
-
const topContent =
|
|
758
|
-
const bottomContent =
|
|
759
|
-
const leftContent =
|
|
760
|
-
const rightContent =
|
|
761
|
-
const renderDate =
|
|
758
|
+
const topContent = useRenderComputed(()=>slots.top?.() ?? props.topSlot);
|
|
759
|
+
const bottomContent = useRenderComputed(()=>slots.bottom?.() ?? props.bottomSlot);
|
|
760
|
+
const leftContent = useRenderComputed(()=>slots.left?.() ?? props.leftSlot);
|
|
761
|
+
const rightContent = useRenderComputed(()=>slots.right?.() ?? props.rightSlot);
|
|
762
|
+
const renderDate = useRenderComputed(()=>slots.date || props.renderDate ? (dayNumber, fullDate)=>slots.date?.({
|
|
762
763
|
dayNumber: dayNumber ?? 0,
|
|
763
764
|
fullDate: fullDate ?? ''
|
|
764
765
|
}) ?? props.renderDate?.(dayNumber, fullDate) : void 0);
|
|
765
|
-
const renderFullDate =
|
|
766
|
+
const renderFullDate = useRenderComputed(()=>slots.fullDate || props.renderFullDate ? (dayNumber, fullDate, status)=>slots.fullDate?.({
|
|
766
767
|
dayNumber: dayNumber ?? 0,
|
|
767
768
|
fullDate: fullDate ?? '',
|
|
768
769
|
status: status ?? {}
|
|
@@ -781,7 +782,7 @@ const DatePickervue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineCompone
|
|
|
781
782
|
close: ()=>foundation.closePanel(),
|
|
782
783
|
clear: (event)=>clearValue(event)
|
|
783
784
|
}));
|
|
784
|
-
const customTrigger =
|
|
785
|
+
const customTrigger = useRenderComputed(()=>slots.trigger?.(triggerSlotProps.value) ?? props.triggerRender?.(triggerSlotProps.value));
|
|
785
786
|
function clearValue(event) {
|
|
786
787
|
if (isRange.value) foundation.handleRangeInputClear(event);
|
|
787
788
|
else {
|
|
@@ -920,17 +921,17 @@ const DatePickervue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineCompone
|
|
|
920
921
|
}), {
|
|
921
922
|
content: withCtx(()=>[
|
|
922
923
|
createVNode(DatePickerPanel, {
|
|
923
|
-
"bottom-content": bottomContent
|
|
924
|
+
"bottom-content": unref(bottomContent),
|
|
924
925
|
"cached-value": unref(state).cachedSelectedValue,
|
|
925
|
-
"left-content": leftContent
|
|
926
|
+
"left-content": unref(leftContent),
|
|
926
927
|
locale: locale.value,
|
|
927
928
|
"locale-code": localeCode.value,
|
|
928
929
|
props: runtimeProps.value,
|
|
929
930
|
"range-focus": unref(state).rangeInputFocus,
|
|
930
|
-
"render-date": renderDate
|
|
931
|
-
"render-full-date": renderFullDate
|
|
932
|
-
"right-content": rightContent
|
|
933
|
-
"top-content": topContent
|
|
931
|
+
"render-date": unref(renderDate),
|
|
932
|
+
"render-full-date": unref(renderFullDate),
|
|
933
|
+
"right-content": unref(rightContent),
|
|
934
|
+
"top-content": unref(topContent),
|
|
934
935
|
value: unref(state).value,
|
|
935
936
|
onCancel: handleCancel,
|
|
936
937
|
onConfirm: handleConfirm,
|
|
@@ -961,9 +962,9 @@ const DatePickervue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineCompone
|
|
|
961
962
|
class: normalizeClass(inputClasses.value),
|
|
962
963
|
onClick: handleTriggerClick
|
|
963
964
|
}, [
|
|
964
|
-
customTrigger
|
|
965
|
+
unref(customTrigger) ? (openBlock(), createBlock(unref(DatePickerNodeRenderer), {
|
|
965
966
|
key: 0,
|
|
966
|
-
content: customTrigger
|
|
967
|
+
content: unref(customTrigger)
|
|
967
968
|
}, null, 8, [
|
|
968
969
|
"content"
|
|
969
970
|
])) : isRange.value ? (openBlock(), createElementBlock(Fragment, {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useSlots, inject, Fragment, unref, mergeProps, Comment, createElementBlock, createBlock, getCurrentInstance, normalizeClass, openBlock, Text, normalizeStyle, isVNode, renderSlot, defineComponent, computed } from "./c8c8fdcd83a1.js";
|
|
2
2
|
import { navigationContextKey } from "./90d718aaa16d.js";
|
|
3
|
+
import { useRenderComputed } from "./b843d2864038.js";
|
|
3
4
|
import { CollapseButton } from "./9e89bd661995.js";
|
|
4
5
|
import { NavigationNodeRenderer } from "./6f4ea73c1c21.js";
|
|
5
6
|
const NavFootervue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineComponent({
|
|
@@ -70,8 +71,8 @@ const NavFootervue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineComponen
|
|
|
70
71
|
if (nodes.type === Fragment) return hasElement(nodes.children);
|
|
71
72
|
return true;
|
|
72
73
|
}
|
|
73
|
-
const defaultNodes =
|
|
74
|
-
const customCollapse =
|
|
74
|
+
const defaultNodes = useRenderComputed(()=>slots.default?.() ?? []);
|
|
75
|
+
const customCollapse = useRenderComputed(()=>slots.collapseButton?.() ?? props.collapseButton);
|
|
75
76
|
const collapseEnabled = computed(()=>{
|
|
76
77
|
if (slots.collapseButton) return true;
|
|
77
78
|
if (!hasRawProp('collapseButton')) return false;
|
|
@@ -103,9 +104,9 @@ const NavFootervue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineComponen
|
|
|
103
104
|
onClick: unref(context).toggleCollapsed
|
|
104
105
|
}), null, 16, [
|
|
105
106
|
"onClick"
|
|
106
|
-
])) : collapseEnabled.value && !hasElement(defaultNodes
|
|
107
|
+
])) : collapseEnabled.value && !hasElement(unref(defaultNodes)) && 'horizontal' !== unref(context).mode.value ? (openBlock(), createBlock(unref(NavigationNodeRenderer), {
|
|
107
108
|
key: 1,
|
|
108
|
-
content: customCollapse
|
|
109
|
+
content: unref(customCollapse)
|
|
109
110
|
}, null, 8, [
|
|
110
111
|
"content"
|
|
111
112
|
])) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 2)
|
|
@@ -4,6 +4,7 @@ import { IconClose, IconAlertTriangle } from "./028d15ef5247.js";
|
|
|
4
4
|
import { configContextKey } from "./650465d64194.js";
|
|
5
5
|
import { semiGlobal as semi_global } from "./7d608cdc8674.js";
|
|
6
6
|
import { DEFAULT_CONFIG_LOCALE } from "./0d4f4a0ec690.js";
|
|
7
|
+
import { useRenderComputed } from "./b843d2864038.js";
|
|
7
8
|
import { Popover } from "./279ed7065cab.js";
|
|
8
9
|
import { PopconfirmNodeRenderer } from "./ae628d664c82.js";
|
|
9
10
|
import { Button } from "./2685e49b8e1b.js";
|
|
@@ -224,9 +225,9 @@ const Popconfirmvue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineCompone
|
|
|
224
225
|
confirm: '确定'
|
|
225
226
|
};
|
|
226
227
|
});
|
|
227
|
-
const titleContent =
|
|
228
|
+
const titleContent = useRenderComputed(()=>slots.title?.() ?? props.title);
|
|
228
229
|
const contentValue = computed(()=>props.content);
|
|
229
|
-
const iconContent =
|
|
230
|
+
const iconContent = useRenderComputed(()=>slots.icon?.() ?? props.icon);
|
|
230
231
|
const usesDefaultIcon = computed(()=>!slots.icon && !hasExplicitProp('icon'));
|
|
231
232
|
const hasIcon = computed(()=>{
|
|
232
233
|
if (usesDefaultIcon.value) return true;
|
|
@@ -416,7 +417,7 @@ const Popconfirmvue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineCompone
|
|
|
416
417
|
size: "extra-large"
|
|
417
418
|
})) : (openBlock(), createBlock(unref(PopconfirmNodeRenderer), {
|
|
418
419
|
key: 1,
|
|
419
|
-
content: iconContent
|
|
420
|
+
content: unref(iconContent)
|
|
420
421
|
}, null, 8, [
|
|
421
422
|
"content"
|
|
422
423
|
]))
|
|
@@ -430,7 +431,7 @@ const Popconfirmvue_type_script_setup_true_lang_ts = /*@__PURE__*/ defineCompone
|
|
|
430
431
|
"x-semi-prop": "title"
|
|
431
432
|
}, [
|
|
432
433
|
createVNode(unref(PopconfirmNodeRenderer), {
|
|
433
|
-
content: titleContent
|
|
434
|
+
content: unref(titleContent)
|
|
434
435
|
}, null, 8, [
|
|
435
436
|
"content"
|
|
436
437
|
])
|