@robot-admin/naive-ui-components 0.31.4 → 0.31.5
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 +3 -1
- package/README_EN.md +3 -1
- package/dist/C_Table.base.css +115 -110
- package/dist/C_Table.css +115 -110
- 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/constants3.d.cts +3 -3
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.cts +5 -5
- package/dist/constants4.d.ts +5 -5
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data2.d.cts +6 -6
- package/dist/data2.d.ts +6 -6
- package/dist/index.vue.d.cts +6 -6
- package/dist/index.vue.d.ts +6 -6
- package/dist/index10.vue.d.cts +3 -3
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index11.vue.d.cts +3 -3
- package/dist/index12.vue.d.ts +2 -2
- package/dist/index13.vue.d.cts +2 -2
- package/dist/index15.vue.d.ts +3 -3
- package/dist/index16.vue.d.cts +3 -3
- package/dist/index16.vue.d.ts +6 -6
- package/dist/index17.vue.d.cts +6 -6
- package/dist/index18.vue.d.ts +1 -1
- package/dist/index19.vue.d.cts +1 -1
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +2 -2
- package/dist/index22.vue.d.cts +1 -1
- package/dist/index22.vue.d.ts +1 -1
- package/dist/index23.vue.d.cts +3 -3
- package/dist/index23.vue.d.ts +3 -3
- package/dist/index26.vue.d.cts +2 -2
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index27.vue.d.cts +1 -1
- package/dist/index27.vue.d.ts +1 -1
- package/dist/index29.vue.d.cts +1 -1
- package/dist/index29.vue.d.ts +1 -1
- package/dist/index3.vue.d.cts +6 -6
- package/dist/index3.vue.d.ts +6 -6
- package/dist/index30.vue.d.cts +2 -2
- package/dist/index30.vue.d.ts +2 -2
- package/dist/index5.vue.d.cts +2 -2
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.cts +2 -2
- package/dist/index9.vue.d.ts +3 -3
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/style.css +115 -110
- package/dist/useCalendarEvents.d.cts +2 -2
- package/dist/useCalendarEvents.d.ts +2 -2
- package/dist/useCollapsePanel.d.cts +4 -4
- package/dist/useCollapsePanel.d.ts +4 -4
- package/dist/useCropperCore.d.cts +3 -3
- package/dist/useCropperCore.d.ts +3 -3
- package/dist/useDraggableLayout.d.cts +2 -2
- package/dist/useDraggableLayout.d.ts +2 -2
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useFullscreen.d.cts +3 -3
- package/dist/useFullscreen.d.ts +3 -3
- package/dist/useInfiniteScroll.d.cts +4 -4
- package/dist/useInfiniteScroll.d.ts +4 -4
- package/dist/useQRCode.d.cts +5 -5
- package/dist/useQRCode.d.ts +5 -5
- package/dist/useSignatureHistory.d.cts +3 -3
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.cts +7 -7
- package/dist/useSplitResize.d.ts +7 -7
- package/dist/useTableQuery.d.cts +12 -8
- package/dist/useTableQuery.d.ts +12 -8
- package/dist/useWorkflowValidation.d.cts +3 -3
- package/dist/useWorkflowValidation.d.ts +3 -3
- package/dist/verification.d.cts +5 -5
- package/dist/verification.d.ts +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
| 按需消费 | 61 个独立组件入口、自动导入 Resolver、组件样式入口,以及表单/表格的基础样式层级 |
|
|
34
34
|
| 独立接入 | 支持全量注册与局部导入;反馈、文案和全局配置可由宿主提供,表单弹窗可接入结构兼容的 Headless CRUD |
|
|
35
35
|
|
|
36
|
-
组件库负责界面与交互。业务接口、身份权限、上传服务和第三方平台配置由应用接入。当前仓库版本 **0.31.
|
|
36
|
+
组件库负责界面与交互。业务接口、身份权限、上传服务和第三方平台配置由应用接入。当前仓库版本 **0.31.5**,版本变化见 [CHANGELOG](./CHANGELOG.md)。
|
|
37
37
|
|
|
38
38
|
搜索条件、录入字段和操作按钮可以由响应式配置生成。筛选和编辑共享紧凑密度,支持校验、异步选项和业务弹窗。后端字典或权限由项目接入,表单和搜索消费普通选项,表格消费普通列配置。
|
|
39
39
|
|
|
@@ -49,6 +49,8 @@
|
|
|
49
49
|
|
|
50
50
|
`C_Table` 保留 Naive UI 原生空态,继承 Provider 的主题、语言与 `componentOptions.DataTable.renderEmpty`。使用 `#empty` 可替换单个表格的空态内容。
|
|
51
51
|
|
|
52
|
+
`C_Table` 窄列编辑时操作组可自然换行,输入保持可见。功能列保持紧凑宽度,剩余空间由普通自动列承接;显式宽度和已保存的列宽偏好继续生效。
|
|
53
|
+
|
|
52
54
|
`C_Table` 默认显示序号和分页,数字与其他内容默认居中。通过 `:row-number="false"` 和 `:pagination="false"` 分别关闭自动序号与分页。后端返回列和行可直接绑定,详见[动态表格示例](./docs/guides/usage.md#后端返回列和行)。
|
|
53
55
|
|
|
54
56
|
| 场景 | 代表组件 | 覆盖能力 |
|
package/README_EN.md
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
| Selective loading | 61 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.31.
|
|
36
|
+
The library handles UI and interaction. Applications supply business APIs, authentication, authorization, upload services and platform configuration. The current repository version is **0.31.5**. See the [changelog](./CHANGELOG.md) for release details.
|
|
37
37
|
|
|
38
38
|
Use `C_Select` for standalone selections and freeform tags. Multiple selections in forms and search share the compact tag summary. Date and time fields can bind directly to formatted API strings. See the [composition examples](./docs/guides/data-workflows.md#多选标签和日期时间) (Chinese).
|
|
39
39
|
|
|
@@ -49,6 +49,8 @@ Set `searchOnReset: true` to run both search and reset through `onSearch`. Use `
|
|
|
49
49
|
|
|
50
50
|
`C_Table` retains the native Naive UI empty state, including provider theme, locale and `componentOptions.DataTable.renderEmpty`. Use `#empty` to replace the content of one table.
|
|
51
51
|
|
|
52
|
+
In narrow `C_Table` cells, edit actions wrap so the input stays visible. Utility columns retain compact widths; an ordinary automatic column absorbs spare space. Explicit widths and saved width preferences remain effective.
|
|
53
|
+
|
|
52
54
|
`C_Table` shows row numbers and a pager by default and centers all cells, including numbers. Use `:row-number="false"` and `:pagination="false"` to disable the automatic index and pager respectively. Bind server-provided columns and rows directly as shown in the [usage guide](./docs/guides/usage.en.md).
|
|
53
55
|
|
|
54
56
|
| Scenario | Representative components | Capabilities |
|
package/dist/C_Table.base.css
CHANGED
|
@@ -1548,7 +1548,7 @@ to {
|
|
|
1548
1548
|
.px[data-v-2120e6fc]{padding-left:1rem;padding-right:1rem;}
|
|
1549
1549
|
.accent-blue-500[data-v-2120e6fc]{--un-accent-opacity:1;accent-color:rgb(59 130 246 / var(--un-accent-opacity));}
|
|
1550
1550
|
|
|
1551
|
-
.c-table-wrapper[data-v-
|
|
1551
|
+
.c-table-wrapper[data-v-b99266a4] {
|
|
1552
1552
|
--c-table-border-color: var(--border-color, #e5e7eb);
|
|
1553
1553
|
--c-table-bg: var(--body-color, #fff);
|
|
1554
1554
|
--c-table-header-bg: var(--card-color, #fafafc);
|
|
@@ -1559,55 +1559,55 @@ to {
|
|
|
1559
1559
|
width: 100%;
|
|
1560
1560
|
position: relative;
|
|
1561
1561
|
}
|
|
1562
|
-
.c-table-wrapper--compact[data-v-
|
|
1562
|
+
.c-table-wrapper--compact[data-v-b99266a4] {
|
|
1563
1563
|
--c-table-gap: 8px;
|
|
1564
1564
|
--c-table-button-font-size: 14px;
|
|
1565
1565
|
--c-table-cell-min-height: 28px;
|
|
1566
1566
|
--c-table-cell-padding: 2px 4px;
|
|
1567
1567
|
}
|
|
1568
|
-
.c-table-wrapper--default[data-v-
|
|
1568
|
+
.c-table-wrapper--default[data-v-b99266a4] {
|
|
1569
1569
|
--c-table-gap: 16px;
|
|
1570
1570
|
--c-table-button-font-size: 14px;
|
|
1571
1571
|
--c-table-cell-min-height: 36px;
|
|
1572
1572
|
--c-table-cell-padding: 6px 8px;
|
|
1573
1573
|
}
|
|
1574
|
-
.c-table-wrapper--comfortable[data-v-
|
|
1574
|
+
.c-table-wrapper--comfortable[data-v-b99266a4] {
|
|
1575
1575
|
--c-table-gap: 20px;
|
|
1576
1576
|
--c-table-button-font-size: 15px;
|
|
1577
1577
|
--c-table-cell-min-height: 40px;
|
|
1578
1578
|
--c-table-cell-padding: 8px 10px;
|
|
1579
1579
|
}
|
|
1580
|
-
.c-table-wrapper--flex[data-v-
|
|
1580
|
+
.c-table-wrapper--flex[data-v-b99266a4] {
|
|
1581
1581
|
display: flex;
|
|
1582
1582
|
flex-direction: column;
|
|
1583
1583
|
height: 100%;
|
|
1584
1584
|
min-height: 0;
|
|
1585
1585
|
}
|
|
1586
|
-
.c-table-wrapper--flex[data-v-
|
|
1587
|
-
.c-table-wrapper--flex > .table-error-state[data-v-
|
|
1586
|
+
.c-table-wrapper--flex[data-v-b99266a4] > .n-data-table,
|
|
1587
|
+
.c-table-wrapper--flex > .table-error-state[data-v-b99266a4] {
|
|
1588
1588
|
flex: 1;
|
|
1589
1589
|
min-height: 0;
|
|
1590
1590
|
}
|
|
1591
|
-
.c-table-wrapper--flex > .table-toolbar[data-v-
|
|
1592
|
-
.c-table-wrapper--flex > .batch-actions-bar[data-v-
|
|
1593
|
-
.c-table-wrapper--flex > .pagination-wrapper[data-v-
|
|
1591
|
+
.c-table-wrapper--flex > .table-toolbar[data-v-b99266a4],
|
|
1592
|
+
.c-table-wrapper--flex > .batch-actions-bar[data-v-b99266a4],
|
|
1593
|
+
.c-table-wrapper--flex > .pagination-wrapper[data-v-b99266a4] {
|
|
1594
1594
|
flex-shrink: 0;
|
|
1595
1595
|
}
|
|
1596
|
-
.column-drag-ghost[data-v-
|
|
1596
|
+
.column-drag-ghost[data-v-b99266a4] {
|
|
1597
1597
|
opacity: var(--c-table-drag-ghost-opacity);
|
|
1598
1598
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
1599
1599
|
}
|
|
1600
|
-
.drag-handle[data-v-
|
|
1600
|
+
.drag-handle[data-v-b99266a4] {
|
|
1601
1601
|
cursor: grab;
|
|
1602
1602
|
}
|
|
1603
|
-
.drag-handle[data-v-
|
|
1603
|
+
.drag-handle[data-v-b99266a4]:active {
|
|
1604
1604
|
cursor: grabbing;
|
|
1605
1605
|
}
|
|
1606
|
-
.c-table-wrapper[data-v-
|
|
1606
|
+
.c-table-wrapper[data-v-b99266a4] .n-data-table-tfoot {
|
|
1607
1607
|
background: var(--c-table-summary-bg);
|
|
1608
1608
|
font-weight: var(--c-table-summary-font-weight);
|
|
1609
1609
|
}
|
|
1610
|
-
.table-toolbar[data-v-
|
|
1610
|
+
.table-toolbar[data-v-b99266a4] {
|
|
1611
1611
|
display: flex;
|
|
1612
1612
|
justify-content: space-between;
|
|
1613
1613
|
align-items: center;
|
|
@@ -1615,29 +1615,29 @@ to {
|
|
|
1615
1615
|
gap: var(--c-table-gap, 12px);
|
|
1616
1616
|
flex-wrap: wrap;
|
|
1617
1617
|
}
|
|
1618
|
-
.table-toolbar .toolbar-left[data-v-
|
|
1618
|
+
.table-toolbar .toolbar-left[data-v-b99266a4] {
|
|
1619
1619
|
display: flex;
|
|
1620
1620
|
align-items: center;
|
|
1621
1621
|
gap: var(--c-table-gap, 12px);
|
|
1622
1622
|
flex-wrap: wrap;
|
|
1623
1623
|
min-width: 0;
|
|
1624
1624
|
}
|
|
1625
|
-
.table-toolbar .toolbar-right[data-v-
|
|
1625
|
+
.table-toolbar .toolbar-right[data-v-b99266a4] {
|
|
1626
1626
|
display: flex;
|
|
1627
1627
|
align-items: center;
|
|
1628
1628
|
gap: var(--c-table-gap, 8px);
|
|
1629
1629
|
flex-wrap: wrap;
|
|
1630
1630
|
}
|
|
1631
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
1631
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-b99266a4] {
|
|
1632
1632
|
opacity: 0.6;
|
|
1633
1633
|
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
1634
1634
|
cursor: pointer;
|
|
1635
1635
|
}
|
|
1636
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
1636
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-b99266a4]:hover {
|
|
1637
1637
|
opacity: 1;
|
|
1638
1638
|
transform: scale(1.1);
|
|
1639
1639
|
}
|
|
1640
|
-
.dynamic-rows-toolbar[data-v-
|
|
1640
|
+
.dynamic-rows-toolbar[data-v-b99266a4] {
|
|
1641
1641
|
margin-bottom: var(--c-table-gap, 16px);
|
|
1642
1642
|
padding: var(--c-table-gap, 16px);
|
|
1643
1643
|
border-radius: 8px;
|
|
@@ -1646,35 +1646,38 @@ to {
|
|
|
1646
1646
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
1647
1647
|
transition: all 0.2s ease;
|
|
1648
1648
|
}
|
|
1649
|
-
.dynamic-rows-toolbar[data-v-
|
|
1649
|
+
.dynamic-rows-toolbar[data-v-b99266a4]:hover {
|
|
1650
1650
|
border-color: var(--n-primary-color-suppl);
|
|
1651
1651
|
}
|
|
1652
|
-
[data-v-
|
|
1652
|
+
[data-v-b99266a4] .n-data-table {
|
|
1653
1653
|
table-layout: auto !important;
|
|
1654
1654
|
width: 100% !important;
|
|
1655
1655
|
border-radius: 8px;
|
|
1656
1656
|
overflow: hidden;
|
|
1657
1657
|
}
|
|
1658
|
-
[data-v-
|
|
1658
|
+
[data-v-b99266a4] .n-data-table-wrapper {
|
|
1659
1659
|
overflow-x: auto !important;
|
|
1660
1660
|
}
|
|
1661
|
-
.
|
|
1661
|
+
.c-table-wrapper[data-v-b99266a4] .n-data-table-table {
|
|
1662
|
+
width: var(--c-table-native-width, 100%);
|
|
1663
|
+
}
|
|
1664
|
+
.pagination-wrapper[data-v-b99266a4] {
|
|
1662
1665
|
margin-top: var(--c-table-gap, 16px);
|
|
1663
1666
|
display: flex;
|
|
1664
1667
|
justify-content: flex-end;
|
|
1665
1668
|
}
|
|
1666
|
-
[data-v-
|
|
1669
|
+
[data-v-b99266a4] .c-table-index-column {
|
|
1667
1670
|
padding-inline: 8px;
|
|
1668
1671
|
}
|
|
1669
|
-
[data-v-
|
|
1672
|
+
[data-v-b99266a4] .c-table-actions-column {
|
|
1670
1673
|
text-align: center !important;
|
|
1671
1674
|
padding: 8px 12px !important;
|
|
1672
1675
|
}
|
|
1673
|
-
[data-v-
|
|
1676
|
+
[data-v-b99266a4] .c-table-actions-column .n-space {
|
|
1674
1677
|
justify-content: center !important;
|
|
1675
1678
|
align-items: center !important;
|
|
1676
1679
|
}
|
|
1677
|
-
[data-v-
|
|
1680
|
+
[data-v-b99266a4] .cell-edit-wrapper {
|
|
1678
1681
|
display: flex;
|
|
1679
1682
|
align-items: center;
|
|
1680
1683
|
justify-content: space-between;
|
|
@@ -1686,18 +1689,18 @@ to {
|
|
|
1686
1689
|
cursor: pointer;
|
|
1687
1690
|
position: relative;
|
|
1688
1691
|
}
|
|
1689
|
-
[data-v-
|
|
1692
|
+
[data-v-b99266a4] .cell-edit-wrapper:hover {
|
|
1690
1693
|
background-color: var(--n-color-target);
|
|
1691
1694
|
}
|
|
1692
|
-
[data-v-
|
|
1695
|
+
[data-v-b99266a4] .cell-edit-wrapper:hover .cell-edit-icon {
|
|
1693
1696
|
opacity: 1;
|
|
1694
1697
|
color: var(--n-color-success);
|
|
1695
1698
|
transform: scale(1.05);
|
|
1696
1699
|
}
|
|
1697
|
-
[data-v-
|
|
1700
|
+
[data-v-b99266a4] .cell-edit-wrapper:active {
|
|
1698
1701
|
transform: translateY(1px);
|
|
1699
1702
|
}
|
|
1700
|
-
[data-v-
|
|
1703
|
+
[data-v-b99266a4] .cell-value {
|
|
1701
1704
|
flex: 1;
|
|
1702
1705
|
overflow: hidden;
|
|
1703
1706
|
text-overflow: ellipsis;
|
|
@@ -1706,7 +1709,7 @@ to {
|
|
|
1706
1709
|
line-height: 1.4;
|
|
1707
1710
|
font-size: 13px;
|
|
1708
1711
|
}
|
|
1709
|
-
.c-table-wrapper[data-v-
|
|
1712
|
+
.c-table-wrapper[data-v-b99266a4] .cell-edit-icon {
|
|
1710
1713
|
flex-shrink: 0;
|
|
1711
1714
|
width: 24px;
|
|
1712
1715
|
height: 24px;
|
|
@@ -1721,21 +1724,22 @@ to {
|
|
|
1721
1724
|
opacity: 0;
|
|
1722
1725
|
position: relative;
|
|
1723
1726
|
}
|
|
1724
|
-
.c-table-wrapper[data-v-
|
|
1727
|
+
.c-table-wrapper[data-v-b99266a4] .cell-edit-icon:hover {
|
|
1725
1728
|
opacity: 1 !important;
|
|
1726
1729
|
color: var(--n-color-success-hover) !important;
|
|
1727
1730
|
background-color: var(--n-color-success-pressed);
|
|
1728
1731
|
transform: scale(1.1);
|
|
1729
1732
|
}
|
|
1730
|
-
.c-table-wrapper[data-v-
|
|
1733
|
+
.c-table-wrapper[data-v-b99266a4] .cell-edit-icon:active {
|
|
1731
1734
|
transform: scale(0.95);
|
|
1732
1735
|
}
|
|
1733
|
-
.c-table-wrapper[data-v-
|
|
1736
|
+
.c-table-wrapper[data-v-b99266a4] .cell-edit-icon svg {
|
|
1734
1737
|
width: 14px;
|
|
1735
1738
|
height: 14px;
|
|
1736
1739
|
}
|
|
1737
|
-
|
|
1740
|
+
[data-v-b99266a4] .cell-editing-container {
|
|
1738
1741
|
display: flex !important;
|
|
1742
|
+
flex-wrap: wrap;
|
|
1739
1743
|
align-items: center !important;
|
|
1740
1744
|
width: 100% !important;
|
|
1741
1745
|
min-height: var(--c-table-cell-min-height, 36px) !important;
|
|
@@ -1746,35 +1750,36 @@ to {
|
|
|
1746
1750
|
box-shadow: 0 0 0 2px var(--n-primary-color-suppl) !important;
|
|
1747
1751
|
gap: 8px !important;
|
|
1748
1752
|
}
|
|
1749
|
-
|
|
1750
|
-
flex: 1 !important;
|
|
1753
|
+
[data-v-b99266a4] .cell-editing-input {
|
|
1754
|
+
flex: 1 0 6rem !important;
|
|
1751
1755
|
min-width: 0 !important;
|
|
1756
|
+
max-width: 100%;
|
|
1752
1757
|
}
|
|
1753
|
-
[data-v-
|
|
1758
|
+
[data-v-b99266a4] .cell-editing-input .n-input {
|
|
1754
1759
|
border: none !important;
|
|
1755
1760
|
box-shadow: none !important;
|
|
1756
1761
|
background: transparent !important;
|
|
1757
1762
|
}
|
|
1758
|
-
[data-v-
|
|
1763
|
+
[data-v-b99266a4] .cell-editing-input .n-input.n-input--focus {
|
|
1759
1764
|
border: none !important;
|
|
1760
1765
|
box-shadow: none !important;
|
|
1761
1766
|
}
|
|
1762
|
-
[data-v-
|
|
1767
|
+
[data-v-b99266a4] .cell-editing-input .n-input-number {
|
|
1763
1768
|
border: none !important;
|
|
1764
1769
|
box-shadow: none !important;
|
|
1765
1770
|
background: transparent !important;
|
|
1766
1771
|
}
|
|
1767
|
-
[data-v-
|
|
1772
|
+
[data-v-b99266a4] .cell-editing-input .n-select {
|
|
1768
1773
|
border: none !important;
|
|
1769
1774
|
box-shadow: none !important;
|
|
1770
1775
|
background: transparent !important;
|
|
1771
1776
|
}
|
|
1772
|
-
[data-v-
|
|
1777
|
+
[data-v-b99266a4] .cell-editing-input .n-select .n-base-selection {
|
|
1773
1778
|
border: none !important;
|
|
1774
1779
|
box-shadow: none !important;
|
|
1775
1780
|
background: transparent !important;
|
|
1776
1781
|
}
|
|
1777
|
-
|
|
1782
|
+
[data-v-b99266a4] .cell-editing-actions {
|
|
1778
1783
|
display: flex !important;
|
|
1779
1784
|
flex-shrink: 0 !important;
|
|
1780
1785
|
align-items: center !important;
|
|
@@ -1785,7 +1790,7 @@ to {
|
|
|
1785
1790
|
padding: 2px !important;
|
|
1786
1791
|
box-shadow: var(--n-box-shadow) !important;
|
|
1787
1792
|
}
|
|
1788
|
-
|
|
1793
|
+
[data-v-b99266a4] .cell-action-btn {
|
|
1789
1794
|
display: flex !important;
|
|
1790
1795
|
align-items: center !important;
|
|
1791
1796
|
justify-content: center !important;
|
|
@@ -1797,25 +1802,25 @@ to {
|
|
|
1797
1802
|
transition: all 0.2s ease !important;
|
|
1798
1803
|
background: transparent !important;
|
|
1799
1804
|
}
|
|
1800
|
-
|
|
1805
|
+
[data-v-b99266a4] .cell-action-btn.cell-action-save {
|
|
1801
1806
|
color: var(--n-color-success) !important;
|
|
1802
1807
|
}
|
|
1803
|
-
|
|
1808
|
+
[data-v-b99266a4] .cell-action-btn.cell-action-save:hover {
|
|
1804
1809
|
background: var(--n-color-success-pressed) !important;
|
|
1805
1810
|
transform: scale(1.1) !important;
|
|
1806
1811
|
}
|
|
1807
|
-
|
|
1812
|
+
[data-v-b99266a4] .cell-action-btn.cell-action-cancel {
|
|
1808
1813
|
color: var(--n-color-error) !important;
|
|
1809
1814
|
}
|
|
1810
|
-
|
|
1815
|
+
[data-v-b99266a4] .cell-action-btn.cell-action-cancel:hover {
|
|
1811
1816
|
background: var(--n-color-error-pressed) !important;
|
|
1812
1817
|
transform: scale(1.1) !important;
|
|
1813
1818
|
}
|
|
1814
|
-
|
|
1819
|
+
[data-v-b99266a4] .cell-action-btn svg {
|
|
1815
1820
|
width: 11px !important;
|
|
1816
1821
|
height: 11px !important;
|
|
1817
1822
|
}
|
|
1818
|
-
[data-v-
|
|
1823
|
+
[data-v-b99266a4] .n-button {
|
|
1819
1824
|
white-space: nowrap;
|
|
1820
1825
|
font-size: var(--c-table-button-font-size, 12px) !important;
|
|
1821
1826
|
flex-shrink: 0 !important;
|
|
@@ -1823,106 +1828,106 @@ to {
|
|
|
1823
1828
|
transition: all 0.2s ease;
|
|
1824
1829
|
font-weight: 500;
|
|
1825
1830
|
}
|
|
1826
|
-
[data-v-
|
|
1831
|
+
[data-v-b99266a4] .n-button .n-icon {
|
|
1827
1832
|
margin-right: 4px !important;
|
|
1828
1833
|
}
|
|
1829
|
-
[data-v-
|
|
1834
|
+
[data-v-b99266a4] .n-button.n-button--small-type {
|
|
1830
1835
|
padding: 4px 8px;
|
|
1831
1836
|
height: 28px;
|
|
1832
1837
|
line-height: 20px;
|
|
1833
1838
|
}
|
|
1834
|
-
[data-v-
|
|
1839
|
+
[data-v-b99266a4] .n-button.n-button--quaternary-type:hover {
|
|
1835
1840
|
transform: translateY(-1px);
|
|
1836
1841
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
1837
1842
|
}
|
|
1838
|
-
[data-v-
|
|
1843
|
+
[data-v-b99266a4] .n-button.n-button--quaternary-type:active {
|
|
1839
1844
|
transform: translateY(0);
|
|
1840
1845
|
}
|
|
1841
|
-
[data-v-
|
|
1846
|
+
[data-v-b99266a4] .n-space.n-space--horizontal .n-space-item:not(:last-child) {
|
|
1842
1847
|
margin-right: 6px !important;
|
|
1843
1848
|
}
|
|
1844
|
-
[data-v-
|
|
1849
|
+
[data-v-b99266a4] .n-modal .n-card {
|
|
1845
1850
|
border-radius: 12px;
|
|
1846
1851
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
1847
1852
|
}
|
|
1848
|
-
[data-v-
|
|
1853
|
+
[data-v-b99266a4] .n-modal .n-card__header {
|
|
1849
1854
|
padding: 20px 24px 16px;
|
|
1850
1855
|
font-weight: 600;
|
|
1851
1856
|
font-size: 16px;
|
|
1852
1857
|
}
|
|
1853
|
-
[data-v-
|
|
1858
|
+
[data-v-b99266a4] .n-modal .n-card__content {
|
|
1854
1859
|
padding: 0 24px 16px;
|
|
1855
1860
|
}
|
|
1856
|
-
[data-v-
|
|
1861
|
+
[data-v-b99266a4] .n-modal .n-card__action {
|
|
1857
1862
|
padding: 16px 24px 20px;
|
|
1858
1863
|
border-top: 1px solid var(--n-divider-color);
|
|
1859
1864
|
}
|
|
1860
|
-
[data-v-
|
|
1865
|
+
[data-v-b99266a4] .n-descriptions .n-descriptions-item-label {
|
|
1861
1866
|
font-weight: 500;
|
|
1862
1867
|
color: var(--n-text-color-2);
|
|
1863
1868
|
}
|
|
1864
|
-
[data-v-
|
|
1869
|
+
[data-v-b99266a4] .n-descriptions .n-descriptions-item-content {
|
|
1865
1870
|
color: var(--n-text-color-1);
|
|
1866
1871
|
word-break: break-all;
|
|
1867
1872
|
}
|
|
1868
1873
|
@media (max-width: 768px) {
|
|
1869
|
-
.c-table-wrapper[data-v-
|
|
1874
|
+
.c-table-wrapper[data-v-b99266a4] {
|
|
1870
1875
|
overflow-x: auto;
|
|
1871
1876
|
}
|
|
1872
|
-
[data-v-
|
|
1877
|
+
[data-v-b99266a4] .n-button {
|
|
1873
1878
|
font-size: 11px !important;
|
|
1874
1879
|
padding: 3px 6px;
|
|
1875
1880
|
}
|
|
1876
|
-
[data-v-
|
|
1881
|
+
[data-v-b99266a4] .n-button .n-icon {
|
|
1877
1882
|
margin-right: 2px !important;
|
|
1878
1883
|
}
|
|
1879
|
-
.cell-edit-icon[data-v-
|
|
1884
|
+
.cell-edit-icon[data-v-b99266a4] {
|
|
1880
1885
|
opacity: 0.6;
|
|
1881
1886
|
}
|
|
1882
1887
|
}
|
|
1883
1888
|
@media (max-width: 768px) {
|
|
1884
|
-
|
|
1889
|
+
[data-v-b99266a4] .cell-editing-container {
|
|
1885
1890
|
gap: 6px !important;
|
|
1886
1891
|
}
|
|
1887
|
-
|
|
1892
|
+
[data-v-b99266a4] .cell-editing-actions {
|
|
1888
1893
|
gap: 3px !important;
|
|
1889
1894
|
padding: 2px !important;
|
|
1890
1895
|
}
|
|
1891
|
-
|
|
1896
|
+
[data-v-b99266a4] .cell-action-btn {
|
|
1892
1897
|
width: 18px !important;
|
|
1893
1898
|
height: 18px !important;
|
|
1894
1899
|
}
|
|
1895
|
-
|
|
1900
|
+
[data-v-b99266a4] .cell-action-btn svg {
|
|
1896
1901
|
width: 10px !important;
|
|
1897
1902
|
height: 10px !important;
|
|
1898
1903
|
}
|
|
1899
|
-
.cell-edit-icon[data-v-
|
|
1904
|
+
.cell-edit-icon[data-v-b99266a4] {
|
|
1900
1905
|
opacity: 0.6 !important;
|
|
1901
1906
|
}
|
|
1902
|
-
[data-v-
|
|
1907
|
+
[data-v-b99266a4] .cell-value {
|
|
1903
1908
|
margin-right: 12px !important;
|
|
1904
1909
|
}
|
|
1905
1910
|
}
|
|
1906
|
-
[data-v-
|
|
1911
|
+
[data-v-b99266a4] .cell-edit-wrapper:focus-within,[data-v-b99266a4] .cell-editing-container:focus-within {
|
|
1907
1912
|
outline: 2px solid var(--n-primary-color);
|
|
1908
1913
|
outline-offset: 2px;
|
|
1909
1914
|
}
|
|
1910
1915
|
@media (prefers-contrast: high) {
|
|
1911
|
-
.cell-edit-icon[data-v-
|
|
1916
|
+
.cell-edit-icon[data-v-b99266a4] {
|
|
1912
1917
|
opacity: 0.8;
|
|
1913
1918
|
}
|
|
1914
|
-
.cell-editing-actions[data-v-
|
|
1919
|
+
.cell-editing-actions[data-v-b99266a4] {
|
|
1915
1920
|
border-width: 2px;
|
|
1916
1921
|
}
|
|
1917
1922
|
}
|
|
1918
|
-
.row-drag-ghost[data-v-
|
|
1923
|
+
.row-drag-ghost[data-v-b99266a4] {
|
|
1919
1924
|
opacity: 0.4;
|
|
1920
1925
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
1921
1926
|
}
|
|
1922
|
-
.row-drag-chosen[data-v-
|
|
1927
|
+
.row-drag-chosen[data-v-b99266a4] {
|
|
1923
1928
|
background: var(--n-color-hover, #f5f5f5) !important;
|
|
1924
1929
|
}
|
|
1925
|
-
.batch-actions-bar[data-v-
|
|
1930
|
+
.batch-actions-bar[data-v-b99266a4] {
|
|
1926
1931
|
display: flex;
|
|
1927
1932
|
align-items: center;
|
|
1928
1933
|
justify-content: space-between;
|
|
@@ -1932,57 +1937,57 @@ to {
|
|
|
1932
1937
|
border-radius: 6px;
|
|
1933
1938
|
border: 1px solid var(--n-primary-color-suppl, #70b3ff);
|
|
1934
1939
|
}
|
|
1935
|
-
.batch-actions-bar .batch-info[data-v-
|
|
1940
|
+
.batch-actions-bar .batch-info[data-v-b99266a4] {
|
|
1936
1941
|
font-size: 13px;
|
|
1937
1942
|
color: var(--n-text-color-2);
|
|
1938
1943
|
font-weight: 500;
|
|
1939
1944
|
}
|
|
1940
|
-
.table-error-state[data-v-
|
|
1945
|
+
.table-error-state[data-v-b99266a4] {
|
|
1941
1946
|
padding: 48px 24px;
|
|
1942
1947
|
text-align: center;
|
|
1943
1948
|
}
|
|
1944
|
-
.table-error-state .error-content[data-v-
|
|
1949
|
+
.table-error-state .error-content[data-v-b99266a4] {
|
|
1945
1950
|
display: flex;
|
|
1946
1951
|
flex-direction: column;
|
|
1947
1952
|
align-items: center;
|
|
1948
1953
|
gap: 12px;
|
|
1949
1954
|
color: var(--n-text-color-3, #999);
|
|
1950
1955
|
}
|
|
1951
|
-
.table-error-state .error-message[data-v-
|
|
1956
|
+
.table-error-state .error-message[data-v-b99266a4] {
|
|
1952
1957
|
font-size: 14px;
|
|
1953
1958
|
margin: 0;
|
|
1954
1959
|
color: var(--n-text-color-2, #666);
|
|
1955
1960
|
}
|
|
1956
|
-
.c-table-wrapper[data-v-
|
|
1957
|
-
.c-table-wrapper[data-v-
|
|
1961
|
+
.c-table-wrapper[data-v-b99266a4] .n-data-table-th__ellipsis,
|
|
1962
|
+
.c-table-wrapper[data-v-b99266a4] .n-data-table-th__title .n-ellipsis {
|
|
1958
1963
|
overflow: visible;
|
|
1959
1964
|
text-overflow: clip;
|
|
1960
1965
|
max-width: none;
|
|
1961
1966
|
}
|
|
1962
1967
|
|
|
1963
1968
|
/* layer: default */
|
|
1964
|
-
.visible[data-v-
|
|
1965
|
-
.fixed[data-v-
|
|
1966
|
-
.grid[data-v-
|
|
1967
|
-
.mb-2[data-v-
|
|
1968
|
-
.mb-4[data-v-
|
|
1969
|
-
.ml-2[data-v-
|
|
1970
|
-
.flex[data-v-
|
|
1971
|
-
.table[data-v-
|
|
1972
|
-
.scale-110[data-v-
|
|
1973
|
-
.cursor-pointer[data-v-
|
|
1974
|
-
.items-center[data-v-
|
|
1975
|
-
.justify-end[data-v-
|
|
1976
|
-
.justify-center[data-v-
|
|
1977
|
-
.rd[data-v-
|
|
1978
|
-
.bg-gray-50[data-v-
|
|
1979
|
-
.p-4[data-v-
|
|
1980
|
-
.px[data-v-
|
|
1981
|
-
.py-8[data-v-
|
|
1982
|
-
.text-center[data-v-
|
|
1983
|
-
.text-sm[data-v-
|
|
1984
|
-
.text-gray-400[data-v-
|
|
1985
|
-
.text-gray-500[data-v-
|
|
1986
|
-
.text-gray-600[data-v-
|
|
1987
|
-
.accent-blue-500[data-v-
|
|
1988
|
-
.filter[data-v-
|
|
1969
|
+
.visible[data-v-b99266a4]{visibility:visible;}
|
|
1970
|
+
.fixed[data-v-b99266a4]{position:fixed;}
|
|
1971
|
+
.grid[data-v-b99266a4]{display:grid;}
|
|
1972
|
+
.mb-2[data-v-b99266a4]{margin-bottom:0.5rem;}
|
|
1973
|
+
.mb-4[data-v-b99266a4]{margin-bottom:1rem;}
|
|
1974
|
+
.ml-2[data-v-b99266a4]{margin-left:0.5rem;}
|
|
1975
|
+
.flex[data-v-b99266a4]{display:flex;}
|
|
1976
|
+
.table[data-v-b99266a4]{display:table;}
|
|
1977
|
+
.scale-110[data-v-b99266a4]{--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));}
|
|
1978
|
+
.cursor-pointer[data-v-b99266a4]{cursor:pointer;}
|
|
1979
|
+
.items-center[data-v-b99266a4]{align-items:center;}
|
|
1980
|
+
.justify-end[data-v-b99266a4]{justify-content:flex-end;}
|
|
1981
|
+
.justify-center[data-v-b99266a4]{justify-content:center;}
|
|
1982
|
+
.rd[data-v-b99266a4]{border-radius:0.25rem;}
|
|
1983
|
+
.bg-gray-50[data-v-b99266a4]{--un-bg-opacity:1;background-color:rgb(249 250 251 / var(--un-bg-opacity));}
|
|
1984
|
+
.p-4[data-v-b99266a4]{padding:1rem;}
|
|
1985
|
+
.px[data-v-b99266a4]{padding-left:1rem;padding-right:1rem;}
|
|
1986
|
+
.py-8[data-v-b99266a4]{padding-top:2rem;padding-bottom:2rem;}
|
|
1987
|
+
.text-center[data-v-b99266a4]{text-align:center;}
|
|
1988
|
+
.text-sm[data-v-b99266a4]{font-size:0.875rem;line-height:1.25rem;}
|
|
1989
|
+
.text-gray-400[data-v-b99266a4]{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity));}
|
|
1990
|
+
.text-gray-500[data-v-b99266a4]{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity));}
|
|
1991
|
+
.text-gray-600[data-v-b99266a4]{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity));}
|
|
1992
|
+
.accent-blue-500[data-v-b99266a4]{--un-accent-opacity:1;accent-color:rgb(59 130 246 / var(--un-accent-opacity));}
|
|
1993
|
+
.filter[data-v-b99266a4]{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);}
|