@robot-admin/naive-ui-components 0.18.0 → 0.19.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 +8 -0
- package/dist/C_Form.cjs +1 -1
- package/dist/C_Table.base.css +108 -108
- package/dist/C_Table.css +108 -108
- package/dist/constants3.d.cts +3 -3
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.cts +3 -3
- package/dist/constants4.d.ts +3 -3
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.cts +5 -5
- package/dist/data.d.ts +5 -5
- package/dist/formValidation.cjs +1 -1
- package/dist/formValidation.js +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +1 -1
- package/dist/index10.vue.d.ts +5 -5
- package/dist/index11.vue.d.cts +5 -5
- package/dist/index12.vue.d.ts +2 -2
- package/dist/index13.vue.d.cts +2 -2
- package/dist/index13.vue.d.ts +5 -5
- package/dist/index14.vue.d.cts +5 -5
- package/dist/index16.vue.d.ts +1 -1
- package/dist/index17.vue.d.cts +1 -1
- package/dist/index17.vue.d.ts +2 -2
- package/dist/index18.vue.d.cts +2 -2
- 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/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +1 -1
- package/dist/index22.vue.d.cts +2 -2
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index25.vue.d.cts +4 -4
- package/dist/index25.vue.d.ts +4 -4
- package/dist/index26.vue.d.cts +2 -2
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index6.vue.d.ts +2 -2
- package/dist/index7.vue.d.cts +2 -2
- package/dist/index8.vue.d.ts +6 -6
- package/dist/index9.vue.d.cts +6 -6
- package/dist/index9.vue.d.ts +1 -1
- package/dist/mapUtils.d.cts +2 -2
- package/dist/mapUtils.d.ts +2 -2
- package/dist/presets.d.cts +4 -2
- package/dist/presets.d.ts +4 -2
- package/dist/style.css +108 -108
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +6 -6
- package/dist/useCollapsePanel.d.ts +6 -6
- package/dist/useCropperCore.d.cts +5 -5
- package/dist/useCropperCore.d.ts +5 -5
- package/dist/useDynamicFormState.d.cts +2 -7
- package/dist/useDynamicFormState.d.ts +2 -7
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSignatureHistory.d.cts +5 -5
- package/dist/useSignatureHistory.d.ts +5 -5
- package/dist/useSplitResize.d.cts +6 -6
- package/dist/useSplitResize.d.ts +6 -6
- package/dist/useTableQuery.cjs +2 -2
- package/dist/useTableQuery.d.cts +33 -72
- package/dist/useTableQuery.d.ts +33 -72
- package/dist/useTableQuery.js +1 -1
- package/dist/useWorkflowValidation.d.cts +81 -81
- package/dist/useWorkflowValidation.d.ts +81 -81
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/docs/guides/usage.en.md +3 -1
- package/docs/guides/usage.md +3 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @robot-admin/naive-ui-components
|
|
2
2
|
|
|
3
|
+
## 0.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- `TableProps` 与实际组件共用运行属性定义,移除从未生效的旧编辑、展开和选择属性,保留原生显示属性透传与真实事件监听器。编辑、展开和选择统一通过 `config` 配置。
|
|
8
|
+
- 表单提交、表格保存和按钮操作可直接接收业务函数返回值,包括 `Promise<Row>`、`Promise<boolean>`,无需额外包装;保留参数类型校验和原有异步状态、异常处理。
|
|
9
|
+
- 升级校验包至 3.4.4,预设规则直接兼容 Naive 官方规则,移除组件内重复类型映射和断言。增加 Vue 模板与 ESM/CJS 发布包的正反类型回归。
|
|
10
|
+
|
|
3
11
|
## 0.18.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/C_Form.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk.cjs`),require(`./C_Icon2.cjs`);const e=require(`./helpers.cjs`),t=require(`./
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk.cjs`),require(`./C_Icon2.cjs`);const e=require(`./helpers.cjs`),t=require(`./useDynamicFormState.cjs`);let n=require(`@robot-admin/form-validate`);exports.C_Form=e.i,exports.DYNAMIC_FORM_STATE_KEY=t.t,exports.FIELD_TYPE_OPTIONS=t.n,exports.FORM_DEFAULTS=e.f,exports.FORM_GLOBAL_CONFIG_KEY=e.p,exports.FORM_RENDERER_REGISTRY_KEY=e.a,exports.LAYOUTS_WITH_OWN_CONTROLS=e.m,Object.defineProperty(exports,`NAIVE_COMBOS`,{enumerable:!0,get:function(){return n.NAIVE_COMBOS}}),Object.defineProperty(exports,`PRESET_RULES`,{enumerable:!0,get:function(){return n.PRESET_RULES}}),Object.defineProperty(exports,`SPEC_RULES`,{enumerable:!0,get:function(){return n.SPEC_RULES}}),exports.createFormRendererRegistry=e.o,exports.defineFormConfig=e.t,exports.defineFormOptions=e.n,exports.mergeFormConfig=e.h,exports.registerRenderer=e.s,exports.resolveFormConfig=e.g,exports.shouldShowActions=e._,exports.unregisterRenderer=e.c,exports.useCForm=e.r,exports.useDynamicFormState=t.r,exports.useFormDirty=e.d,exports.useFormGlobalConfig=e.v,exports.useFormRenderer=e.l,exports.useFormState=e.u;
|
package/dist/C_Table.base.css
CHANGED
|
@@ -1586,7 +1586,7 @@ to {
|
|
|
1586
1586
|
.px[data-v-92119048]{padding-left:1rem;padding-right:1rem;}
|
|
1587
1587
|
.accent-blue-500[data-v-92119048]{--un-accent-opacity:1;accent-color:rgb(59 130 246 / var(--un-accent-opacity));}
|
|
1588
1588
|
|
|
1589
|
-
.c-table-wrapper[data-v-
|
|
1589
|
+
.c-table-wrapper[data-v-e7f232d7] {
|
|
1590
1590
|
--c-table-border-color: var(--border-color, #e5e7eb);
|
|
1591
1591
|
--c-table-bg: var(--body-color, #fff);
|
|
1592
1592
|
--c-table-header-bg: var(--card-color, #fafafc);
|
|
@@ -1597,55 +1597,55 @@ to {
|
|
|
1597
1597
|
width: 100%;
|
|
1598
1598
|
position: relative;
|
|
1599
1599
|
}
|
|
1600
|
-
.c-table-wrapper--compact[data-v-
|
|
1600
|
+
.c-table-wrapper--compact[data-v-e7f232d7] {
|
|
1601
1601
|
--c-table-gap: 8px;
|
|
1602
1602
|
--c-table-button-font-size: 14px;
|
|
1603
1603
|
--c-table-cell-min-height: 28px;
|
|
1604
1604
|
--c-table-cell-padding: 2px 4px;
|
|
1605
1605
|
}
|
|
1606
|
-
.c-table-wrapper--default[data-v-
|
|
1606
|
+
.c-table-wrapper--default[data-v-e7f232d7] {
|
|
1607
1607
|
--c-table-gap: 16px;
|
|
1608
1608
|
--c-table-button-font-size: 14px;
|
|
1609
1609
|
--c-table-cell-min-height: 36px;
|
|
1610
1610
|
--c-table-cell-padding: 6px 8px;
|
|
1611
1611
|
}
|
|
1612
|
-
.c-table-wrapper--comfortable[data-v-
|
|
1612
|
+
.c-table-wrapper--comfortable[data-v-e7f232d7] {
|
|
1613
1613
|
--c-table-gap: 20px;
|
|
1614
1614
|
--c-table-button-font-size: 15px;
|
|
1615
1615
|
--c-table-cell-min-height: 40px;
|
|
1616
1616
|
--c-table-cell-padding: 8px 10px;
|
|
1617
1617
|
}
|
|
1618
|
-
.c-table-wrapper--flex[data-v-
|
|
1618
|
+
.c-table-wrapper--flex[data-v-e7f232d7] {
|
|
1619
1619
|
display: flex;
|
|
1620
1620
|
flex-direction: column;
|
|
1621
1621
|
height: 100%;
|
|
1622
1622
|
min-height: 0;
|
|
1623
1623
|
}
|
|
1624
|
-
.c-table-wrapper--flex[data-v-
|
|
1625
|
-
.c-table-wrapper--flex > .table-error-state[data-v-
|
|
1624
|
+
.c-table-wrapper--flex[data-v-e7f232d7] > .n-data-table,
|
|
1625
|
+
.c-table-wrapper--flex > .table-error-state[data-v-e7f232d7] {
|
|
1626
1626
|
flex: 1;
|
|
1627
1627
|
min-height: 0;
|
|
1628
1628
|
}
|
|
1629
|
-
.c-table-wrapper--flex > .table-toolbar[data-v-
|
|
1630
|
-
.c-table-wrapper--flex > .batch-actions-bar[data-v-
|
|
1631
|
-
.c-table-wrapper--flex > .pagination-wrapper[data-v-
|
|
1629
|
+
.c-table-wrapper--flex > .table-toolbar[data-v-e7f232d7],
|
|
1630
|
+
.c-table-wrapper--flex > .batch-actions-bar[data-v-e7f232d7],
|
|
1631
|
+
.c-table-wrapper--flex > .pagination-wrapper[data-v-e7f232d7] {
|
|
1632
1632
|
flex-shrink: 0;
|
|
1633
1633
|
}
|
|
1634
|
-
.column-drag-ghost[data-v-
|
|
1634
|
+
.column-drag-ghost[data-v-e7f232d7] {
|
|
1635
1635
|
opacity: var(--c-table-drag-ghost-opacity);
|
|
1636
1636
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
1637
1637
|
}
|
|
1638
|
-
.drag-handle[data-v-
|
|
1638
|
+
.drag-handle[data-v-e7f232d7] {
|
|
1639
1639
|
cursor: grab;
|
|
1640
1640
|
}
|
|
1641
|
-
.drag-handle[data-v-
|
|
1641
|
+
.drag-handle[data-v-e7f232d7]:active {
|
|
1642
1642
|
cursor: grabbing;
|
|
1643
1643
|
}
|
|
1644
|
-
.c-table-wrapper[data-v-
|
|
1644
|
+
.c-table-wrapper[data-v-e7f232d7] .n-data-table-tfoot {
|
|
1645
1645
|
background: var(--c-table-summary-bg);
|
|
1646
1646
|
font-weight: var(--c-table-summary-font-weight);
|
|
1647
1647
|
}
|
|
1648
|
-
.table-toolbar[data-v-
|
|
1648
|
+
.table-toolbar[data-v-e7f232d7] {
|
|
1649
1649
|
display: flex;
|
|
1650
1650
|
justify-content: space-between;
|
|
1651
1651
|
align-items: center;
|
|
@@ -1653,29 +1653,29 @@ to {
|
|
|
1653
1653
|
gap: var(--c-table-gap, 12px);
|
|
1654
1654
|
flex-wrap: wrap;
|
|
1655
1655
|
}
|
|
1656
|
-
.table-toolbar .toolbar-left[data-v-
|
|
1656
|
+
.table-toolbar .toolbar-left[data-v-e7f232d7] {
|
|
1657
1657
|
display: flex;
|
|
1658
1658
|
align-items: center;
|
|
1659
1659
|
gap: var(--c-table-gap, 12px);
|
|
1660
1660
|
flex-wrap: wrap;
|
|
1661
1661
|
min-width: 0;
|
|
1662
1662
|
}
|
|
1663
|
-
.table-toolbar .toolbar-right[data-v-
|
|
1663
|
+
.table-toolbar .toolbar-right[data-v-e7f232d7] {
|
|
1664
1664
|
display: flex;
|
|
1665
1665
|
align-items: center;
|
|
1666
1666
|
gap: var(--c-table-gap, 8px);
|
|
1667
1667
|
flex-wrap: wrap;
|
|
1668
1668
|
}
|
|
1669
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
1669
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-e7f232d7] {
|
|
1670
1670
|
opacity: 0.6;
|
|
1671
1671
|
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
1672
1672
|
cursor: pointer;
|
|
1673
1673
|
}
|
|
1674
|
-
.table-toolbar .toolbar-right .column-settings-btn[data-v-
|
|
1674
|
+
.table-toolbar .toolbar-right .column-settings-btn[data-v-e7f232d7]:hover {
|
|
1675
1675
|
opacity: 1;
|
|
1676
1676
|
transform: scale(1.1);
|
|
1677
1677
|
}
|
|
1678
|
-
.dynamic-rows-toolbar[data-v-
|
|
1678
|
+
.dynamic-rows-toolbar[data-v-e7f232d7] {
|
|
1679
1679
|
margin-bottom: var(--c-table-gap, 16px);
|
|
1680
1680
|
padding: var(--c-table-gap, 16px);
|
|
1681
1681
|
border-radius: 8px;
|
|
@@ -1684,35 +1684,35 @@ to {
|
|
|
1684
1684
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
1685
1685
|
transition: all 0.2s ease;
|
|
1686
1686
|
}
|
|
1687
|
-
.dynamic-rows-toolbar[data-v-
|
|
1687
|
+
.dynamic-rows-toolbar[data-v-e7f232d7]:hover {
|
|
1688
1688
|
border-color: var(--n-primary-color-suppl);
|
|
1689
1689
|
}
|
|
1690
|
-
[data-v-
|
|
1690
|
+
[data-v-e7f232d7] .n-data-table {
|
|
1691
1691
|
table-layout: auto !important;
|
|
1692
1692
|
width: 100% !important;
|
|
1693
1693
|
border-radius: 8px;
|
|
1694
1694
|
overflow: hidden;
|
|
1695
1695
|
}
|
|
1696
|
-
[data-v-
|
|
1696
|
+
[data-v-e7f232d7] .n-data-table-wrapper {
|
|
1697
1697
|
overflow-x: auto !important;
|
|
1698
1698
|
}
|
|
1699
|
-
.pagination-wrapper[data-v-
|
|
1699
|
+
.pagination-wrapper[data-v-e7f232d7] {
|
|
1700
1700
|
margin-top: var(--c-table-gap, 16px);
|
|
1701
1701
|
display: flex;
|
|
1702
1702
|
justify-content: flex-end;
|
|
1703
1703
|
}
|
|
1704
|
-
[data-v-
|
|
1704
|
+
[data-v-e7f232d7] .c-table-index-column {
|
|
1705
1705
|
padding-inline: 8px;
|
|
1706
1706
|
}
|
|
1707
|
-
[data-v-
|
|
1707
|
+
[data-v-e7f232d7] .c-table-actions-column {
|
|
1708
1708
|
text-align: center !important;
|
|
1709
1709
|
padding: 8px 12px !important;
|
|
1710
1710
|
}
|
|
1711
|
-
[data-v-
|
|
1711
|
+
[data-v-e7f232d7] .c-table-actions-column .n-space {
|
|
1712
1712
|
justify-content: center !important;
|
|
1713
1713
|
align-items: center !important;
|
|
1714
1714
|
}
|
|
1715
|
-
[data-v-
|
|
1715
|
+
[data-v-e7f232d7] .cell-edit-wrapper {
|
|
1716
1716
|
display: flex;
|
|
1717
1717
|
align-items: center;
|
|
1718
1718
|
justify-content: space-between;
|
|
@@ -1724,18 +1724,18 @@ to {
|
|
|
1724
1724
|
cursor: pointer;
|
|
1725
1725
|
position: relative;
|
|
1726
1726
|
}
|
|
1727
|
-
[data-v-
|
|
1727
|
+
[data-v-e7f232d7] .cell-edit-wrapper:hover {
|
|
1728
1728
|
background-color: var(--n-color-target);
|
|
1729
1729
|
}
|
|
1730
|
-
[data-v-
|
|
1730
|
+
[data-v-e7f232d7] .cell-edit-wrapper:hover .cell-edit-icon {
|
|
1731
1731
|
opacity: 1;
|
|
1732
1732
|
color: var(--n-color-success);
|
|
1733
1733
|
transform: scale(1.05);
|
|
1734
1734
|
}
|
|
1735
|
-
[data-v-
|
|
1735
|
+
[data-v-e7f232d7] .cell-edit-wrapper:active {
|
|
1736
1736
|
transform: translateY(1px);
|
|
1737
1737
|
}
|
|
1738
|
-
[data-v-
|
|
1738
|
+
[data-v-e7f232d7] .cell-value {
|
|
1739
1739
|
flex: 1;
|
|
1740
1740
|
overflow: hidden;
|
|
1741
1741
|
text-overflow: ellipsis;
|
|
@@ -1744,7 +1744,7 @@ to {
|
|
|
1744
1744
|
line-height: 1.4;
|
|
1745
1745
|
font-size: 13px;
|
|
1746
1746
|
}
|
|
1747
|
-
.c-table-wrapper[data-v-
|
|
1747
|
+
.c-table-wrapper[data-v-e7f232d7] .cell-edit-icon {
|
|
1748
1748
|
flex-shrink: 0;
|
|
1749
1749
|
width: 24px;
|
|
1750
1750
|
height: 24px;
|
|
@@ -1759,20 +1759,20 @@ to {
|
|
|
1759
1759
|
opacity: 0;
|
|
1760
1760
|
position: relative;
|
|
1761
1761
|
}
|
|
1762
|
-
.c-table-wrapper[data-v-
|
|
1762
|
+
.c-table-wrapper[data-v-e7f232d7] .cell-edit-icon:hover {
|
|
1763
1763
|
opacity: 1 !important;
|
|
1764
1764
|
color: var(--n-color-success-hover) !important;
|
|
1765
1765
|
background-color: var(--n-color-success-pressed);
|
|
1766
1766
|
transform: scale(1.1);
|
|
1767
1767
|
}
|
|
1768
|
-
.c-table-wrapper[data-v-
|
|
1768
|
+
.c-table-wrapper[data-v-e7f232d7] .cell-edit-icon:active {
|
|
1769
1769
|
transform: scale(0.95);
|
|
1770
1770
|
}
|
|
1771
|
-
.c-table-wrapper[data-v-
|
|
1771
|
+
.c-table-wrapper[data-v-e7f232d7] .cell-edit-icon svg {
|
|
1772
1772
|
width: 14px;
|
|
1773
1773
|
height: 14px;
|
|
1774
1774
|
}
|
|
1775
|
-
.cell-editing-container[data-v-
|
|
1775
|
+
.cell-editing-container[data-v-e7f232d7],[data-v-e7f232d7] .cell-editing-container {
|
|
1776
1776
|
display: flex !important;
|
|
1777
1777
|
align-items: center !important;
|
|
1778
1778
|
width: 100% !important;
|
|
@@ -1784,35 +1784,35 @@ to {
|
|
|
1784
1784
|
box-shadow: 0 0 0 2px var(--n-primary-color-suppl) !important;
|
|
1785
1785
|
gap: 8px !important;
|
|
1786
1786
|
}
|
|
1787
|
-
.cell-editing-input[data-v-
|
|
1787
|
+
.cell-editing-input[data-v-e7f232d7],[data-v-e7f232d7] .cell-editing-input {
|
|
1788
1788
|
flex: 1 !important;
|
|
1789
1789
|
min-width: 0 !important;
|
|
1790
1790
|
}
|
|
1791
|
-
[data-v-
|
|
1791
|
+
[data-v-e7f232d7] .cell-editing-input .n-input {
|
|
1792
1792
|
border: none !important;
|
|
1793
1793
|
box-shadow: none !important;
|
|
1794
1794
|
background: transparent !important;
|
|
1795
1795
|
}
|
|
1796
|
-
[data-v-
|
|
1796
|
+
[data-v-e7f232d7] .cell-editing-input .n-input.n-input--focus {
|
|
1797
1797
|
border: none !important;
|
|
1798
1798
|
box-shadow: none !important;
|
|
1799
1799
|
}
|
|
1800
|
-
[data-v-
|
|
1800
|
+
[data-v-e7f232d7] .cell-editing-input .n-input-number {
|
|
1801
1801
|
border: none !important;
|
|
1802
1802
|
box-shadow: none !important;
|
|
1803
1803
|
background: transparent !important;
|
|
1804
1804
|
}
|
|
1805
|
-
[data-v-
|
|
1805
|
+
[data-v-e7f232d7] .cell-editing-input .n-select {
|
|
1806
1806
|
border: none !important;
|
|
1807
1807
|
box-shadow: none !important;
|
|
1808
1808
|
background: transparent !important;
|
|
1809
1809
|
}
|
|
1810
|
-
[data-v-
|
|
1810
|
+
[data-v-e7f232d7] .cell-editing-input .n-select .n-base-selection {
|
|
1811
1811
|
border: none !important;
|
|
1812
1812
|
box-shadow: none !important;
|
|
1813
1813
|
background: transparent !important;
|
|
1814
1814
|
}
|
|
1815
|
-
.cell-editing-actions[data-v-
|
|
1815
|
+
.cell-editing-actions[data-v-e7f232d7],[data-v-e7f232d7] .cell-editing-actions {
|
|
1816
1816
|
display: flex !important;
|
|
1817
1817
|
flex-shrink: 0 !important;
|
|
1818
1818
|
align-items: center !important;
|
|
@@ -1823,7 +1823,7 @@ to {
|
|
|
1823
1823
|
padding: 2px !important;
|
|
1824
1824
|
box-shadow: var(--n-box-shadow) !important;
|
|
1825
1825
|
}
|
|
1826
|
-
.cell-action-btn[data-v-
|
|
1826
|
+
.cell-action-btn[data-v-e7f232d7],[data-v-e7f232d7] .cell-action-btn {
|
|
1827
1827
|
display: flex !important;
|
|
1828
1828
|
align-items: center !important;
|
|
1829
1829
|
justify-content: center !important;
|
|
@@ -1835,25 +1835,25 @@ to {
|
|
|
1835
1835
|
transition: all 0.2s ease !important;
|
|
1836
1836
|
background: transparent !important;
|
|
1837
1837
|
}
|
|
1838
|
-
.cell-action-btn.cell-action-save[data-v-
|
|
1838
|
+
.cell-action-btn.cell-action-save[data-v-e7f232d7],[data-v-e7f232d7] .cell-action-btn.cell-action-save {
|
|
1839
1839
|
color: var(--n-color-success) !important;
|
|
1840
1840
|
}
|
|
1841
|
-
.cell-action-btn.cell-action-save[data-v-
|
|
1841
|
+
.cell-action-btn.cell-action-save[data-v-e7f232d7]:hover,[data-v-e7f232d7] .cell-action-btn.cell-action-save:hover {
|
|
1842
1842
|
background: var(--n-color-success-pressed) !important;
|
|
1843
1843
|
transform: scale(1.1) !important;
|
|
1844
1844
|
}
|
|
1845
|
-
.cell-action-btn.cell-action-cancel[data-v-
|
|
1845
|
+
.cell-action-btn.cell-action-cancel[data-v-e7f232d7],[data-v-e7f232d7] .cell-action-btn.cell-action-cancel {
|
|
1846
1846
|
color: var(--n-color-error) !important;
|
|
1847
1847
|
}
|
|
1848
|
-
.cell-action-btn.cell-action-cancel[data-v-
|
|
1848
|
+
.cell-action-btn.cell-action-cancel[data-v-e7f232d7]:hover,[data-v-e7f232d7] .cell-action-btn.cell-action-cancel:hover {
|
|
1849
1849
|
background: var(--n-color-error-pressed) !important;
|
|
1850
1850
|
transform: scale(1.1) !important;
|
|
1851
1851
|
}
|
|
1852
|
-
.cell-action-btn svg[data-v-
|
|
1852
|
+
.cell-action-btn svg[data-v-e7f232d7],[data-v-e7f232d7] .cell-action-btn svg {
|
|
1853
1853
|
width: 11px !important;
|
|
1854
1854
|
height: 11px !important;
|
|
1855
1855
|
}
|
|
1856
|
-
[data-v-
|
|
1856
|
+
[data-v-e7f232d7] .n-button {
|
|
1857
1857
|
white-space: nowrap;
|
|
1858
1858
|
font-size: var(--c-table-button-font-size, 12px) !important;
|
|
1859
1859
|
flex-shrink: 0 !important;
|
|
@@ -1861,106 +1861,106 @@ to {
|
|
|
1861
1861
|
transition: all 0.2s ease;
|
|
1862
1862
|
font-weight: 500;
|
|
1863
1863
|
}
|
|
1864
|
-
[data-v-
|
|
1864
|
+
[data-v-e7f232d7] .n-button .n-icon {
|
|
1865
1865
|
margin-right: 4px !important;
|
|
1866
1866
|
}
|
|
1867
|
-
[data-v-
|
|
1867
|
+
[data-v-e7f232d7] .n-button.n-button--small-type {
|
|
1868
1868
|
padding: 4px 8px;
|
|
1869
1869
|
height: 28px;
|
|
1870
1870
|
line-height: 20px;
|
|
1871
1871
|
}
|
|
1872
|
-
[data-v-
|
|
1872
|
+
[data-v-e7f232d7] .n-button.n-button--quaternary-type:hover {
|
|
1873
1873
|
transform: translateY(-1px);
|
|
1874
1874
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
1875
1875
|
}
|
|
1876
|
-
[data-v-
|
|
1876
|
+
[data-v-e7f232d7] .n-button.n-button--quaternary-type:active {
|
|
1877
1877
|
transform: translateY(0);
|
|
1878
1878
|
}
|
|
1879
|
-
[data-v-
|
|
1879
|
+
[data-v-e7f232d7] .n-space.n-space--horizontal .n-space-item:not(:last-child) {
|
|
1880
1880
|
margin-right: 6px !important;
|
|
1881
1881
|
}
|
|
1882
|
-
[data-v-
|
|
1882
|
+
[data-v-e7f232d7] .n-modal .n-card {
|
|
1883
1883
|
border-radius: 12px;
|
|
1884
1884
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
1885
1885
|
}
|
|
1886
|
-
[data-v-
|
|
1886
|
+
[data-v-e7f232d7] .n-modal .n-card__header {
|
|
1887
1887
|
padding: 20px 24px 16px;
|
|
1888
1888
|
font-weight: 600;
|
|
1889
1889
|
font-size: 16px;
|
|
1890
1890
|
}
|
|
1891
|
-
[data-v-
|
|
1891
|
+
[data-v-e7f232d7] .n-modal .n-card__content {
|
|
1892
1892
|
padding: 0 24px 16px;
|
|
1893
1893
|
}
|
|
1894
|
-
[data-v-
|
|
1894
|
+
[data-v-e7f232d7] .n-modal .n-card__action {
|
|
1895
1895
|
padding: 16px 24px 20px;
|
|
1896
1896
|
border-top: 1px solid var(--n-divider-color);
|
|
1897
1897
|
}
|
|
1898
|
-
[data-v-
|
|
1898
|
+
[data-v-e7f232d7] .n-descriptions .n-descriptions-item-label {
|
|
1899
1899
|
font-weight: 500;
|
|
1900
1900
|
color: var(--n-text-color-2);
|
|
1901
1901
|
}
|
|
1902
|
-
[data-v-
|
|
1902
|
+
[data-v-e7f232d7] .n-descriptions .n-descriptions-item-content {
|
|
1903
1903
|
color: var(--n-text-color-1);
|
|
1904
1904
|
word-break: break-all;
|
|
1905
1905
|
}
|
|
1906
1906
|
@media (max-width: 768px) {
|
|
1907
|
-
.c-table-wrapper[data-v-
|
|
1907
|
+
.c-table-wrapper[data-v-e7f232d7] {
|
|
1908
1908
|
overflow-x: auto;
|
|
1909
1909
|
}
|
|
1910
|
-
[data-v-
|
|
1910
|
+
[data-v-e7f232d7] .n-button {
|
|
1911
1911
|
font-size: 11px !important;
|
|
1912
1912
|
padding: 3px 6px;
|
|
1913
1913
|
}
|
|
1914
|
-
[data-v-
|
|
1914
|
+
[data-v-e7f232d7] .n-button .n-icon {
|
|
1915
1915
|
margin-right: 2px !important;
|
|
1916
1916
|
}
|
|
1917
|
-
.cell-edit-icon[data-v-
|
|
1917
|
+
.cell-edit-icon[data-v-e7f232d7] {
|
|
1918
1918
|
opacity: 0.6;
|
|
1919
1919
|
}
|
|
1920
1920
|
}
|
|
1921
1921
|
@media (max-width: 768px) {
|
|
1922
|
-
.cell-editing-container[data-v-
|
|
1922
|
+
.cell-editing-container[data-v-e7f232d7],[data-v-e7f232d7] .cell-editing-container {
|
|
1923
1923
|
gap: 6px !important;
|
|
1924
1924
|
}
|
|
1925
|
-
.cell-editing-actions[data-v-
|
|
1925
|
+
.cell-editing-actions[data-v-e7f232d7],[data-v-e7f232d7] .cell-editing-actions {
|
|
1926
1926
|
gap: 3px !important;
|
|
1927
1927
|
padding: 2px !important;
|
|
1928
1928
|
}
|
|
1929
|
-
.cell-action-btn[data-v-
|
|
1929
|
+
.cell-action-btn[data-v-e7f232d7],[data-v-e7f232d7] .cell-action-btn {
|
|
1930
1930
|
width: 18px !important;
|
|
1931
1931
|
height: 18px !important;
|
|
1932
1932
|
}
|
|
1933
|
-
.cell-action-btn svg[data-v-
|
|
1933
|
+
.cell-action-btn svg[data-v-e7f232d7],[data-v-e7f232d7] .cell-action-btn svg {
|
|
1934
1934
|
width: 10px !important;
|
|
1935
1935
|
height: 10px !important;
|
|
1936
1936
|
}
|
|
1937
|
-
.cell-edit-icon[data-v-
|
|
1937
|
+
.cell-edit-icon[data-v-e7f232d7] {
|
|
1938
1938
|
opacity: 0.6 !important;
|
|
1939
1939
|
}
|
|
1940
|
-
[data-v-
|
|
1940
|
+
[data-v-e7f232d7] .cell-value {
|
|
1941
1941
|
margin-right: 12px !important;
|
|
1942
1942
|
}
|
|
1943
1943
|
}
|
|
1944
|
-
[data-v-
|
|
1944
|
+
[data-v-e7f232d7] .cell-edit-wrapper:focus-within,[data-v-e7f232d7] .cell-editing-container:focus-within {
|
|
1945
1945
|
outline: 2px solid var(--n-primary-color);
|
|
1946
1946
|
outline-offset: 2px;
|
|
1947
1947
|
}
|
|
1948
1948
|
@media (prefers-contrast: high) {
|
|
1949
|
-
.cell-edit-icon[data-v-
|
|
1949
|
+
.cell-edit-icon[data-v-e7f232d7] {
|
|
1950
1950
|
opacity: 0.8;
|
|
1951
1951
|
}
|
|
1952
|
-
.cell-editing-actions[data-v-
|
|
1952
|
+
.cell-editing-actions[data-v-e7f232d7] {
|
|
1953
1953
|
border-width: 2px;
|
|
1954
1954
|
}
|
|
1955
1955
|
}
|
|
1956
|
-
.row-drag-ghost[data-v-
|
|
1956
|
+
.row-drag-ghost[data-v-e7f232d7] {
|
|
1957
1957
|
opacity: 0.4;
|
|
1958
1958
|
background: var(--c-table-drag-ghost-bg) !important;
|
|
1959
1959
|
}
|
|
1960
|
-
.row-drag-chosen[data-v-
|
|
1960
|
+
.row-drag-chosen[data-v-e7f232d7] {
|
|
1961
1961
|
background: var(--n-color-hover, #f5f5f5) !important;
|
|
1962
1962
|
}
|
|
1963
|
-
.batch-actions-bar[data-v-
|
|
1963
|
+
.batch-actions-bar[data-v-e7f232d7] {
|
|
1964
1964
|
display: flex;
|
|
1965
1965
|
align-items: center;
|
|
1966
1966
|
justify-content: space-between;
|
|
@@ -1970,52 +1970,52 @@ to {
|
|
|
1970
1970
|
border-radius: 6px;
|
|
1971
1971
|
border: 1px solid var(--n-primary-color-suppl, #70b3ff);
|
|
1972
1972
|
}
|
|
1973
|
-
.batch-actions-bar .batch-info[data-v-
|
|
1973
|
+
.batch-actions-bar .batch-info[data-v-e7f232d7] {
|
|
1974
1974
|
font-size: 13px;
|
|
1975
1975
|
color: var(--n-text-color-2);
|
|
1976
1976
|
font-weight: 500;
|
|
1977
1977
|
}
|
|
1978
|
-
.table-error-state[data-v-
|
|
1978
|
+
.table-error-state[data-v-e7f232d7] {
|
|
1979
1979
|
padding: 48px 24px;
|
|
1980
1980
|
text-align: center;
|
|
1981
1981
|
}
|
|
1982
|
-
.table-error-state .error-content[data-v-
|
|
1982
|
+
.table-error-state .error-content[data-v-e7f232d7] {
|
|
1983
1983
|
display: flex;
|
|
1984
1984
|
flex-direction: column;
|
|
1985
1985
|
align-items: center;
|
|
1986
1986
|
gap: 12px;
|
|
1987
1987
|
color: var(--n-text-color-3, #999);
|
|
1988
1988
|
}
|
|
1989
|
-
.table-error-state .error-message[data-v-
|
|
1989
|
+
.table-error-state .error-message[data-v-e7f232d7] {
|
|
1990
1990
|
font-size: 14px;
|
|
1991
1991
|
margin: 0;
|
|
1992
1992
|
color: var(--n-text-color-2, #666);
|
|
1993
1993
|
}
|
|
1994
1994
|
|
|
1995
1995
|
/* layer: default */
|
|
1996
|
-
.visible[data-v-
|
|
1997
|
-
.fixed[data-v-
|
|
1998
|
-
.grid[data-v-
|
|
1999
|
-
.mb-2[data-v-
|
|
2000
|
-
.mb-4[data-v-
|
|
2001
|
-
.ml-2[data-v-
|
|
2002
|
-
.w60\%[data-v-
|
|
2003
|
-
.flex[data-v-
|
|
2004
|
-
.table[data-v-
|
|
2005
|
-
.scale-110[data-v-
|
|
2006
|
-
.cursor-pointer[data-v-
|
|
2007
|
-
.items-center[data-v-
|
|
2008
|
-
.justify-end[data-v-
|
|
2009
|
-
.justify-center[data-v-
|
|
2010
|
-
.rd[data-v-
|
|
2011
|
-
.bg-gray-50[data-v-
|
|
2012
|
-
.p-4[data-v-
|
|
2013
|
-
.px[data-v-
|
|
2014
|
-
.py-8[data-v-
|
|
2015
|
-
.text-center[data-v-
|
|
2016
|
-
.text-sm[data-v-
|
|
2017
|
-
.text-gray-400[data-v-
|
|
2018
|
-
.text-gray-500[data-v-
|
|
2019
|
-
.text-gray-600[data-v-
|
|
2020
|
-
.accent-blue-500[data-v-
|
|
2021
|
-
.filter[data-v-
|
|
1996
|
+
.visible[data-v-e7f232d7]{visibility:visible;}
|
|
1997
|
+
.fixed[data-v-e7f232d7]{position:fixed;}
|
|
1998
|
+
.grid[data-v-e7f232d7]{display:grid;}
|
|
1999
|
+
.mb-2[data-v-e7f232d7]{margin-bottom:0.5rem;}
|
|
2000
|
+
.mb-4[data-v-e7f232d7]{margin-bottom:1rem;}
|
|
2001
|
+
.ml-2[data-v-e7f232d7]{margin-left:0.5rem;}
|
|
2002
|
+
.w60\%[data-v-e7f232d7]{width:60%;}
|
|
2003
|
+
.flex[data-v-e7f232d7]{display:flex;}
|
|
2004
|
+
.table[data-v-e7f232d7]{display:table;}
|
|
2005
|
+
.scale-110[data-v-e7f232d7]{--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));}
|
|
2006
|
+
.cursor-pointer[data-v-e7f232d7]{cursor:pointer;}
|
|
2007
|
+
.items-center[data-v-e7f232d7]{align-items:center;}
|
|
2008
|
+
.justify-end[data-v-e7f232d7]{justify-content:flex-end;}
|
|
2009
|
+
.justify-center[data-v-e7f232d7]{justify-content:center;}
|
|
2010
|
+
.rd[data-v-e7f232d7]{border-radius:0.25rem;}
|
|
2011
|
+
.bg-gray-50[data-v-e7f232d7]{--un-bg-opacity:1;background-color:rgb(249 250 251 / var(--un-bg-opacity));}
|
|
2012
|
+
.p-4[data-v-e7f232d7]{padding:1rem;}
|
|
2013
|
+
.px[data-v-e7f232d7]{padding-left:1rem;padding-right:1rem;}
|
|
2014
|
+
.py-8[data-v-e7f232d7]{padding-top:2rem;padding-bottom:2rem;}
|
|
2015
|
+
.text-center[data-v-e7f232d7]{text-align:center;}
|
|
2016
|
+
.text-sm[data-v-e7f232d7]{font-size:0.875rem;line-height:1.25rem;}
|
|
2017
|
+
.text-gray-400[data-v-e7f232d7]{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity));}
|
|
2018
|
+
.text-gray-500[data-v-e7f232d7]{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity));}
|
|
2019
|
+
.text-gray-600[data-v-e7f232d7]{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity));}
|
|
2020
|
+
.accent-blue-500[data-v-e7f232d7]{--un-accent-opacity:1;accent-color:rgb(59 130 246 / var(--un-accent-opacity));}
|
|
2021
|
+
.filter[data-v-e7f232d7]{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);}
|