@mxmweb/xviewer 1.1.50 → 1.3.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/README.md +107 -1
- package/assets/style.css +1 -1
- package/index.js +6474 -6463
- package/lib_enter.d.ts +4 -0
- package/package.json +1 -1
- package/stats.html +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,110 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @mxmweb/xviewer
|
|
2
|
+
|
|
3
|
+
> 动态生成组件数据传参系统,支持多种视图类型(table、form、card、markdown、customized),通过统一的配置接口实现灵活的数据展示和交互
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@mxmweb/xviewer)
|
|
6
|
+
[](https://www.npmjs.com/package/@mxmweb/xviewer)
|
|
7
|
+
[](https://github.com/your-org/xviewer/blob/main/LICENSE)
|
|
8
|
+
|
|
9
|
+
## ✨ 核心特性
|
|
10
|
+
|
|
11
|
+
- ✅ **多种视图类型**:支持 table、form、card、markdown、customized 等多种视图
|
|
12
|
+
- ✅ **灵活的布局模式**:支持 tabs(标签页)、files(文件树)、自动模式
|
|
13
|
+
- ✅ **动态数据绑定**:根据激活视图动态切换数据源
|
|
14
|
+
- ✅ **丰富的交互功能**:支持搜索、过滤、操作等
|
|
15
|
+
- ✅ **主题定制**:支持完整的主题配置和样式定制
|
|
16
|
+
- ✅ **TypeScript 支持**:完整的类型定义
|
|
17
|
+
|
|
18
|
+
## 📦 安装
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# 使用 pnpm(推荐)
|
|
22
|
+
pnpm add @mxmweb/xviewer react react-dom styled-components @mxmweb/zui @mxmweb/rtext
|
|
23
|
+
|
|
24
|
+
# 使用 npm
|
|
25
|
+
npm install @mxmweb/xviewer react react-dom styled-components @mxmweb/zui @mxmweb/rtext
|
|
26
|
+
|
|
27
|
+
# 使用 yarn
|
|
28
|
+
yarn add @mxmweb/xviewer react react-dom styled-components @mxmweb/zui @mxmweb/rtext
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### 必需依赖
|
|
32
|
+
|
|
33
|
+
本库需要以下 peerDependencies:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
pnpm add react@>=18 react-dom@>=18 styled-components@^6.1.19 @mxmweb/zui@^1.3.x @mxmweb/rtext@^1.1.x
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### 样式引入
|
|
40
|
+
|
|
41
|
+
在项目入口文件中引入样式:
|
|
42
|
+
|
|
43
|
+
```typescript
|
|
44
|
+
import '@mxmweb/xviewer/style.css';
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## 🚀 快速开始
|
|
48
|
+
|
|
49
|
+
### 基础用法
|
|
50
|
+
|
|
51
|
+
```tsx
|
|
52
|
+
import { Xviwer } from '@mxmweb/xviewer';
|
|
53
|
+
import '@mxmweb/xviewer/style.css';
|
|
54
|
+
|
|
55
|
+
function App() {
|
|
56
|
+
const views = [
|
|
57
|
+
{
|
|
58
|
+
label: '用户列表',
|
|
59
|
+
id: 'user-list',
|
|
60
|
+
type: 'table',
|
|
61
|
+
columns: [
|
|
62
|
+
{ id: 'name', title: '姓名', type: 'text' },
|
|
63
|
+
{ id: 'email', title: '邮箱', type: 'text' },
|
|
64
|
+
{ id: 'status', title: '状态', type: 'status' }
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
];
|
|
68
|
+
|
|
69
|
+
const dataSource = [
|
|
70
|
+
{
|
|
71
|
+
id: 'user1',
|
|
72
|
+
cells: [
|
|
73
|
+
{ columnId: 'name', type: 'text', value: '张三' },
|
|
74
|
+
{ columnId: 'email', type: 'text', value: 'zhangsan@example.com' },
|
|
75
|
+
{ columnId: 'status', type: 'status', value: 'active' }
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
];
|
|
79
|
+
|
|
80
|
+
return (
|
|
81
|
+
<Xviwer
|
|
82
|
+
model="tabs"
|
|
83
|
+
defaultActiveId="user-list"
|
|
84
|
+
views={views}
|
|
85
|
+
dataSource={dataSource}
|
|
86
|
+
eventsEmit={(name, data) => {
|
|
87
|
+
console.log('Event:', name, data);
|
|
88
|
+
}}
|
|
89
|
+
/>
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## 🔗 链接
|
|
95
|
+
|
|
96
|
+
- **NPM**: <https://www.npmjs.com/package/@mxmweb/xviewer>
|
|
97
|
+
- **GitHub**: <https://github.com/your-org/xviewer>
|
|
98
|
+
|
|
99
|
+
## 📚 API 文档
|
|
100
|
+
|
|
101
|
+
> 📖 完整 API 文档请查看:[doc_assets/接口/](./doc_assets/接口/)
|
|
102
|
+
|
|
103
|
+
- **接口文档**: [Xviwer API](./doc_assets/接口/Xviwer.md)
|
|
104
|
+
- **更新说明**: [CHANGELOG](./doc_assets/更新说明/CHANGELOG.md)
|
|
105
|
+
- **演示说明**: [演示文档](./doc_assets/演示/index.md)
|
|
106
|
+
|
|
107
|
+
## 📋 概述
|
|
2
108
|
|
|
3
109
|
## 概述
|
|
4
110
|
|
package/assets/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.bottom-full{bottom:100%}.left-1\/2{left:50%}.z-10{z-index:10}.z-50{z-index:50}.row-1{grid-row:1}.container{width:100%}.mt-\[10px\]{margin-top:10px}.mt-\[12px\]{margin-top:12px}.mr-\[6px\]{margin-right:6px}.mr-\[8px\]{margin-right:8px}.mr-\[16px\]{margin-right:16px}.mb-\[10px\]{margin-bottom:10px}.ml-\[4px\]{margin-left:4px}.ml-\[8px\]{margin-left:8px}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-11\/12{height:91.6667%}.h-\[80px\]{height:80px}.h-\[98vh\]{height:98vh}.h-full{height:100%}.h-screen{height:100vh}.min-h-full{min-height:100%}.w-10\/12{width:83.3333%}.w-\[76px\]{width:76px}.w-\[95vw\]{width:95vw}.w-\[260px\]{width:260px}.w-\[280px\]{width:280px}.w-full{width:100%}.w-screen{width:100vw}.max-w-none{max-width:none}.min-w-\[40px\]{min-width:40px}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.origin-bottom-right{transform-origin:100% 100%}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-90{rotate:90deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.cursor-pointer\!{cursor:pointer!important}.flex-col{flex-direction:column}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.self-end{align-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded-\[4px\]{border-radius:4px}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-none{--tw-border-style:none;border-style:none}.border-\[\#EBEBEB\]{border-color:#ebebeb}.bg-\[linear-gradient\(90deg\,\#0359FF\,\#BD9CFF\)\]{background-image:linear-gradient(90deg,#0359ff,#bd9cff)}.text-center{text-align:center}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.font-\[12px\]{--tw-font-weight:12px;font-weight:12px}.whitespace-nowrap{white-space:nowrap}.text-\[\#2A2A2A\]{color:#2a2a2a}.text-\[\#84ADFF\]{color:#84adff}.text-\[\#888\],.text-\[\#888888\]{color:#888}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-100{opacity:1}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.\[k\:string\]{k:string}@media(hover:hover){.group-hover\:visible:is(:where(.group):hover *){visibility:visible}}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}.xviewer-nav-tree{background:transparent!important}.xviewer-nav-tree .ant-tree-node-content-wrapper{background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;margin:0!important;min-height:auto!important;line-height:1.5!important}.xviewer-nav-tree .ant-tree-node-content-wrapper:hover,.xviewer-nav-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background:transparent!important}.xviewer-nav-tree .ant-tree-treenode{position:relative;display:block;width:100%;background:transparent!important;border:none!important;margin:0!important;padding:0!important}.xviewer-nav-tree .ant-tree-treenode:hover{background:transparent!important}.xviewer-nav-tree .ant-tree-switcher{width:16px!important;height:16px!important;margin-right:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#6b7280!important;transition:all .2s ease!important}.xviewer-nav-tree .ant-tree-switcher:hover{color:#374151!important}.xviewer-nav-tree .ant-tree-switcher .ant-tree-switcher-icon{font-size:12px!important;transition:transform .2s ease!important}.xviewer-nav-tree .ant-tree-switcher-leaf{display:none!important}.xviewer-nav-tree .xviewer-nav-item{transition:all .2s cubic-bezier(.4,0,.2,1)!important;transform:translate(0)!important;cursor:pointer!important}.xviewer-nav-tree .xviewer-nav-item:hover{transform:translate(2px)!important;box-shadow:0 2px 8px #00000014!important}.xviewer-nav-tree .xviewer-nav-item.active{transform:translate(4px)!important}.xviewer-nav-tree .xviewer-nav-item:hover:not(.active){background:#9ca3af0d!important;border-color:#9ca3af33!important}.xviewer-nav-tree .xviewer-nav-item:hover .xviewer-nav-item-icon{transform:scale(1.1)!important}.xviewer-nav-tree .xviewer-nav-item.active .xviewer-nav-item-icon{transform:scale(1.05)!important}.xviewer-nav-tree .xviewer-nav-item{align-items:center!important;width:100%!important;min-width:100%!important}.xviewer-nav-tree .xviewer-nav-item svg{display:block!important}.xviewer-nav-tree .xviewer-nav-item .cursor-pointer{transition:all .2s ease!important}.xviewer-nav-tree .xviewer-nav-item .cursor-pointer:hover{transform:scale(1.1)!important;color:#3b82f6!important}.xviewer-nav-tree .xviewer-nav-item .rotate-90{transform:rotate(90deg)!important}.xviewer-nav-tree .xviewer-nav-item svg{transition:all .2s ease!important}.xviewer-nav-tree .xviewer-nav-item:hover svg{transform:scale(1.05)!important}.xviewer-nav-tree .xviewer-nav-item .w-4.h-4{opacity:.7!important;transition:all .2s ease!important}.xviewer-nav-tree .xviewer-nav-item .w-5.h-5{display:flex!important;align-items:center!important;justify-content:center!important}.xviewer-nav-tree .ant-tree-switcher,.xviewer-nav-tree .ant-tree-switcher-leaf{display:none!important}.xviewer-nav-tree .xviewer-nav-item{box-sizing:border-box!important;padding-left:12px!important;padding-right:12px!important}.xviewer-nav-tree .xviewer-nav-item>div:first-child{width:20px!important;height:36px!important;margin-right:8px!important;display:flex!important;align-items:center!important;justify-content:center!important}.xviewer-nav-tree .xviewer-nav-item{padding:8px 12px!important;margin:2px 0!important;align-items:center!important;gap:8px!important;position:relative!important}.xviewer-nav-tree .xviewer-nav-item .w-4.h-4{width:16px!important;height:16px!important;margin-right:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important;opacity:.7!important;transition:all .2s ease!important}.xviewer-nav-tree .xviewer-nav-item:hover .w-4.h-4{opacity:1!important;transform:scale(1.1)!important}.xviewer-nav-tree .xviewer-nav-item .w-5.h-5{width:20px!important;height:20px!important;margin-right:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important}.xviewer-nav-tree .xviewer-nav-item .flex-1{flex:1!important;min-width:0!important;font-weight:500!important;font-size:14px!important;line-height:1.4!important}.xviewer-nav-tree .xviewer-nav-item .px-2.py-0\.5{margin-left:auto!important;flex-shrink:0!important}.xviewer-nav-active-indicator{width:3px!important;min-width:3px!important;max-width:3px!important;z-index:10!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important}.xviewer-nav-tree .ant-tree-children{transition:margin-left .3s ease!important}.xviewer-nav-tree .ant-tree-switcher .ant-tree-switcher-icon{transition:transform .3s cubic-bezier(.4,0,.2,1)!important}.xviewer-nav-tree .ant-tree-switcher-switcher_open .ant-tree-switcher-icon{transform:rotate(90deg)!important}.xviewer-nav-tree .ant-tree-treenode-switcher-open>.ant-tree-children{margin-left:16px!important}.xviewer-nav-tree .ant-tree-treenode-switcher-close>.ant-tree-children{margin-left:16px!important}.xviewer-nav-tree-container::-webkit-scrollbar{width:6px!important}.xviewer-nav-tree-container::-webkit-scrollbar-track{background:transparent!important}.xviewer-nav-tree-container::-webkit-scrollbar-thumb{background:#9ca3af4d!important;border-radius:3px!important}.xviewer-nav-tree-container::-webkit-scrollbar-thumb:hover{background:#9ca3af80!important}@media(max-width:768px){.xviewer-nav-tree .ant-tree-switcher{width:14px!important;height:14px!important;margin-right:6px!important}.xviewer-nav-tree .ant-tree-treenode-switcher-open>.ant-tree-children,.xviewer-nav-tree .ant-tree-treenode-switcher-close>.ant-tree-children{margin-left:12px!important}.xviewer-nav-tree .xviewer-nav-item{padding:8px 12px!important;margin:2px 0!important}}@media(prefers-color-scheme:dark){.xviewer-nav-tree-container::-webkit-scrollbar-thumb{background:#9ca3af66!important}.xviewer-nav-tree-container::-webkit-scrollbar-thumb:hover{background:#9ca3af99!important}}@media(prefers-color-scheme:dark){.xviewer-nav-tree .ant-tree-switcher{color:#9ca3af!important}.xviewer-nav-tree .ant-tree-switcher:hover{color:#d1d5db!important}}.xviewer-nav-tree .ant-tree-switcher,.xviewer-nav-tree .ant-tree-switcher-leaf,.xviewer-nav-tree .ant-tree-indent,.xviewer-nav-tree .ant-tree-indent-unit,.xviewer-nav-tree .ant-tree-indent-unit-end{display:none!important}.xviewer-nav-tree .ant-tree-node-content-wrapper{display:block!important;align-items:center!important;width:100%!important;padding:0!important;margin:0!important}.xviewer-nav-tree .ant-tree-treenode{display:block!important;width:100%!important;padding:0!important;margin:0!important}.xviewer-nav-tree .ant-tree-children,.xviewer-nav-tree .ant-tree-children .ant-tree-children,.xviewer-nav-tree .ant-tree-children .ant-tree-children .ant-tree-children{margin-left:0!important}.xviewer-tree-layout{min-width:0!important;overflow:hidden!important}.xviewer-tree-content-area{transition:all .3s ease!important;box-sizing:border-box!important}.xviewer-tree-content-nav{margin-left:16px!important;min-width:calc(100vw - 292px)!important}.xviewer-tree-content-flat{margin-left:20px!important;min-width:calc(100vw - 320px)!important}.xviewer-tree-content-area:not(.xviewer-tree-content-nav):not(.xviewer-tree-content-flat){margin-left:20px!important;min-width:calc(100vw - 292px)!important}.xviewer-tree-content-area .ant-table,.xviewer-tree-content-area .dynamic-cards-container{width:100%!important;max-width:100%!important;box-sizing:border-box!important}@media(max-width:1200px){.xviewer-tree-content-nav{margin-left:12px!important}.xviewer-tree-content-area:not(.xviewer-tree-content-nav){margin-left:16px!important}}@media(max-width:768px){.xviewer-tree-content-nav{margin-left:8px!important}.xviewer-tree-content-area:not(.xviewer-tree-content-nav){margin-left:12px!important}}.xviewer-container .ant-tree-switcher.ant-tree-switcher-noop{display:none!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important;opacity:0!important;position:absolute!important;left:-9999px!important;top:-9999px!important}.xviewer-container .ant-tree-switcher:empty{display:none!important;visibility:hidden!important}.xviewer-container .ant-tree-switcher[class*=noop]{display:none!important;visibility:hidden!important;opacity:0!important;width:0!important;height:0!important}.xviewer-container .ant-tree-treenode{align-items:center!important}.xviewer-container .ant-tree-switcher:not(.ant-tree-switcher_open):not(.ant-tree-switcher_close){visibility:hidden!important}.xviewer-nav-tree .ant-tree-switcher.ant-tree-switcher-noop{display:none!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important;opacity:0!important;position:absolute!important;left:-9999px!important;top:-9999px!important}.xviewer-nav-tree .ant-tree-switcher:empty{display:none!important;visibility:hidden!important}.xviewer-nav-tree .ant-tree-switcher[class*=noop]{display:none!important;visibility:hidden!important;opacity:0!important;width:0!important;height:0!important}
|
|
1
|
+
/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.bottom-full{bottom:100%}.left-1\/2{left:50%}.z-10{z-index:10}.z-50{z-index:50}.row-1{grid-row:1}.container{width:100%}.mt-\[10px\]{margin-top:10px}.mt-\[12px\]{margin-top:12px}.mr-\[6px\]{margin-right:6px}.mr-\[8px\]{margin-right:8px}.mr-\[16px\]{margin-right:16px}.mb-\[10px\]{margin-bottom:10px}.ml-\[4px\]{margin-left:4px}.ml-\[8px\]{margin-left:8px}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-11\/12{height:91.6667%}.h-\[80px\]{height:80px}.h-\[98vh\]{height:98vh}.h-full{height:100%}.h-screen{height:100vh}.min-h-full{min-height:100%}.w-10\/12{width:83.3333%}.w-\[76px\]{width:76px}.w-\[95vw\]{width:95vw}.w-\[260px\]{width:260px}.w-\[280px\]{width:280px}.w-full{width:100%}.w-screen{width:100vw}.max-w-none{max-width:none}.min-w-\[40px\]{min-width:40px}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.origin-bottom-right{transform-origin:100% 100%}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-90{rotate:90deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.cursor-pointer\!{cursor:pointer!important}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.self-end{align-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded-\[4px\]{border-radius:4px}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-none{--tw-border-style:none;border-style:none}.border-\[\#EBEBEB\]{border-color:#ebebeb}.bg-\[linear-gradient\(90deg\,\#0359FF\,\#BD9CFF\)\]{background-image:linear-gradient(90deg,#0359ff,#bd9cff)}.text-center{text-align:center}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.font-\[12px\]{--tw-font-weight:12px;font-weight:12px}.whitespace-nowrap{white-space:nowrap}.text-\[\#2A2A2A\]{color:#2a2a2a}.text-\[\#84ADFF\]{color:#84adff}.text-\[\#888\],.text-\[\#888888\]{color:#888}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-100{opacity:1}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.\[k\:string\]{k:string}@media(hover:hover){.group-hover\:visible:is(:where(.group):hover *){visibility:visible}}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}.xviewer-nav-tree{background:transparent!important}.xviewer-nav-tree .ant-tree-node-content-wrapper{background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;margin:0!important;min-height:auto!important;line-height:1.5!important}.xviewer-nav-tree .ant-tree-node-content-wrapper:hover,.xviewer-nav-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background:transparent!important}.xviewer-nav-tree .ant-tree-treenode{position:relative;display:block;width:100%;background:transparent!important;border:none!important;margin:0!important;padding:0!important}.xviewer-nav-tree .ant-tree-treenode:hover{background:transparent!important}.xviewer-nav-tree .ant-tree-switcher{width:16px!important;height:16px!important;margin-right:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#6b7280!important;transition:all .2s ease!important}.xviewer-nav-tree .ant-tree-switcher:hover{color:#374151!important}.xviewer-nav-tree .ant-tree-switcher .ant-tree-switcher-icon{font-size:12px!important;transition:transform .2s ease!important}.xviewer-nav-tree .ant-tree-switcher-leaf{display:none!important}.xviewer-nav-tree .xviewer-nav-item{transition:all .2s cubic-bezier(.4,0,.2,1)!important;transform:translate(0)!important;cursor:pointer!important}.xviewer-nav-tree .xviewer-nav-item:hover{transform:translate(2px)!important;box-shadow:0 2px 8px #00000014!important}.xviewer-nav-tree .xviewer-nav-item.active{transform:translate(4px)!important}.xviewer-nav-tree .xviewer-nav-item:hover:not(.active){background:#9ca3af0d!important;border-color:#9ca3af33!important}.xviewer-nav-tree .xviewer-nav-item:hover .xviewer-nav-item-icon{transform:scale(1.1)!important}.xviewer-nav-tree .xviewer-nav-item.active .xviewer-nav-item-icon{transform:scale(1.05)!important}.xviewer-nav-tree .xviewer-nav-item{align-items:center!important;width:100%!important;min-width:100%!important}.xviewer-nav-tree .xviewer-nav-item svg{display:block!important}.xviewer-nav-tree .xviewer-nav-item .cursor-pointer{transition:all .2s ease!important}.xviewer-nav-tree .xviewer-nav-item .cursor-pointer:hover{transform:scale(1.1)!important;color:#3b82f6!important}.xviewer-nav-tree .xviewer-nav-item .rotate-90{transform:rotate(90deg)!important}.xviewer-nav-tree .xviewer-nav-item svg{transition:all .2s ease!important}.xviewer-nav-tree .xviewer-nav-item:hover svg{transform:scale(1.05)!important}.xviewer-nav-tree .xviewer-nav-item .w-4.h-4{opacity:.7!important;transition:all .2s ease!important}.xviewer-nav-tree .xviewer-nav-item .w-5.h-5{display:flex!important;align-items:center!important;justify-content:center!important}.xviewer-nav-tree .ant-tree-switcher,.xviewer-nav-tree .ant-tree-switcher-leaf{display:none!important}.xviewer-nav-tree .xviewer-nav-item{box-sizing:border-box!important;padding-left:12px!important;padding-right:12px!important}.xviewer-nav-tree .xviewer-nav-item>div:first-child{width:20px!important;height:36px!important;margin-right:8px!important;display:flex!important;align-items:center!important;justify-content:center!important}.xviewer-nav-tree .xviewer-nav-item{padding:8px 12px!important;margin:2px 0!important;align-items:center!important;gap:8px!important;position:relative!important}.xviewer-nav-tree .xviewer-nav-item .w-4.h-4{width:16px!important;height:16px!important;margin-right:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important;opacity:.7!important;transition:all .2s ease!important}.xviewer-nav-tree .xviewer-nav-item:hover .w-4.h-4{opacity:1!important;transform:scale(1.1)!important}.xviewer-nav-tree .xviewer-nav-item .w-5.h-5{width:20px!important;height:20px!important;margin-right:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important}.xviewer-nav-tree .xviewer-nav-item .flex-1{flex:1!important;min-width:0!important;font-weight:500!important;font-size:14px!important;line-height:1.4!important}.xviewer-nav-tree .xviewer-nav-item .px-2.py-0\.5{margin-left:auto!important;flex-shrink:0!important}.xviewer-nav-active-indicator{width:3px!important;min-width:3px!important;max-width:3px!important;z-index:10!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important}.xviewer-nav-tree .ant-tree-children{transition:margin-left .3s ease!important}.xviewer-nav-tree .ant-tree-switcher .ant-tree-switcher-icon{transition:transform .3s cubic-bezier(.4,0,.2,1)!important}.xviewer-nav-tree .ant-tree-switcher-switcher_open .ant-tree-switcher-icon{transform:rotate(90deg)!important}.xviewer-nav-tree .ant-tree-treenode-switcher-open>.ant-tree-children{margin-left:16px!important}.xviewer-nav-tree .ant-tree-treenode-switcher-close>.ant-tree-children{margin-left:16px!important}.xviewer-nav-tree-container::-webkit-scrollbar{width:6px!important}.xviewer-nav-tree-container::-webkit-scrollbar-track{background:transparent!important}.xviewer-nav-tree-container::-webkit-scrollbar-thumb{background:#9ca3af4d!important;border-radius:3px!important}.xviewer-nav-tree-container::-webkit-scrollbar-thumb:hover{background:#9ca3af80!important}@media(max-width:768px){.xviewer-nav-tree .ant-tree-switcher{width:14px!important;height:14px!important;margin-right:6px!important}.xviewer-nav-tree .ant-tree-treenode-switcher-open>.ant-tree-children,.xviewer-nav-tree .ant-tree-treenode-switcher-close>.ant-tree-children{margin-left:12px!important}.xviewer-nav-tree .xviewer-nav-item{padding:8px 12px!important;margin:2px 0!important}}@media(prefers-color-scheme:dark){.xviewer-nav-tree-container::-webkit-scrollbar-thumb{background:#9ca3af66!important}.xviewer-nav-tree-container::-webkit-scrollbar-thumb:hover{background:#9ca3af99!important}}@media(prefers-color-scheme:dark){.xviewer-nav-tree .ant-tree-switcher{color:#9ca3af!important}.xviewer-nav-tree .ant-tree-switcher:hover{color:#d1d5db!important}}.xviewer-nav-tree .ant-tree-switcher,.xviewer-nav-tree .ant-tree-switcher-leaf,.xviewer-nav-tree .ant-tree-indent,.xviewer-nav-tree .ant-tree-indent-unit,.xviewer-nav-tree .ant-tree-indent-unit-end{display:none!important}.xviewer-nav-tree .ant-tree-node-content-wrapper{display:block!important;align-items:center!important;width:100%!important;padding:0!important;margin:0!important}.xviewer-nav-tree .ant-tree-treenode{display:block!important;width:100%!important;padding:0!important;margin:0!important}.xviewer-nav-tree .ant-tree-children,.xviewer-nav-tree .ant-tree-children .ant-tree-children,.xviewer-nav-tree .ant-tree-children .ant-tree-children .ant-tree-children{margin-left:0!important}.xviewer-tree-layout{min-width:0!important;overflow:hidden!important}.xviewer-tree-content-area{transition:all .3s ease!important;box-sizing:border-box!important}.xviewer-tree-content-nav{margin-left:16px!important;min-width:calc(100vw - 292px)!important}.xviewer-tree-content-flat{margin-left:20px!important;min-width:calc(100vw - 320px)!important}.xviewer-tree-content-area:not(.xviewer-tree-content-nav):not(.xviewer-tree-content-flat){margin-left:20px!important;min-width:calc(100vw - 292px)!important}.xviewer-tree-content-area .ant-table,.xviewer-tree-content-area .dynamic-cards-container{width:100%!important;max-width:100%!important;box-sizing:border-box!important}@media(max-width:1200px){.xviewer-tree-content-nav{margin-left:12px!important}.xviewer-tree-content-area:not(.xviewer-tree-content-nav){margin-left:16px!important}}@media(max-width:768px){.xviewer-tree-content-nav{margin-left:8px!important}.xviewer-tree-content-area:not(.xviewer-tree-content-nav){margin-left:12px!important}}.xviewer-container .ant-tree-switcher.ant-tree-switcher-noop{display:none!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important;opacity:0!important;position:absolute!important;left:-9999px!important;top:-9999px!important}.xviewer-container .ant-tree-switcher:empty{display:none!important;visibility:hidden!important}.xviewer-container .ant-tree-switcher[class*=noop]{display:none!important;visibility:hidden!important;opacity:0!important;width:0!important;height:0!important}.xviewer-container .ant-tree-treenode{align-items:center!important}.xviewer-container .ant-tree-switcher:not(.ant-tree-switcher_open):not(.ant-tree-switcher_close){visibility:hidden!important}.xviewer-nav-tree .ant-tree-switcher.ant-tree-switcher-noop{display:none!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important;opacity:0!important;position:absolute!important;left:-9999px!important;top:-9999px!important}.xviewer-nav-tree .ant-tree-switcher:empty{display:none!important;visibility:hidden!important}.xviewer-nav-tree .ant-tree-switcher[class*=noop]{display:none!important;visibility:hidden!important;opacity:0!important;width:0!important;height:0!important}
|