@robot-admin/naive-ui-components 0.23.3 → 0.24.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 +6 -0
- package/README.md +28 -1
- package/README_EN.md +7 -1
- package/dist/C_Table.base.css +108 -108
- package/dist/C_Table.css +108 -108
- package/dist/C_Table.d.cts +2 -2
- package/dist/C_Table.d.ts +2 -2
- package/dist/C_Table2.cjs +3 -3
- package/dist/C_Table2.js +3 -3
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants2.d.cts +5 -5
- package/dist/constants2.d.ts +5 -5
- package/dist/constants3.d.cts +2 -2
- package/dist/constants3.d.ts +2 -2
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data2.d.cts +5 -5
- package/dist/data2.d.ts +5 -5
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.vue.d.cts +5 -5
- package/dist/index.vue.d.ts +5 -5
- package/dist/index10.vue.d.cts +2 -2
- package/dist/index11.vue.d.ts +12 -1
- package/dist/index12.vue.d.cts +12 -1
- package/dist/index13.vue.d.ts +1 -1
- package/dist/index14.vue.d.cts +1 -1
- package/dist/index15.vue.d.ts +4 -4
- package/dist/index16.vue.d.cts +4 -4
- package/dist/index18.vue.d.ts +1 -1
- package/dist/index19.vue.d.cts +1 -1
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index22.vue.d.ts +1 -1
- package/dist/index23.vue.d.cts +1 -1
- package/dist/index24.vue.d.cts +1 -1
- package/dist/index24.vue.d.ts +1 -1
- package/dist/index25.vue.d.cts +1 -1
- package/dist/index25.vue.d.ts +1 -1
- package/dist/index26.vue.d.cts +1 -1
- package/dist/index26.vue.d.ts +1 -1
- package/dist/index28.vue.d.cts +1 -1
- package/dist/index28.vue.d.ts +1 -1
- package/dist/index29.vue.d.cts +2 -2
- package/dist/index29.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +2 -2
- package/dist/index3.vue.d.ts +2 -2
- package/dist/index7.vue.d.ts +1 -1
- package/dist/index8.vue.d.cts +1 -1
- package/dist/index9.vue.d.ts +2 -2
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/style.css +108 -108
- package/dist/useCalendarEvents.d.cts +2 -2
- package/dist/useCalendarEvents.d.ts +2 -2
- package/dist/useCollapsePanel.d.cts +3 -3
- package/dist/useCollapsePanel.d.ts +3 -3
- package/dist/useCropperCore.d.cts +9 -9
- package/dist/useCropperCore.d.ts +9 -9
- package/dist/useDynamicFormState.d.cts +15 -12
- package/dist/useDynamicFormState.d.ts +15 -12
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useFullscreen.d.cts +3 -3
- package/dist/useFullscreen.d.ts +3 -3
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +2 -2
- package/dist/useQRCode.d.ts +2 -2
- package/dist/useSignatureHistory.d.cts +5 -5
- package/dist/useSignatureHistory.d.ts +5 -5
- package/dist/useSplitResize.d.cts +5 -5
- package/dist/useSplitResize.d.ts +5 -5
- package/dist/useWorkflowValidation.d.cts +98 -98
- package/dist/useWorkflowValidation.d.ts +98 -98
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/docs/guides/table-density.md +27 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
| 按需消费 | 60 个独立组件入口、自动导入 Resolver、组件样式入口,以及表单/表格的基础样式层级 |
|
|
34
34
|
| 独立接入 | 支持全量注册与局部导入;反馈、文案和全局配置可由宿主提供,表单弹窗可接入结构兼容的 Headless CRUD |
|
|
35
35
|
|
|
36
|
-
组件库负责界面与交互;业务接口、身份权限、上传服务和第三方平台配置由应用接入。当前仓库版本 **0.
|
|
36
|
+
组件库负责界面与交互;业务接口、身份权限、上传服务和第三方平台配置由应用接入。当前仓库版本 **0.24.0**,版本变化见 [CHANGELOG](./CHANGELOG.md)。
|
|
37
37
|
|
|
38
38
|
表单与搜索共用 `config.density: 'compact'`:收紧字段、布局和空校验区,实际错误仍自然展开。表单弹窗默认紧凑,页脚按钮 22px;搜索可继承应用密度。紧凑数字输入默认隐藏步进按钮,保留键盘、精度和上下限,也可逐字段开启。按需设置默认值与显式覆盖见[表单密度](./docs/guides/form-density.md)。
|
|
39
39
|
|
|
@@ -215,3 +215,30 @@ bun run check:audit # 单独运行依赖安全审计,CI 在 verify 前执行
|
|
|
215
215
|
## 许可证
|
|
216
216
|
|
|
217
217
|
[MIT License](./LICENSE) · Made by [CHENY](https://github.com/ChenyCHENYU)
|
|
218
|
+
|
|
219
|
+
## 内容列宽与状态颜色(0.24)
|
|
220
|
+
|
|
221
|
+
`C_Table` 未声明 `width` 的业务列默认按表头和显示文字测宽,均匀抽样最多 100 条已加载数据,默认 80–360px。`minWidth/maxWidth` 可调整边界;显式列宽、原生百分比宽度、列设置后的宽度和 `display.columnWidth` 优先。`autoWidth: false` 恢复原统一默认 180px。横向虚拟化同样使用数值测宽,不依赖浏览器扫描所有行;长内容默认省略并提供 tooltip。
|
|
222
|
+
|
|
223
|
+
```ts
|
|
224
|
+
const columns = [
|
|
225
|
+
{ type: 'index' },
|
|
226
|
+
{ key: 'customer', title: '客户', maxWidth: 280 },
|
|
227
|
+
{ key: 'status', title: '状态', dictionary: 'order-status', status: true },
|
|
228
|
+
{
|
|
229
|
+
key: 'planStatus',
|
|
230
|
+
title: '计划状态',
|
|
231
|
+
status: {
|
|
232
|
+
S1B: { label: '待复核', color: 'danger' },
|
|
233
|
+
S1C: { label: '已完成', color: 'success' },
|
|
234
|
+
special: { label: '特殊处理', color: '#8b5cf6' },
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
]
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
状态列复用 Naive UI 标签和主题。支持 `success/warning/danger/info/neutral`,也支持 Naive 的 `error/default/primary` 和 CSS 颜色。未知代码保持中性;`0/false` 是有效值,空值保留空态。显式 render 优先;formatter/字典文字会用于默认颜色判断和测宽。状态配置只改变展示,不会改写数据、排序、筛选或导出。
|
|
241
|
+
|
|
242
|
+
测宽不额外挂载或执行 render;图标、进度条和复杂自定义内容请显式指定 width。数据与字典更新会触发新的有界测量,配置和缓存只属于当前组件实例。此版本将未声明宽度的业务列由自然布局改为有界内容宽度;既有显式布局及原生 table-layout 覆盖仍保留。
|
|
243
|
+
|
|
244
|
+
可拖动列的最小宽度会计入列头文字和排序/筛选控件;与显式 minWidth 取较大值,避免缩窄时压盖标题。超长标题的默认保护上限为 360px,复杂自定义标题请配置 minWidth。
|
package/README_EN.md
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
| Selective loading | 60 component entries, an auto-import resolver, component CSS and base styles for forms and tables |
|
|
34
34
|
| Application integration | Global registration or local imports; injectable feedback, locale and defaults; form dialogs compatible with structurally matching headless CRUD controllers |
|
|
35
35
|
|
|
36
|
-
The library handles UI and interaction. Applications supply business APIs, authentication, authorization, upload services and platform configuration. The current repository version is **0.
|
|
36
|
+
The library handles UI and interaction. Applications supply business APIs, authentication, authorization, upload services and platform configuration. The current repository version is **0.24.0**; see the [changelog](./CHANGELOG.md) for release details.
|
|
37
37
|
|
|
38
38
|
Forms and search share `config.density: 'compact'`, reducing field spacing and empty validation space while allowing errors to expand naturally. Form modals default to compact density with 22px footer buttons, and search can inherit application density. Compact numeric fields hide step buttons by default while retaining keyboard interaction, precision and limits; individual fields can enable buttons. See [form density](./docs/guides/form-density.en.md) for on-demand defaults and explicit overrides.
|
|
39
39
|
|
|
@@ -215,3 +215,9 @@ See [development and build](./docs/engineering.en.md) for individual checks and
|
|
|
215
215
|
## License
|
|
216
216
|
|
|
217
217
|
[MIT License](./LICENSE) · Made by [CHENY](https://github.com/ChenyCHENYU)
|
|
218
|
+
|
|
219
|
+
## Content widths and status columns (0.24)
|
|
220
|
+
|
|
221
|
+
Columns without `width` now measure their header and up to 100 evenly sampled loaded rows, using formatted, dictionary and status labels. Automatic widths default to 80–360px; use `minWidth/maxWidth` to adjust. Explicit widths (including native strings), saved column widths and `display.columnWidth` take precedence. `autoWidth: false` restores the 180px default. Long automatic cells use ellipsis and a tooltip; horizontal virtualization uses the same numeric widths.
|
|
222
|
+
|
|
223
|
+
Use `{ key: 'status', status: true }` for themed status tags, or `status: { S1B: { label: 'Review', color: 'danger' }, S1C: 'success' }`. Semantic colors and CSS colors are supported. Unknown codes stay neutral, zero/false stay valid, and explicit render functions win. Display changes never rewrite data or export policy. Measurement does not invoke render functions; give graphical/custom columns explicit widths. Data and dictionary updates remeasure a bounded sample; all caches remain component-local.
|
package/dist/C_Table.base.css
CHANGED
|
@@ -1588,7 +1588,7 @@ to {
|
|
|
1588
1588
|
.px[data-v-92119048]{padding-left:1rem;padding-right:1rem;}
|
|
1589
1589
|
.accent-blue-500[data-v-92119048]{--un-accent-opacity:1;accent-color:rgb(59 130 246 / var(--un-accent-opacity));}
|
|
1590
1590
|
|
|
1591
|
-
.c-table-wrapper[data-v-
|
|
1591
|
+
.c-table-wrapper[data-v-f043b5ac] {
|
|
1592
1592
|
--c-table-border-color: var(--border-color, #e5e7eb);
|
|
1593
1593
|
--c-table-bg: var(--body-color, #fff);
|
|
1594
1594
|
--c-table-header-bg: var(--card-color, #fafafc);
|
|
@@ -1599,55 +1599,55 @@ to {
|
|
|
1599
1599
|
width: 100%;
|
|
1600
1600
|
position: relative;
|
|
1601
1601
|
}
|
|
1602
|
-
.c-table-wrapper--compact[data-v-
|
|
1602
|
+
.c-table-wrapper--compact[data-v-f043b5ac] {
|
|
1603
1603
|
--c-table-gap: 8px;
|
|
1604
1604
|
--c-table-button-font-size: 14px;
|
|
1605
1605
|
--c-table-cell-min-height: 28px;
|
|
1606
1606
|
--c-table-cell-padding: 2px 4px;
|
|
1607
1607
|
}
|
|
1608
|
-
.c-table-wrapper--default[data-v-
|
|
1608
|
+
.c-table-wrapper--default[data-v-f043b5ac] {
|
|
1609
1609
|
--c-table-gap: 16px;
|
|
1610
1610
|
--c-table-button-font-size: 14px;
|
|
1611
1611
|
--c-table-cell-min-height: 36px;
|
|
1612
1612
|
--c-table-cell-padding: 6px 8px;
|
|
1613
1613
|
}
|
|
1614
|
-
.c-table-wrapper--comfortable[data-v-
|
|
1614
|
+
.c-table-wrapper--comfortable[data-v-f043b5ac] {
|
|
1615
1615
|
--c-table-gap: 20px;
|
|
1616
1616
|
--c-table-button-font-size: 15px;
|
|
1617
1617
|
--c-table-cell-min-height: 40px;
|
|
1618
1618
|
--c-table-cell-padding: 8px 10px;
|
|
1619
1619
|
}
|
|
1620
|
-
.c-table-wrapper--flex[data-v-
|
|
1620
|
+
.c-table-wrapper--flex[data-v-f043b5ac] {
|
|
1621
1621
|
display: flex;
|
|
1622
1622
|
flex-direction: column;
|
|
1623
1623
|
height: 100%;
|
|
1624
1624
|
min-height: 0;
|
|
1625
1625
|
}
|
|
1626
|
-
.c-table-wrapper--flex[data-v-
|
|
1627
|
-
.c-table-wrapper--flex > .table-error-state[data-v-
|
|
1626
|
+
.c-table-wrapper--flex[data-v-f043b5ac] > .n-data-table,
|
|
1627
|
+
.c-table-wrapper--flex > .table-error-state[data-v-f043b5ac] {
|
|
1628
1628
|
flex: 1;
|
|
1629
1629
|
min-height: 0;
|
|
1630
1630
|
}
|
|
1631
|
-
.c-table-wrapper--flex > .table-toolbar[data-v-
|
|
1632
|
-
.c-table-wrapper--flex > .batch-actions-bar[data-v-
|
|
1633
|
-
.c-table-wrapper--flex > .pagination-wrapper[data-v-
|
|
1631
|
+
.c-table-wrapper--flex > .table-toolbar[data-v-f043b5ac],
|
|
1632
|
+
.c-table-wrapper--flex > .batch-actions-bar[data-v-f043b5ac],
|
|
1633
|
+
.c-table-wrapper--flex > .pagination-wrapper[data-v-f043b5ac] {
|
|
1634
1634
|
flex-shrink: 0;
|
|
1635
1635
|
}
|
|
1636
|
-
.column-drag-ghost[data-v-
|
|
1636
|
+
.column-drag-ghost[data-v-f043b5ac] {
|
|
1637
1637
|
opacity: var(--c-table-drag-ghost-opacity);
|
|
1638
1638
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
1639
1639
|
}
|
|
1640
|
-
.drag-handle[data-v-
|
|
1640
|
+
.drag-handle[data-v-f043b5ac] {
|
|
1641
1641
|
cursor: grab;
|
|
1642
1642
|
}
|
|
1643
|
-
.drag-handle[data-v-
|
|
1643
|
+
.drag-handle[data-v-f043b5ac]:active {
|
|
1644
1644
|
cursor: grabbing;
|
|
1645
1645
|
}
|
|
1646
|
-
.c-table-wrapper[data-v-
|
|
1646
|
+
.c-table-wrapper[data-v-f043b5ac] .n-data-table-tfoot {
|
|
1647
1647
|
background: var(--c-table-summary-bg);
|
|
1648
1648
|
font-weight: var(--c-table-summary-font-weight);
|
|
1649
1649
|
}
|
|
1650
|
-
.table-toolbar[data-v-
|
|
1650
|
+
.table-toolbar[data-v-f043b5ac] {
|
|
1651
1651
|
display: flex;
|
|
1652
1652
|
justify-content: space-between;
|
|
1653
1653
|
align-items: center;
|
|
@@ -1655,29 +1655,29 @@ to {
|
|
|
1655
1655
|
gap: var(--c-table-gap, 12px);
|
|
1656
1656
|
flex-wrap: wrap;
|
|
1657
1657
|
}
|
|
1658
|
-
.table-toolbar .toolbar-left[data-v-
|
|
1658
|
+
.table-toolbar .toolbar-left[data-v-f043b5ac] {
|
|
1659
1659
|
display: flex;
|
|
1660
1660
|
align-items: center;
|
|
1661
1661
|
gap: var(--c-table-gap, 12px);
|
|
1662
1662
|
flex-wrap: wrap;
|
|
1663
1663
|
min-width: 0;
|
|
1664
1664
|
}
|
|
1665
|
-
.table-toolbar .toolbar-right[data-v-
|
|
1665
|
+
.table-toolbar .toolbar-right[data-v-f043b5ac] {
|
|
1666
1666
|
display: flex;
|
|
1667
1667
|
align-items: center;
|
|
1668
1668
|
gap: var(--c-table-gap, 8px);
|
|
1669
1669
|
flex-wrap: wrap;
|
|
1670
1670
|
}
|
|
1671
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
1671
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-f043b5ac] {
|
|
1672
1672
|
opacity: 0.6;
|
|
1673
1673
|
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
1674
1674
|
cursor: pointer;
|
|
1675
1675
|
}
|
|
1676
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
1676
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-f043b5ac]:hover {
|
|
1677
1677
|
opacity: 1;
|
|
1678
1678
|
transform: scale(1.1);
|
|
1679
1679
|
}
|
|
1680
|
-
.dynamic-rows-toolbar[data-v-
|
|
1680
|
+
.dynamic-rows-toolbar[data-v-f043b5ac] {
|
|
1681
1681
|
margin-bottom: var(--c-table-gap, 16px);
|
|
1682
1682
|
padding: var(--c-table-gap, 16px);
|
|
1683
1683
|
border-radius: 8px;
|
|
@@ -1686,35 +1686,35 @@ to {
|
|
|
1686
1686
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
1687
1687
|
transition: all 0.2s ease;
|
|
1688
1688
|
}
|
|
1689
|
-
.dynamic-rows-toolbar[data-v-
|
|
1689
|
+
.dynamic-rows-toolbar[data-v-f043b5ac]:hover {
|
|
1690
1690
|
border-color: var(--n-primary-color-suppl);
|
|
1691
1691
|
}
|
|
1692
|
-
[data-v-
|
|
1692
|
+
[data-v-f043b5ac] .n-data-table {
|
|
1693
1693
|
table-layout: auto !important;
|
|
1694
1694
|
width: 100% !important;
|
|
1695
1695
|
border-radius: 8px;
|
|
1696
1696
|
overflow: hidden;
|
|
1697
1697
|
}
|
|
1698
|
-
[data-v-
|
|
1698
|
+
[data-v-f043b5ac] .n-data-table-wrapper {
|
|
1699
1699
|
overflow-x: auto !important;
|
|
1700
1700
|
}
|
|
1701
|
-
.pagination-wrapper[data-v-
|
|
1701
|
+
.pagination-wrapper[data-v-f043b5ac] {
|
|
1702
1702
|
margin-top: var(--c-table-gap, 16px);
|
|
1703
1703
|
display: flex;
|
|
1704
1704
|
justify-content: flex-end;
|
|
1705
1705
|
}
|
|
1706
|
-
[data-v-
|
|
1706
|
+
[data-v-f043b5ac] .c-table-index-column {
|
|
1707
1707
|
padding-inline: 8px;
|
|
1708
1708
|
}
|
|
1709
|
-
[data-v-
|
|
1709
|
+
[data-v-f043b5ac] .c-table-actions-column {
|
|
1710
1710
|
text-align: center !important;
|
|
1711
1711
|
padding: 8px 12px !important;
|
|
1712
1712
|
}
|
|
1713
|
-
[data-v-
|
|
1713
|
+
[data-v-f043b5ac] .c-table-actions-column .n-space {
|
|
1714
1714
|
justify-content: center !important;
|
|
1715
1715
|
align-items: center !important;
|
|
1716
1716
|
}
|
|
1717
|
-
[data-v-
|
|
1717
|
+
[data-v-f043b5ac] .cell-edit-wrapper {
|
|
1718
1718
|
display: flex;
|
|
1719
1719
|
align-items: center;
|
|
1720
1720
|
justify-content: space-between;
|
|
@@ -1726,18 +1726,18 @@ to {
|
|
|
1726
1726
|
cursor: pointer;
|
|
1727
1727
|
position: relative;
|
|
1728
1728
|
}
|
|
1729
|
-
[data-v-
|
|
1729
|
+
[data-v-f043b5ac] .cell-edit-wrapper:hover {
|
|
1730
1730
|
background-color: var(--n-color-target);
|
|
1731
1731
|
}
|
|
1732
|
-
[data-v-
|
|
1732
|
+
[data-v-f043b5ac] .cell-edit-wrapper:hover .cell-edit-icon {
|
|
1733
1733
|
opacity: 1;
|
|
1734
1734
|
color: var(--n-color-success);
|
|
1735
1735
|
transform: scale(1.05);
|
|
1736
1736
|
}
|
|
1737
|
-
[data-v-
|
|
1737
|
+
[data-v-f043b5ac] .cell-edit-wrapper:active {
|
|
1738
1738
|
transform: translateY(1px);
|
|
1739
1739
|
}
|
|
1740
|
-
[data-v-
|
|
1740
|
+
[data-v-f043b5ac] .cell-value {
|
|
1741
1741
|
flex: 1;
|
|
1742
1742
|
overflow: hidden;
|
|
1743
1743
|
text-overflow: ellipsis;
|
|
@@ -1746,7 +1746,7 @@ to {
|
|
|
1746
1746
|
line-height: 1.4;
|
|
1747
1747
|
font-size: 13px;
|
|
1748
1748
|
}
|
|
1749
|
-
.c-table-wrapper[data-v-
|
|
1749
|
+
.c-table-wrapper[data-v-f043b5ac] .cell-edit-icon {
|
|
1750
1750
|
flex-shrink: 0;
|
|
1751
1751
|
width: 24px;
|
|
1752
1752
|
height: 24px;
|
|
@@ -1761,20 +1761,20 @@ to {
|
|
|
1761
1761
|
opacity: 0;
|
|
1762
1762
|
position: relative;
|
|
1763
1763
|
}
|
|
1764
|
-
.c-table-wrapper[data-v-
|
|
1764
|
+
.c-table-wrapper[data-v-f043b5ac] .cell-edit-icon:hover {
|
|
1765
1765
|
opacity: 1 !important;
|
|
1766
1766
|
color: var(--n-color-success-hover) !important;
|
|
1767
1767
|
background-color: var(--n-color-success-pressed);
|
|
1768
1768
|
transform: scale(1.1);
|
|
1769
1769
|
}
|
|
1770
|
-
.c-table-wrapper[data-v-
|
|
1770
|
+
.c-table-wrapper[data-v-f043b5ac] .cell-edit-icon:active {
|
|
1771
1771
|
transform: scale(0.95);
|
|
1772
1772
|
}
|
|
1773
|
-
.c-table-wrapper[data-v-
|
|
1773
|
+
.c-table-wrapper[data-v-f043b5ac] .cell-edit-icon svg {
|
|
1774
1774
|
width: 14px;
|
|
1775
1775
|
height: 14px;
|
|
1776
1776
|
}
|
|
1777
|
-
.cell-editing-container[data-v-
|
|
1777
|
+
.cell-editing-container[data-v-f043b5ac],[data-v-f043b5ac] .cell-editing-container {
|
|
1778
1778
|
display: flex !important;
|
|
1779
1779
|
align-items: center !important;
|
|
1780
1780
|
width: 100% !important;
|
|
@@ -1786,35 +1786,35 @@ to {
|
|
|
1786
1786
|
box-shadow: 0 0 0 2px var(--n-primary-color-suppl) !important;
|
|
1787
1787
|
gap: 8px !important;
|
|
1788
1788
|
}
|
|
1789
|
-
.cell-editing-input[data-v-
|
|
1789
|
+
.cell-editing-input[data-v-f043b5ac],[data-v-f043b5ac] .cell-editing-input {
|
|
1790
1790
|
flex: 1 !important;
|
|
1791
1791
|
min-width: 0 !important;
|
|
1792
1792
|
}
|
|
1793
|
-
[data-v-
|
|
1793
|
+
[data-v-f043b5ac] .cell-editing-input .n-input {
|
|
1794
1794
|
border: none !important;
|
|
1795
1795
|
box-shadow: none !important;
|
|
1796
1796
|
background: transparent !important;
|
|
1797
1797
|
}
|
|
1798
|
-
[data-v-
|
|
1798
|
+
[data-v-f043b5ac] .cell-editing-input .n-input.n-input--focus {
|
|
1799
1799
|
border: none !important;
|
|
1800
1800
|
box-shadow: none !important;
|
|
1801
1801
|
}
|
|
1802
|
-
[data-v-
|
|
1802
|
+
[data-v-f043b5ac] .cell-editing-input .n-input-number {
|
|
1803
1803
|
border: none !important;
|
|
1804
1804
|
box-shadow: none !important;
|
|
1805
1805
|
background: transparent !important;
|
|
1806
1806
|
}
|
|
1807
|
-
[data-v-
|
|
1807
|
+
[data-v-f043b5ac] .cell-editing-input .n-select {
|
|
1808
1808
|
border: none !important;
|
|
1809
1809
|
box-shadow: none !important;
|
|
1810
1810
|
background: transparent !important;
|
|
1811
1811
|
}
|
|
1812
|
-
[data-v-
|
|
1812
|
+
[data-v-f043b5ac] .cell-editing-input .n-select .n-base-selection {
|
|
1813
1813
|
border: none !important;
|
|
1814
1814
|
box-shadow: none !important;
|
|
1815
1815
|
background: transparent !important;
|
|
1816
1816
|
}
|
|
1817
|
-
.cell-editing-actions[data-v-
|
|
1817
|
+
.cell-editing-actions[data-v-f043b5ac],[data-v-f043b5ac] .cell-editing-actions {
|
|
1818
1818
|
display: flex !important;
|
|
1819
1819
|
flex-shrink: 0 !important;
|
|
1820
1820
|
align-items: center !important;
|
|
@@ -1825,7 +1825,7 @@ to {
|
|
|
1825
1825
|
padding: 2px !important;
|
|
1826
1826
|
box-shadow: var(--n-box-shadow) !important;
|
|
1827
1827
|
}
|
|
1828
|
-
.cell-action-btn[data-v-
|
|
1828
|
+
.cell-action-btn[data-v-f043b5ac],[data-v-f043b5ac] .cell-action-btn {
|
|
1829
1829
|
display: flex !important;
|
|
1830
1830
|
align-items: center !important;
|
|
1831
1831
|
justify-content: center !important;
|
|
@@ -1837,25 +1837,25 @@ to {
|
|
|
1837
1837
|
transition: all 0.2s ease !important;
|
|
1838
1838
|
background: transparent !important;
|
|
1839
1839
|
}
|
|
1840
|
-
.cell-action-btn.cell-action-save[data-v-
|
|
1840
|
+
.cell-action-btn.cell-action-save[data-v-f043b5ac],[data-v-f043b5ac] .cell-action-btn.cell-action-save {
|
|
1841
1841
|
color: var(--n-color-success) !important;
|
|
1842
1842
|
}
|
|
1843
|
-
.cell-action-btn.cell-action-save[data-v-
|
|
1843
|
+
.cell-action-btn.cell-action-save[data-v-f043b5ac]:hover,[data-v-f043b5ac] .cell-action-btn.cell-action-save:hover {
|
|
1844
1844
|
background: var(--n-color-success-pressed) !important;
|
|
1845
1845
|
transform: scale(1.1) !important;
|
|
1846
1846
|
}
|
|
1847
|
-
.cell-action-btn.cell-action-cancel[data-v-
|
|
1847
|
+
.cell-action-btn.cell-action-cancel[data-v-f043b5ac],[data-v-f043b5ac] .cell-action-btn.cell-action-cancel {
|
|
1848
1848
|
color: var(--n-color-error) !important;
|
|
1849
1849
|
}
|
|
1850
|
-
.cell-action-btn.cell-action-cancel[data-v-
|
|
1850
|
+
.cell-action-btn.cell-action-cancel[data-v-f043b5ac]:hover,[data-v-f043b5ac] .cell-action-btn.cell-action-cancel:hover {
|
|
1851
1851
|
background: var(--n-color-error-pressed) !important;
|
|
1852
1852
|
transform: scale(1.1) !important;
|
|
1853
1853
|
}
|
|
1854
|
-
.cell-action-btn svg[data-v-
|
|
1854
|
+
.cell-action-btn svg[data-v-f043b5ac],[data-v-f043b5ac] .cell-action-btn svg {
|
|
1855
1855
|
width: 11px !important;
|
|
1856
1856
|
height: 11px !important;
|
|
1857
1857
|
}
|
|
1858
|
-
[data-v-
|
|
1858
|
+
[data-v-f043b5ac] .n-button {
|
|
1859
1859
|
white-space: nowrap;
|
|
1860
1860
|
font-size: var(--c-table-button-font-size, 12px) !important;
|
|
1861
1861
|
flex-shrink: 0 !important;
|
|
@@ -1863,106 +1863,106 @@ to {
|
|
|
1863
1863
|
transition: all 0.2s ease;
|
|
1864
1864
|
font-weight: 500;
|
|
1865
1865
|
}
|
|
1866
|
-
[data-v-
|
|
1866
|
+
[data-v-f043b5ac] .n-button .n-icon {
|
|
1867
1867
|
margin-right: 4px !important;
|
|
1868
1868
|
}
|
|
1869
|
-
[data-v-
|
|
1869
|
+
[data-v-f043b5ac] .n-button.n-button--small-type {
|
|
1870
1870
|
padding: 4px 8px;
|
|
1871
1871
|
height: 28px;
|
|
1872
1872
|
line-height: 20px;
|
|
1873
1873
|
}
|
|
1874
|
-
[data-v-
|
|
1874
|
+
[data-v-f043b5ac] .n-button.n-button--quaternary-type:hover {
|
|
1875
1875
|
transform: translateY(-1px);
|
|
1876
1876
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
1877
1877
|
}
|
|
1878
|
-
[data-v-
|
|
1878
|
+
[data-v-f043b5ac] .n-button.n-button--quaternary-type:active {
|
|
1879
1879
|
transform: translateY(0);
|
|
1880
1880
|
}
|
|
1881
|
-
[data-v-
|
|
1881
|
+
[data-v-f043b5ac] .n-space.n-space--horizontal .n-space-item:not(:last-child) {
|
|
1882
1882
|
margin-right: 6px !important;
|
|
1883
1883
|
}
|
|
1884
|
-
[data-v-
|
|
1884
|
+
[data-v-f043b5ac] .n-modal .n-card {
|
|
1885
1885
|
border-radius: 12px;
|
|
1886
1886
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
1887
1887
|
}
|
|
1888
|
-
[data-v-
|
|
1888
|
+
[data-v-f043b5ac] .n-modal .n-card__header {
|
|
1889
1889
|
padding: 20px 24px 16px;
|
|
1890
1890
|
font-weight: 600;
|
|
1891
1891
|
font-size: 16px;
|
|
1892
1892
|
}
|
|
1893
|
-
[data-v-
|
|
1893
|
+
[data-v-f043b5ac] .n-modal .n-card__content {
|
|
1894
1894
|
padding: 0 24px 16px;
|
|
1895
1895
|
}
|
|
1896
|
-
[data-v-
|
|
1896
|
+
[data-v-f043b5ac] .n-modal .n-card__action {
|
|
1897
1897
|
padding: 16px 24px 20px;
|
|
1898
1898
|
border-top: 1px solid var(--n-divider-color);
|
|
1899
1899
|
}
|
|
1900
|
-
[data-v-
|
|
1900
|
+
[data-v-f043b5ac] .n-descriptions .n-descriptions-item-label {
|
|
1901
1901
|
font-weight: 500;
|
|
1902
1902
|
color: var(--n-text-color-2);
|
|
1903
1903
|
}
|
|
1904
|
-
[data-v-
|
|
1904
|
+
[data-v-f043b5ac] .n-descriptions .n-descriptions-item-content {
|
|
1905
1905
|
color: var(--n-text-color-1);
|
|
1906
1906
|
word-break: break-all;
|
|
1907
1907
|
}
|
|
1908
1908
|
@media (max-width: 768px) {
|
|
1909
|
-
.c-table-wrapper[data-v-
|
|
1909
|
+
.c-table-wrapper[data-v-f043b5ac] {
|
|
1910
1910
|
overflow-x: auto;
|
|
1911
1911
|
}
|
|
1912
|
-
[data-v-
|
|
1912
|
+
[data-v-f043b5ac] .n-button {
|
|
1913
1913
|
font-size: 11px !important;
|
|
1914
1914
|
padding: 3px 6px;
|
|
1915
1915
|
}
|
|
1916
|
-
[data-v-
|
|
1916
|
+
[data-v-f043b5ac] .n-button .n-icon {
|
|
1917
1917
|
margin-right: 2px !important;
|
|
1918
1918
|
}
|
|
1919
|
-
.cell-edit-icon[data-v-
|
|
1919
|
+
.cell-edit-icon[data-v-f043b5ac] {
|
|
1920
1920
|
opacity: 0.6;
|
|
1921
1921
|
}
|
|
1922
1922
|
}
|
|
1923
1923
|
@media (max-width: 768px) {
|
|
1924
|
-
.cell-editing-container[data-v-
|
|
1924
|
+
.cell-editing-container[data-v-f043b5ac],[data-v-f043b5ac] .cell-editing-container {
|
|
1925
1925
|
gap: 6px !important;
|
|
1926
1926
|
}
|
|
1927
|
-
.cell-editing-actions[data-v-
|
|
1927
|
+
.cell-editing-actions[data-v-f043b5ac],[data-v-f043b5ac] .cell-editing-actions {
|
|
1928
1928
|
gap: 3px !important;
|
|
1929
1929
|
padding: 2px !important;
|
|
1930
1930
|
}
|
|
1931
|
-
.cell-action-btn[data-v-
|
|
1931
|
+
.cell-action-btn[data-v-f043b5ac],[data-v-f043b5ac] .cell-action-btn {
|
|
1932
1932
|
width: 18px !important;
|
|
1933
1933
|
height: 18px !important;
|
|
1934
1934
|
}
|
|
1935
|
-
.cell-action-btn svg[data-v-
|
|
1935
|
+
.cell-action-btn svg[data-v-f043b5ac],[data-v-f043b5ac] .cell-action-btn svg {
|
|
1936
1936
|
width: 10px !important;
|
|
1937
1937
|
height: 10px !important;
|
|
1938
1938
|
}
|
|
1939
|
-
.cell-edit-icon[data-v-
|
|
1939
|
+
.cell-edit-icon[data-v-f043b5ac] {
|
|
1940
1940
|
opacity: 0.6 !important;
|
|
1941
1941
|
}
|
|
1942
|
-
[data-v-
|
|
1942
|
+
[data-v-f043b5ac] .cell-value {
|
|
1943
1943
|
margin-right: 12px !important;
|
|
1944
1944
|
}
|
|
1945
1945
|
}
|
|
1946
|
-
[data-v-
|
|
1946
|
+
[data-v-f043b5ac] .cell-edit-wrapper:focus-within,[data-v-f043b5ac] .cell-editing-container:focus-within {
|
|
1947
1947
|
outline: 2px solid var(--n-primary-color);
|
|
1948
1948
|
outline-offset: 2px;
|
|
1949
1949
|
}
|
|
1950
1950
|
@media (prefers-contrast: high) {
|
|
1951
|
-
.cell-edit-icon[data-v-
|
|
1951
|
+
.cell-edit-icon[data-v-f043b5ac] {
|
|
1952
1952
|
opacity: 0.8;
|
|
1953
1953
|
}
|
|
1954
|
-
.cell-editing-actions[data-v-
|
|
1954
|
+
.cell-editing-actions[data-v-f043b5ac] {
|
|
1955
1955
|
border-width: 2px;
|
|
1956
1956
|
}
|
|
1957
1957
|
}
|
|
1958
|
-
.row-drag-ghost[data-v-
|
|
1958
|
+
.row-drag-ghost[data-v-f043b5ac] {
|
|
1959
1959
|
opacity: 0.4;
|
|
1960
1960
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
1961
1961
|
}
|
|
1962
|
-
.row-drag-chosen[data-v-
|
|
1962
|
+
.row-drag-chosen[data-v-f043b5ac] {
|
|
1963
1963
|
background: var(--n-color-hover, #f5f5f5) !important;
|
|
1964
1964
|
}
|
|
1965
|
-
.batch-actions-bar[data-v-
|
|
1965
|
+
.batch-actions-bar[data-v-f043b5ac] {
|
|
1966
1966
|
display: flex;
|
|
1967
1967
|
align-items: center;
|
|
1968
1968
|
justify-content: space-between;
|
|
@@ -1972,52 +1972,52 @@ to {
|
|
|
1972
1972
|
border-radius: 6px;
|
|
1973
1973
|
border: 1px solid var(--n-primary-color-suppl, #70b3ff);
|
|
1974
1974
|
}
|
|
1975
|
-
.batch-actions-bar .batch-info[data-v-
|
|
1975
|
+
.batch-actions-bar .batch-info[data-v-f043b5ac] {
|
|
1976
1976
|
font-size: 13px;
|
|
1977
1977
|
color: var(--n-text-color-2);
|
|
1978
1978
|
font-weight: 500;
|
|
1979
1979
|
}
|
|
1980
|
-
.table-error-state[data-v-
|
|
1980
|
+
.table-error-state[data-v-f043b5ac] {
|
|
1981
1981
|
padding: 48px 24px;
|
|
1982
1982
|
text-align: center;
|
|
1983
1983
|
}
|
|
1984
|
-
.table-error-state .error-content[data-v-
|
|
1984
|
+
.table-error-state .error-content[data-v-f043b5ac] {
|
|
1985
1985
|
display: flex;
|
|
1986
1986
|
flex-direction: column;
|
|
1987
1987
|
align-items: center;
|
|
1988
1988
|
gap: 12px;
|
|
1989
1989
|
color: var(--n-text-color-3, #999);
|
|
1990
1990
|
}
|
|
1991
|
-
.table-error-state .error-message[data-v-
|
|
1991
|
+
.table-error-state .error-message[data-v-f043b5ac] {
|
|
1992
1992
|
font-size: 14px;
|
|
1993
1993
|
margin: 0;
|
|
1994
1994
|
color: var(--n-text-color-2, #666);
|
|
1995
1995
|
}
|
|
1996
1996
|
|
|
1997
1997
|
/* layer: default */
|
|
1998
|
-
.visible[data-v-
|
|
1999
|
-
.fixed[data-v-
|
|
2000
|
-
.grid[data-v-
|
|
2001
|
-
.mb-2[data-v-
|
|
2002
|
-
.mb-4[data-v-
|
|
2003
|
-
.ml-2[data-v-
|
|
2004
|
-
.w60\%[data-v-
|
|
2005
|
-
.flex[data-v-
|
|
2006
|
-
.table[data-v-
|
|
2007
|
-
.scale-110[data-v-
|
|
2008
|
-
.cursor-pointer[data-v-
|
|
2009
|
-
.items-center[data-v-
|
|
2010
|
-
.justify-end[data-v-
|
|
2011
|
-
.justify-center[data-v-
|
|
2012
|
-
.rd[data-v-
|
|
2013
|
-
.bg-gray-50[data-v-
|
|
2014
|
-
.p-4[data-v-
|
|
2015
|
-
.px[data-v-
|
|
2016
|
-
.py-8[data-v-
|
|
2017
|
-
.text-center[data-v-
|
|
2018
|
-
.text-sm[data-v-
|
|
2019
|
-
.text-gray-400[data-v-
|
|
2020
|
-
.text-gray-500[data-v-
|
|
2021
|
-
.text-gray-600[data-v-
|
|
2022
|
-
.accent-blue-500[data-v-
|
|
2023
|
-
.filter[data-v-
|
|
1998
|
+
.visible[data-v-f043b5ac]{visibility:visible;}
|
|
1999
|
+
.fixed[data-v-f043b5ac]{position:fixed;}
|
|
2000
|
+
.grid[data-v-f043b5ac]{display:grid;}
|
|
2001
|
+
.mb-2[data-v-f043b5ac]{margin-bottom:0.5rem;}
|
|
2002
|
+
.mb-4[data-v-f043b5ac]{margin-bottom:1rem;}
|
|
2003
|
+
.ml-2[data-v-f043b5ac]{margin-left:0.5rem;}
|
|
2004
|
+
.w60\%[data-v-f043b5ac]{width:60%;}
|
|
2005
|
+
.flex[data-v-f043b5ac]{display:flex;}
|
|
2006
|
+
.table[data-v-f043b5ac]{display:table;}
|
|
2007
|
+
.scale-110[data-v-f043b5ac]{--un-scale-x:1.1;--un-scale-y:1.1;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}
|
|
2008
|
+
.cursor-pointer[data-v-f043b5ac]{cursor:pointer;}
|
|
2009
|
+
.items-center[data-v-f043b5ac]{align-items:center;}
|
|
2010
|
+
.justify-end[data-v-f043b5ac]{justify-content:flex-end;}
|
|
2011
|
+
.justify-center[data-v-f043b5ac]{justify-content:center;}
|
|
2012
|
+
.rd[data-v-f043b5ac]{border-radius:0.25rem;}
|
|
2013
|
+
.bg-gray-50[data-v-f043b5ac]{--un-bg-opacity:1;background-color:rgb(249 250 251 / var(--un-bg-opacity));}
|
|
2014
|
+
.p-4[data-v-f043b5ac]{padding:1rem;}
|
|
2015
|
+
.px[data-v-f043b5ac]{padding-left:1rem;padding-right:1rem;}
|
|
2016
|
+
.py-8[data-v-f043b5ac]{padding-top:2rem;padding-bottom:2rem;}
|
|
2017
|
+
.text-center[data-v-f043b5ac]{text-align:center;}
|
|
2018
|
+
.text-sm[data-v-f043b5ac]{font-size:0.875rem;line-height:1.25rem;}
|
|
2019
|
+
.text-gray-400[data-v-f043b5ac]{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity));}
|
|
2020
|
+
.text-gray-500[data-v-f043b5ac]{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity));}
|
|
2021
|
+
.text-gray-600[data-v-f043b5ac]{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity));}
|
|
2022
|
+
.accent-blue-500[data-v-f043b5ac]{--un-accent-opacity:1;accent-color:rgb(59 130 246 / var(--un-accent-opacity));}
|
|
2023
|
+
.filter[data-v-f043b5ac]{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
|