@robot-admin/naive-ui-components 0.23.1 → 0.23.2
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 +130 -108
- package/dist/C_Table.css +130 -108
- package/dist/C_Table2.cjs +2 -2
- 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 +3 -3
- package/dist/constants2.d.ts +3 -3
- package/dist/constants3.d.cts +3 -3
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.cts +1 -1
- package/dist/constants4.d.ts +1 -1
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data2.d.cts +7 -7
- package/dist/data2.d.ts +7 -7
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +7 -7
- package/dist/index10.vue.d.ts +4 -4
- package/dist/index11.vue.d.cts +4 -4
- package/dist/index13.vue.d.ts +5 -5
- package/dist/index14.vue.d.cts +5 -5
- package/dist/index15.vue.d.ts +10 -10
- package/dist/index16.vue.d.cts +10 -10
- package/dist/index16.vue.d.ts +1 -1
- package/dist/index17.vue.d.cts +1 -1
- package/dist/index19.vue.d.ts +2 -2
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +2 -2
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index23.vue.d.cts +2 -2
- 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/index27.vue.d.cts +2 -2
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index28.vue.d.cts +2 -2
- package/dist/index28.vue.d.ts +2 -2
- package/dist/index29.vue.d.cts +1 -1
- package/dist/index29.vue.d.ts +1 -1
- package/dist/index3.vue.d.cts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index9.vue.d.ts +7 -7
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/style.css +130 -108
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +2 -2
- package/dist/useCollapsePanel.d.ts +2 -2
- package/dist/useComponentLocale.cjs +1 -1
- package/dist/useComponentLocale.js +1 -1
- package/dist/useCropperCore.d.cts +12 -12
- package/dist/useCropperCore.d.ts +12 -12
- package/dist/useDynamicFormState.d.cts +11 -9
- package/dist/useDynamicFormState.d.ts +11 -9
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useGlobalSearch.d.cts +1 -1
- package/dist/useGlobalSearch.d.ts +1 -1
- package/dist/useInfiniteScroll.d.cts +4 -4
- package/dist/useInfiniteScroll.d.ts +4 -4
- package/dist/useQRCode.d.cts +4 -4
- package/dist/useQRCode.d.ts +4 -4
- package/dist/useSignatureHistory.d.cts +6 -6
- package/dist/useSignatureHistory.d.ts +6 -6
- package/dist/useSplitResize.d.cts +10 -10
- package/dist/useSplitResize.d.ts +10 -10
- package/dist/useWorkflowValidation.d.cts +96 -96
- package/dist/useWorkflowValidation.d.ts +96 -96
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- 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.23.
|
|
36
|
+
组件库负责界面与交互;业务接口、身份权限、上传服务和第三方平台配置由应用接入。当前仓库版本 **0.23.2**,版本变化见 [CHANGELOG](./CHANGELOG.md)。
|
|
37
37
|
|
|
38
38
|
表单与搜索共用 `config.density: 'compact'`:收紧字段、布局和空校验区,实际错误仍自然展开。表单弹窗默认紧凑,页脚按钮 22px;搜索可继承应用密度。紧凑数字输入默认隐藏步进按钮,保留键盘、精度和上下限,也可逐字段开启。按需设置默认值与显式覆盖见[表单密度](./docs/guides/form-density.md)。
|
|
39
39
|
|
|
@@ -41,6 +41,8 @@
|
|
|
41
41
|
|
|
42
42
|
## 能力地图
|
|
43
43
|
|
|
44
|
+
`C_Table` 默认空态采用内置的淡蓝表格卡片与放大镜插画,亮暗主题跟随 Naive Provider。无需页面补样式;用 `#empty` 完整替换内容,或通过 `config.locale.messages` 的 `table.empty` / `table.emptyHint` 覆盖文案。已有全局 `emptyText` 覆盖标题,加载与错误状态保持独立。
|
|
45
|
+
|
|
44
46
|
| 场景 | 代表组件 | 覆盖能力 |
|
|
45
47
|
| ---------- | ---------------------------------------------------------------- | -------------------------------------------------------- |
|
|
46
48
|
| 数据录入 | `C_Form` · `C_FormModal` · `C_FormSearch` | 动态字段、校验、异步提交、搜索与新增/编辑弹窗 |
|
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.23.
|
|
36
|
+
The library handles UI and interaction. Applications supply business APIs, authentication, authorization, upload services and platform configuration. The current repository version is **0.23.2**; 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
|
|
|
@@ -41,6 +41,8 @@ Business workspaces can share dictionary providers, container-aware search, regi
|
|
|
41
41
|
|
|
42
42
|
## Capability map
|
|
43
43
|
|
|
44
|
+
`C_Table` includes a soft-blue table/search illustration that follows the Naive light/dark provider. Override it with `#empty`, or change `table.empty` / `table.emptyHint` through `config.locale.messages`. The existing global `emptyText` controls the title. Loading and error states remain separate.
|
|
45
|
+
|
|
44
46
|
| Scenario | Representative components | Capabilities |
|
|
45
47
|
| --------------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
|
|
46
48
|
| Data entry | `C_Form` · `C_FormModal` · `C_FormSearch` | Dynamic fields, validation, async submission, search and create/edit dialogs |
|
package/dist/C_Table.base.css
CHANGED
|
@@ -1588,7 +1588,29 @@ 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
|
-
|
|
1591
|
+
/* 矢量使用 SVG 展示属性,样式仅管理排版,避免增加表格公共样式负担。 */
|
|
1592
|
+
.c-table-empty[data-v-b2a0a10f] {
|
|
1593
|
+
min-width: 0;
|
|
1594
|
+
text-align: center;
|
|
1595
|
+
overflow-wrap: anywhere;
|
|
1596
|
+
}
|
|
1597
|
+
.c-table-empty__title[data-v-b2a0a10f] {
|
|
1598
|
+
color: var(--c-table-empty-fg);
|
|
1599
|
+
font-size: 14px;
|
|
1600
|
+
font-weight: 500;
|
|
1601
|
+
line-height: 22px;
|
|
1602
|
+
}
|
|
1603
|
+
.c-table-empty__hint[data-v-b2a0a10f] {
|
|
1604
|
+
color: var(--c-table-empty-hint);
|
|
1605
|
+
font-size: 12px;
|
|
1606
|
+
line-height: 20px;
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
/* layer: default */
|
|
1610
|
+
.m77[data-v-b2a0a10f]{margin:19.25rem;}
|
|
1611
|
+
.block[data-v-b2a0a10f]{display:block;}
|
|
1612
|
+
|
|
1613
|
+
.c-table-wrapper[data-v-edcf4c02] {
|
|
1592
1614
|
--c-table-border-color: var(--border-color, #e5e7eb);
|
|
1593
1615
|
--c-table-bg: var(--body-color, #fff);
|
|
1594
1616
|
--c-table-header-bg: var(--card-color, #fafafc);
|
|
@@ -1599,55 +1621,55 @@ to {
|
|
|
1599
1621
|
width: 100%;
|
|
1600
1622
|
position: relative;
|
|
1601
1623
|
}
|
|
1602
|
-
.c-table-wrapper--compact[data-v-
|
|
1624
|
+
.c-table-wrapper--compact[data-v-edcf4c02] {
|
|
1603
1625
|
--c-table-gap: 8px;
|
|
1604
1626
|
--c-table-button-font-size: 14px;
|
|
1605
1627
|
--c-table-cell-min-height: 28px;
|
|
1606
1628
|
--c-table-cell-padding: 2px 4px;
|
|
1607
1629
|
}
|
|
1608
|
-
.c-table-wrapper--default[data-v-
|
|
1630
|
+
.c-table-wrapper--default[data-v-edcf4c02] {
|
|
1609
1631
|
--c-table-gap: 16px;
|
|
1610
1632
|
--c-table-button-font-size: 14px;
|
|
1611
1633
|
--c-table-cell-min-height: 36px;
|
|
1612
1634
|
--c-table-cell-padding: 6px 8px;
|
|
1613
1635
|
}
|
|
1614
|
-
.c-table-wrapper--comfortable[data-v-
|
|
1636
|
+
.c-table-wrapper--comfortable[data-v-edcf4c02] {
|
|
1615
1637
|
--c-table-gap: 20px;
|
|
1616
1638
|
--c-table-button-font-size: 15px;
|
|
1617
1639
|
--c-table-cell-min-height: 40px;
|
|
1618
1640
|
--c-table-cell-padding: 8px 10px;
|
|
1619
1641
|
}
|
|
1620
|
-
.c-table-wrapper--flex[data-v-
|
|
1642
|
+
.c-table-wrapper--flex[data-v-edcf4c02] {
|
|
1621
1643
|
display: flex;
|
|
1622
1644
|
flex-direction: column;
|
|
1623
1645
|
height: 100%;
|
|
1624
1646
|
min-height: 0;
|
|
1625
1647
|
}
|
|
1626
|
-
.c-table-wrapper--flex[data-v-
|
|
1627
|
-
.c-table-wrapper--flex > .table-error-state[data-v-
|
|
1648
|
+
.c-table-wrapper--flex[data-v-edcf4c02] > .n-data-table,
|
|
1649
|
+
.c-table-wrapper--flex > .table-error-state[data-v-edcf4c02] {
|
|
1628
1650
|
flex: 1;
|
|
1629
1651
|
min-height: 0;
|
|
1630
1652
|
}
|
|
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-
|
|
1653
|
+
.c-table-wrapper--flex > .table-toolbar[data-v-edcf4c02],
|
|
1654
|
+
.c-table-wrapper--flex > .batch-actions-bar[data-v-edcf4c02],
|
|
1655
|
+
.c-table-wrapper--flex > .pagination-wrapper[data-v-edcf4c02] {
|
|
1634
1656
|
flex-shrink: 0;
|
|
1635
1657
|
}
|
|
1636
|
-
.column-drag-ghost[data-v-
|
|
1658
|
+
.column-drag-ghost[data-v-edcf4c02] {
|
|
1637
1659
|
opacity: var(--c-table-drag-ghost-opacity);
|
|
1638
1660
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
1639
1661
|
}
|
|
1640
|
-
.drag-handle[data-v-
|
|
1662
|
+
.drag-handle[data-v-edcf4c02] {
|
|
1641
1663
|
cursor: grab;
|
|
1642
1664
|
}
|
|
1643
|
-
.drag-handle[data-v-
|
|
1665
|
+
.drag-handle[data-v-edcf4c02]:active {
|
|
1644
1666
|
cursor: grabbing;
|
|
1645
1667
|
}
|
|
1646
|
-
.c-table-wrapper[data-v-
|
|
1668
|
+
.c-table-wrapper[data-v-edcf4c02] .n-data-table-tfoot {
|
|
1647
1669
|
background: var(--c-table-summary-bg);
|
|
1648
1670
|
font-weight: var(--c-table-summary-font-weight);
|
|
1649
1671
|
}
|
|
1650
|
-
.table-toolbar[data-v-
|
|
1672
|
+
.table-toolbar[data-v-edcf4c02] {
|
|
1651
1673
|
display: flex;
|
|
1652
1674
|
justify-content: space-between;
|
|
1653
1675
|
align-items: center;
|
|
@@ -1655,29 +1677,29 @@ to {
|
|
|
1655
1677
|
gap: var(--c-table-gap, 12px);
|
|
1656
1678
|
flex-wrap: wrap;
|
|
1657
1679
|
}
|
|
1658
|
-
.table-toolbar .toolbar-left[data-v-
|
|
1680
|
+
.table-toolbar .toolbar-left[data-v-edcf4c02] {
|
|
1659
1681
|
display: flex;
|
|
1660
1682
|
align-items: center;
|
|
1661
1683
|
gap: var(--c-table-gap, 12px);
|
|
1662
1684
|
flex-wrap: wrap;
|
|
1663
1685
|
min-width: 0;
|
|
1664
1686
|
}
|
|
1665
|
-
.table-toolbar .toolbar-right[data-v-
|
|
1687
|
+
.table-toolbar .toolbar-right[data-v-edcf4c02] {
|
|
1666
1688
|
display: flex;
|
|
1667
1689
|
align-items: center;
|
|
1668
1690
|
gap: var(--c-table-gap, 8px);
|
|
1669
1691
|
flex-wrap: wrap;
|
|
1670
1692
|
}
|
|
1671
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
1693
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-edcf4c02] {
|
|
1672
1694
|
opacity: 0.6;
|
|
1673
1695
|
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
1674
1696
|
cursor: pointer;
|
|
1675
1697
|
}
|
|
1676
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
1698
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-edcf4c02]:hover {
|
|
1677
1699
|
opacity: 1;
|
|
1678
1700
|
transform: scale(1.1);
|
|
1679
1701
|
}
|
|
1680
|
-
.dynamic-rows-toolbar[data-v-
|
|
1702
|
+
.dynamic-rows-toolbar[data-v-edcf4c02] {
|
|
1681
1703
|
margin-bottom: var(--c-table-gap, 16px);
|
|
1682
1704
|
padding: var(--c-table-gap, 16px);
|
|
1683
1705
|
border-radius: 8px;
|
|
@@ -1686,35 +1708,35 @@ to {
|
|
|
1686
1708
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
1687
1709
|
transition: all 0.2s ease;
|
|
1688
1710
|
}
|
|
1689
|
-
.dynamic-rows-toolbar[data-v-
|
|
1711
|
+
.dynamic-rows-toolbar[data-v-edcf4c02]:hover {
|
|
1690
1712
|
border-color: var(--n-primary-color-suppl);
|
|
1691
1713
|
}
|
|
1692
|
-
[data-v-
|
|
1714
|
+
[data-v-edcf4c02] .n-data-table {
|
|
1693
1715
|
table-layout: auto !important;
|
|
1694
1716
|
width: 100% !important;
|
|
1695
1717
|
border-radius: 8px;
|
|
1696
1718
|
overflow: hidden;
|
|
1697
1719
|
}
|
|
1698
|
-
[data-v-
|
|
1720
|
+
[data-v-edcf4c02] .n-data-table-wrapper {
|
|
1699
1721
|
overflow-x: auto !important;
|
|
1700
1722
|
}
|
|
1701
|
-
.pagination-wrapper[data-v-
|
|
1723
|
+
.pagination-wrapper[data-v-edcf4c02] {
|
|
1702
1724
|
margin-top: var(--c-table-gap, 16px);
|
|
1703
1725
|
display: flex;
|
|
1704
1726
|
justify-content: flex-end;
|
|
1705
1727
|
}
|
|
1706
|
-
[data-v-
|
|
1728
|
+
[data-v-edcf4c02] .c-table-index-column {
|
|
1707
1729
|
padding-inline: 8px;
|
|
1708
1730
|
}
|
|
1709
|
-
[data-v-
|
|
1731
|
+
[data-v-edcf4c02] .c-table-actions-column {
|
|
1710
1732
|
text-align: center !important;
|
|
1711
1733
|
padding: 8px 12px !important;
|
|
1712
1734
|
}
|
|
1713
|
-
[data-v-
|
|
1735
|
+
[data-v-edcf4c02] .c-table-actions-column .n-space {
|
|
1714
1736
|
justify-content: center !important;
|
|
1715
1737
|
align-items: center !important;
|
|
1716
1738
|
}
|
|
1717
|
-
[data-v-
|
|
1739
|
+
[data-v-edcf4c02] .cell-edit-wrapper {
|
|
1718
1740
|
display: flex;
|
|
1719
1741
|
align-items: center;
|
|
1720
1742
|
justify-content: space-between;
|
|
@@ -1726,18 +1748,18 @@ to {
|
|
|
1726
1748
|
cursor: pointer;
|
|
1727
1749
|
position: relative;
|
|
1728
1750
|
}
|
|
1729
|
-
[data-v-
|
|
1751
|
+
[data-v-edcf4c02] .cell-edit-wrapper:hover {
|
|
1730
1752
|
background-color: var(--n-color-target);
|
|
1731
1753
|
}
|
|
1732
|
-
[data-v-
|
|
1754
|
+
[data-v-edcf4c02] .cell-edit-wrapper:hover .cell-edit-icon {
|
|
1733
1755
|
opacity: 1;
|
|
1734
1756
|
color: var(--n-color-success);
|
|
1735
1757
|
transform: scale(1.05);
|
|
1736
1758
|
}
|
|
1737
|
-
[data-v-
|
|
1759
|
+
[data-v-edcf4c02] .cell-edit-wrapper:active {
|
|
1738
1760
|
transform: translateY(1px);
|
|
1739
1761
|
}
|
|
1740
|
-
[data-v-
|
|
1762
|
+
[data-v-edcf4c02] .cell-value {
|
|
1741
1763
|
flex: 1;
|
|
1742
1764
|
overflow: hidden;
|
|
1743
1765
|
text-overflow: ellipsis;
|
|
@@ -1746,7 +1768,7 @@ to {
|
|
|
1746
1768
|
line-height: 1.4;
|
|
1747
1769
|
font-size: 13px;
|
|
1748
1770
|
}
|
|
1749
|
-
.c-table-wrapper[data-v-
|
|
1771
|
+
.c-table-wrapper[data-v-edcf4c02] .cell-edit-icon {
|
|
1750
1772
|
flex-shrink: 0;
|
|
1751
1773
|
width: 24px;
|
|
1752
1774
|
height: 24px;
|
|
@@ -1761,20 +1783,20 @@ to {
|
|
|
1761
1783
|
opacity: 0;
|
|
1762
1784
|
position: relative;
|
|
1763
1785
|
}
|
|
1764
|
-
.c-table-wrapper[data-v-
|
|
1786
|
+
.c-table-wrapper[data-v-edcf4c02] .cell-edit-icon:hover {
|
|
1765
1787
|
opacity: 1 !important;
|
|
1766
1788
|
color: var(--n-color-success-hover) !important;
|
|
1767
1789
|
background-color: var(--n-color-success-pressed);
|
|
1768
1790
|
transform: scale(1.1);
|
|
1769
1791
|
}
|
|
1770
|
-
.c-table-wrapper[data-v-
|
|
1792
|
+
.c-table-wrapper[data-v-edcf4c02] .cell-edit-icon:active {
|
|
1771
1793
|
transform: scale(0.95);
|
|
1772
1794
|
}
|
|
1773
|
-
.c-table-wrapper[data-v-
|
|
1795
|
+
.c-table-wrapper[data-v-edcf4c02] .cell-edit-icon svg {
|
|
1774
1796
|
width: 14px;
|
|
1775
1797
|
height: 14px;
|
|
1776
1798
|
}
|
|
1777
|
-
.cell-editing-container[data-v-
|
|
1799
|
+
.cell-editing-container[data-v-edcf4c02],[data-v-edcf4c02] .cell-editing-container {
|
|
1778
1800
|
display: flex !important;
|
|
1779
1801
|
align-items: center !important;
|
|
1780
1802
|
width: 100% !important;
|
|
@@ -1786,35 +1808,35 @@ to {
|
|
|
1786
1808
|
box-shadow: 0 0 0 2px var(--n-primary-color-suppl) !important;
|
|
1787
1809
|
gap: 8px !important;
|
|
1788
1810
|
}
|
|
1789
|
-
.cell-editing-input[data-v-
|
|
1811
|
+
.cell-editing-input[data-v-edcf4c02],[data-v-edcf4c02] .cell-editing-input {
|
|
1790
1812
|
flex: 1 !important;
|
|
1791
1813
|
min-width: 0 !important;
|
|
1792
1814
|
}
|
|
1793
|
-
[data-v-
|
|
1815
|
+
[data-v-edcf4c02] .cell-editing-input .n-input {
|
|
1794
1816
|
border: none !important;
|
|
1795
1817
|
box-shadow: none !important;
|
|
1796
1818
|
background: transparent !important;
|
|
1797
1819
|
}
|
|
1798
|
-
[data-v-
|
|
1820
|
+
[data-v-edcf4c02] .cell-editing-input .n-input.n-input--focus {
|
|
1799
1821
|
border: none !important;
|
|
1800
1822
|
box-shadow: none !important;
|
|
1801
1823
|
}
|
|
1802
|
-
[data-v-
|
|
1824
|
+
[data-v-edcf4c02] .cell-editing-input .n-input-number {
|
|
1803
1825
|
border: none !important;
|
|
1804
1826
|
box-shadow: none !important;
|
|
1805
1827
|
background: transparent !important;
|
|
1806
1828
|
}
|
|
1807
|
-
[data-v-
|
|
1829
|
+
[data-v-edcf4c02] .cell-editing-input .n-select {
|
|
1808
1830
|
border: none !important;
|
|
1809
1831
|
box-shadow: none !important;
|
|
1810
1832
|
background: transparent !important;
|
|
1811
1833
|
}
|
|
1812
|
-
[data-v-
|
|
1834
|
+
[data-v-edcf4c02] .cell-editing-input .n-select .n-base-selection {
|
|
1813
1835
|
border: none !important;
|
|
1814
1836
|
box-shadow: none !important;
|
|
1815
1837
|
background: transparent !important;
|
|
1816
1838
|
}
|
|
1817
|
-
.cell-editing-actions[data-v-
|
|
1839
|
+
.cell-editing-actions[data-v-edcf4c02],[data-v-edcf4c02] .cell-editing-actions {
|
|
1818
1840
|
display: flex !important;
|
|
1819
1841
|
flex-shrink: 0 !important;
|
|
1820
1842
|
align-items: center !important;
|
|
@@ -1825,7 +1847,7 @@ to {
|
|
|
1825
1847
|
padding: 2px !important;
|
|
1826
1848
|
box-shadow: var(--n-box-shadow) !important;
|
|
1827
1849
|
}
|
|
1828
|
-
.cell-action-btn[data-v-
|
|
1850
|
+
.cell-action-btn[data-v-edcf4c02],[data-v-edcf4c02] .cell-action-btn {
|
|
1829
1851
|
display: flex !important;
|
|
1830
1852
|
align-items: center !important;
|
|
1831
1853
|
justify-content: center !important;
|
|
@@ -1837,25 +1859,25 @@ to {
|
|
|
1837
1859
|
transition: all 0.2s ease !important;
|
|
1838
1860
|
background: transparent !important;
|
|
1839
1861
|
}
|
|
1840
|
-
.cell-action-btn.cell-action-save[data-v-
|
|
1862
|
+
.cell-action-btn.cell-action-save[data-v-edcf4c02],[data-v-edcf4c02] .cell-action-btn.cell-action-save {
|
|
1841
1863
|
color: var(--n-color-success) !important;
|
|
1842
1864
|
}
|
|
1843
|
-
.cell-action-btn.cell-action-save[data-v-
|
|
1865
|
+
.cell-action-btn.cell-action-save[data-v-edcf4c02]:hover,[data-v-edcf4c02] .cell-action-btn.cell-action-save:hover {
|
|
1844
1866
|
background: var(--n-color-success-pressed) !important;
|
|
1845
1867
|
transform: scale(1.1) !important;
|
|
1846
1868
|
}
|
|
1847
|
-
.cell-action-btn.cell-action-cancel[data-v-
|
|
1869
|
+
.cell-action-btn.cell-action-cancel[data-v-edcf4c02],[data-v-edcf4c02] .cell-action-btn.cell-action-cancel {
|
|
1848
1870
|
color: var(--n-color-error) !important;
|
|
1849
1871
|
}
|
|
1850
|
-
.cell-action-btn.cell-action-cancel[data-v-
|
|
1872
|
+
.cell-action-btn.cell-action-cancel[data-v-edcf4c02]:hover,[data-v-edcf4c02] .cell-action-btn.cell-action-cancel:hover {
|
|
1851
1873
|
background: var(--n-color-error-pressed) !important;
|
|
1852
1874
|
transform: scale(1.1) !important;
|
|
1853
1875
|
}
|
|
1854
|
-
.cell-action-btn svg[data-v-
|
|
1876
|
+
.cell-action-btn svg[data-v-edcf4c02],[data-v-edcf4c02] .cell-action-btn svg {
|
|
1855
1877
|
width: 11px !important;
|
|
1856
1878
|
height: 11px !important;
|
|
1857
1879
|
}
|
|
1858
|
-
[data-v-
|
|
1880
|
+
[data-v-edcf4c02] .n-button {
|
|
1859
1881
|
white-space: nowrap;
|
|
1860
1882
|
font-size: var(--c-table-button-font-size, 12px) !important;
|
|
1861
1883
|
flex-shrink: 0 !important;
|
|
@@ -1863,106 +1885,106 @@ to {
|
|
|
1863
1885
|
transition: all 0.2s ease;
|
|
1864
1886
|
font-weight: 500;
|
|
1865
1887
|
}
|
|
1866
|
-
[data-v-
|
|
1888
|
+
[data-v-edcf4c02] .n-button .n-icon {
|
|
1867
1889
|
margin-right: 4px !important;
|
|
1868
1890
|
}
|
|
1869
|
-
[data-v-
|
|
1891
|
+
[data-v-edcf4c02] .n-button.n-button--small-type {
|
|
1870
1892
|
padding: 4px 8px;
|
|
1871
1893
|
height: 28px;
|
|
1872
1894
|
line-height: 20px;
|
|
1873
1895
|
}
|
|
1874
|
-
[data-v-
|
|
1896
|
+
[data-v-edcf4c02] .n-button.n-button--quaternary-type:hover {
|
|
1875
1897
|
transform: translateY(-1px);
|
|
1876
1898
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
1877
1899
|
}
|
|
1878
|
-
[data-v-
|
|
1900
|
+
[data-v-edcf4c02] .n-button.n-button--quaternary-type:active {
|
|
1879
1901
|
transform: translateY(0);
|
|
1880
1902
|
}
|
|
1881
|
-
[data-v-
|
|
1903
|
+
[data-v-edcf4c02] .n-space.n-space--horizontal .n-space-item:not(:last-child) {
|
|
1882
1904
|
margin-right: 6px !important;
|
|
1883
1905
|
}
|
|
1884
|
-
[data-v-
|
|
1906
|
+
[data-v-edcf4c02] .n-modal .n-card {
|
|
1885
1907
|
border-radius: 12px;
|
|
1886
1908
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
1887
1909
|
}
|
|
1888
|
-
[data-v-
|
|
1910
|
+
[data-v-edcf4c02] .n-modal .n-card__header {
|
|
1889
1911
|
padding: 20px 24px 16px;
|
|
1890
1912
|
font-weight: 600;
|
|
1891
1913
|
font-size: 16px;
|
|
1892
1914
|
}
|
|
1893
|
-
[data-v-
|
|
1915
|
+
[data-v-edcf4c02] .n-modal .n-card__content {
|
|
1894
1916
|
padding: 0 24px 16px;
|
|
1895
1917
|
}
|
|
1896
|
-
[data-v-
|
|
1918
|
+
[data-v-edcf4c02] .n-modal .n-card__action {
|
|
1897
1919
|
padding: 16px 24px 20px;
|
|
1898
1920
|
border-top: 1px solid var(--n-divider-color);
|
|
1899
1921
|
}
|
|
1900
|
-
[data-v-
|
|
1922
|
+
[data-v-edcf4c02] .n-descriptions .n-descriptions-item-label {
|
|
1901
1923
|
font-weight: 500;
|
|
1902
1924
|
color: var(--n-text-color-2);
|
|
1903
1925
|
}
|
|
1904
|
-
[data-v-
|
|
1926
|
+
[data-v-edcf4c02] .n-descriptions .n-descriptions-item-content {
|
|
1905
1927
|
color: var(--n-text-color-1);
|
|
1906
1928
|
word-break: break-all;
|
|
1907
1929
|
}
|
|
1908
1930
|
@media (max-width: 768px) {
|
|
1909
|
-
.c-table-wrapper[data-v-
|
|
1931
|
+
.c-table-wrapper[data-v-edcf4c02] {
|
|
1910
1932
|
overflow-x: auto;
|
|
1911
1933
|
}
|
|
1912
|
-
[data-v-
|
|
1934
|
+
[data-v-edcf4c02] .n-button {
|
|
1913
1935
|
font-size: 11px !important;
|
|
1914
1936
|
padding: 3px 6px;
|
|
1915
1937
|
}
|
|
1916
|
-
[data-v-
|
|
1938
|
+
[data-v-edcf4c02] .n-button .n-icon {
|
|
1917
1939
|
margin-right: 2px !important;
|
|
1918
1940
|
}
|
|
1919
|
-
.cell-edit-icon[data-v-
|
|
1941
|
+
.cell-edit-icon[data-v-edcf4c02] {
|
|
1920
1942
|
opacity: 0.6;
|
|
1921
1943
|
}
|
|
1922
1944
|
}
|
|
1923
1945
|
@media (max-width: 768px) {
|
|
1924
|
-
.cell-editing-container[data-v-
|
|
1946
|
+
.cell-editing-container[data-v-edcf4c02],[data-v-edcf4c02] .cell-editing-container {
|
|
1925
1947
|
gap: 6px !important;
|
|
1926
1948
|
}
|
|
1927
|
-
.cell-editing-actions[data-v-
|
|
1949
|
+
.cell-editing-actions[data-v-edcf4c02],[data-v-edcf4c02] .cell-editing-actions {
|
|
1928
1950
|
gap: 3px !important;
|
|
1929
1951
|
padding: 2px !important;
|
|
1930
1952
|
}
|
|
1931
|
-
.cell-action-btn[data-v-
|
|
1953
|
+
.cell-action-btn[data-v-edcf4c02],[data-v-edcf4c02] .cell-action-btn {
|
|
1932
1954
|
width: 18px !important;
|
|
1933
1955
|
height: 18px !important;
|
|
1934
1956
|
}
|
|
1935
|
-
.cell-action-btn svg[data-v-
|
|
1957
|
+
.cell-action-btn svg[data-v-edcf4c02],[data-v-edcf4c02] .cell-action-btn svg {
|
|
1936
1958
|
width: 10px !important;
|
|
1937
1959
|
height: 10px !important;
|
|
1938
1960
|
}
|
|
1939
|
-
.cell-edit-icon[data-v-
|
|
1961
|
+
.cell-edit-icon[data-v-edcf4c02] {
|
|
1940
1962
|
opacity: 0.6 !important;
|
|
1941
1963
|
}
|
|
1942
|
-
[data-v-
|
|
1964
|
+
[data-v-edcf4c02] .cell-value {
|
|
1943
1965
|
margin-right: 12px !important;
|
|
1944
1966
|
}
|
|
1945
1967
|
}
|
|
1946
|
-
[data-v-
|
|
1968
|
+
[data-v-edcf4c02] .cell-edit-wrapper:focus-within,[data-v-edcf4c02] .cell-editing-container:focus-within {
|
|
1947
1969
|
outline: 2px solid var(--n-primary-color);
|
|
1948
1970
|
outline-offset: 2px;
|
|
1949
1971
|
}
|
|
1950
1972
|
@media (prefers-contrast: high) {
|
|
1951
|
-
.cell-edit-icon[data-v-
|
|
1973
|
+
.cell-edit-icon[data-v-edcf4c02] {
|
|
1952
1974
|
opacity: 0.8;
|
|
1953
1975
|
}
|
|
1954
|
-
.cell-editing-actions[data-v-
|
|
1976
|
+
.cell-editing-actions[data-v-edcf4c02] {
|
|
1955
1977
|
border-width: 2px;
|
|
1956
1978
|
}
|
|
1957
1979
|
}
|
|
1958
|
-
.row-drag-ghost[data-v-
|
|
1980
|
+
.row-drag-ghost[data-v-edcf4c02] {
|
|
1959
1981
|
opacity: 0.4;
|
|
1960
1982
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
1961
1983
|
}
|
|
1962
|
-
.row-drag-chosen[data-v-
|
|
1984
|
+
.row-drag-chosen[data-v-edcf4c02] {
|
|
1963
1985
|
background: var(--n-color-hover, #f5f5f5) !important;
|
|
1964
1986
|
}
|
|
1965
|
-
.batch-actions-bar[data-v-
|
|
1987
|
+
.batch-actions-bar[data-v-edcf4c02] {
|
|
1966
1988
|
display: flex;
|
|
1967
1989
|
align-items: center;
|
|
1968
1990
|
justify-content: space-between;
|
|
@@ -1972,52 +1994,52 @@ to {
|
|
|
1972
1994
|
border-radius: 6px;
|
|
1973
1995
|
border: 1px solid var(--n-primary-color-suppl, #70b3ff);
|
|
1974
1996
|
}
|
|
1975
|
-
.batch-actions-bar .batch-info[data-v-
|
|
1997
|
+
.batch-actions-bar .batch-info[data-v-edcf4c02] {
|
|
1976
1998
|
font-size: 13px;
|
|
1977
1999
|
color: var(--n-text-color-2);
|
|
1978
2000
|
font-weight: 500;
|
|
1979
2001
|
}
|
|
1980
|
-
.table-error-state[data-v-
|
|
2002
|
+
.table-error-state[data-v-edcf4c02] {
|
|
1981
2003
|
padding: 48px 24px;
|
|
1982
2004
|
text-align: center;
|
|
1983
2005
|
}
|
|
1984
|
-
.table-error-state .error-content[data-v-
|
|
2006
|
+
.table-error-state .error-content[data-v-edcf4c02] {
|
|
1985
2007
|
display: flex;
|
|
1986
2008
|
flex-direction: column;
|
|
1987
2009
|
align-items: center;
|
|
1988
2010
|
gap: 12px;
|
|
1989
2011
|
color: var(--n-text-color-3, #999);
|
|
1990
2012
|
}
|
|
1991
|
-
.table-error-state .error-message[data-v-
|
|
2013
|
+
.table-error-state .error-message[data-v-edcf4c02] {
|
|
1992
2014
|
font-size: 14px;
|
|
1993
2015
|
margin: 0;
|
|
1994
2016
|
color: var(--n-text-color-2, #666);
|
|
1995
2017
|
}
|
|
1996
2018
|
|
|
1997
2019
|
/* 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-
|
|
2020
|
+
.visible[data-v-edcf4c02]{visibility:visible;}
|
|
2021
|
+
.fixed[data-v-edcf4c02]{position:fixed;}
|
|
2022
|
+
.grid[data-v-edcf4c02]{display:grid;}
|
|
2023
|
+
.mb-2[data-v-edcf4c02]{margin-bottom:0.5rem;}
|
|
2024
|
+
.mb-4[data-v-edcf4c02]{margin-bottom:1rem;}
|
|
2025
|
+
.ml-2[data-v-edcf4c02]{margin-left:0.5rem;}
|
|
2026
|
+
.w60\%[data-v-edcf4c02]{width:60%;}
|
|
2027
|
+
.flex[data-v-edcf4c02]{display:flex;}
|
|
2028
|
+
.table[data-v-edcf4c02]{display:table;}
|
|
2029
|
+
.scale-110[data-v-edcf4c02]{--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));}
|
|
2030
|
+
.cursor-pointer[data-v-edcf4c02]{cursor:pointer;}
|
|
2031
|
+
.items-center[data-v-edcf4c02]{align-items:center;}
|
|
2032
|
+
.justify-end[data-v-edcf4c02]{justify-content:flex-end;}
|
|
2033
|
+
.justify-center[data-v-edcf4c02]{justify-content:center;}
|
|
2034
|
+
.rd[data-v-edcf4c02]{border-radius:0.25rem;}
|
|
2035
|
+
.bg-gray-50[data-v-edcf4c02]{--un-bg-opacity:1;background-color:rgb(249 250 251 / var(--un-bg-opacity));}
|
|
2036
|
+
.p-4[data-v-edcf4c02]{padding:1rem;}
|
|
2037
|
+
.px[data-v-edcf4c02]{padding-left:1rem;padding-right:1rem;}
|
|
2038
|
+
.py-8[data-v-edcf4c02]{padding-top:2rem;padding-bottom:2rem;}
|
|
2039
|
+
.text-center[data-v-edcf4c02]{text-align:center;}
|
|
2040
|
+
.text-sm[data-v-edcf4c02]{font-size:0.875rem;line-height:1.25rem;}
|
|
2041
|
+
.text-gray-400[data-v-edcf4c02]{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity));}
|
|
2042
|
+
.text-gray-500[data-v-edcf4c02]{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity));}
|
|
2043
|
+
.text-gray-600[data-v-edcf4c02]{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity));}
|
|
2044
|
+
.accent-blue-500[data-v-edcf4c02]{--un-accent-opacity:1;accent-color:rgb(59 130 246 / var(--un-accent-opacity));}
|
|
2045
|
+
.filter[data-v-edcf4c02]{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);}
|