mixlinker-actionitem 1.0.1

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/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ .action-item-form[data-v-083c5f60]{padding:16px;box-sizing:border-box}.empty-state[data-v-083c5f60]{padding:40px 0;text-align:center}.form-header[data-v-083c5f60]{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #ebeef5}.form-header h3[data-v-083c5f60]{margin:0 0 4px;font-size:16px}.form-header p[data-v-083c5f60]{margin:0;font-size:12px;color:#909399}.form-footer[data-v-083c5f60]{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid #ebeef5}.sub-form-field[data-v-083c5f60]{width:100%;margin-bottom:20px}.sub-form-field[data-v-083c5f60] .el-form-item__content{display:block;width:100%}.tab-inline-field[data-v-083c5f60]{display:flex;align-items:flex-start}.tab-inline-field[data-v-083c5f60] .el-form-item__label{flex-shrink:0;padding-top:10px}.tab-inline-field[data-v-083c5f60] .el-form-item__content{flex:1;margin-left:0!important}.sub-form-wrapper[data-v-083c5f60]{width:100%;padding:16px;border:1px solid #dcdfe6;border-radius:6px;background:#fff;box-sizing:border-box}.sub-form-inline[data-v-083c5f60]{width:100%}.sub-form-inline[data-v-083c5f60] .sub-form-field{margin-bottom:12px;padding-left:0}.sub-form-inline[data-v-083c5f60] .sub-form-inline{padding:8px 12px;background:#fff;border-radius:4px;border-left:2px solid #dcdfe6}.sub-form-content[data-v-083c5f60],.sub-line-container[data-v-083c5f60]{width:100%}.sub-line-item[data-v-083c5f60]{margin-bottom:20px;padding:16px;background:#fff;border-radius:6px;border:1px solid #e8e8e8}.sub-line-item[data-v-083c5f60]:last-child{margin-bottom:0}.sub-line-title[data-v-083c5f60]{font-size:14px;font-weight:600;color:#303133;margin-bottom:16px;padding-bottom:10px;border-bottom:1px solid #e8e8e8}.sub-form[data-v-083c5f60]{width:100%}.sub-item[data-v-083c5f60]{display:flex;align-items:flex-start;gap:8px;padding:12px;margin-bottom:8px;background:#fafafa;border-radius:4px;border:1px solid #ebeef5}.sub-fields[data-v-083c5f60]{flex:1;display:flex;flex-wrap:wrap;gap:12px}.sub-field[data-v-083c5f60]{min-width:200px;flex:1}.sub-label[data-v-083c5f60]{display:block;font-size:12px;color:#606266;margin-bottom:4px}.required-star[data-v-083c5f60]{color:#f56c6c;margin-right:2px}.file-upload-wrapper[data-v-083c5f60]{display:flex;align-items:center;gap:8px}.upload-tip[data-v-083c5f60]{font-size:12px;color:#909399}.tab-layout[data-v-083c5f60]{border:1px solid #ebeef5;border-radius:4px;overflow:hidden}.tab-header[data-v-083c5f60]{display:flex;background:#f5f7fa;border-bottom:1px solid #ebeef5;overflow-x:auto}.tab-item[data-v-083c5f60]{padding:10px 20px;font-size:14px;color:#606266;cursor:pointer;white-space:nowrap;border-bottom:2px solid transparent;transition:all .2s}.tab-item[data-v-083c5f60]:hover{color:#409eff;background:#ecf5ff}.tab-item.active[data-v-083c5f60]{color:#409eff;background:#fff;border-bottom-color:#409eff}.tab-content[data-v-083c5f60]{padding:16px;background:#fff}.tab-panel[data-v-083c5f60]{min-height:100px}.tab-panel-content[data-v-083c5f60]{padding:8px 0}.sub-tab-container[data-v-083c5f60]{width:100%;background:#fff;border-radius:4px;overflow:visible}.sub-tab-header[data-v-083c5f60]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:0;background:transparent;border-bottom:1px solid #e4e7ed;padding:0;margin-bottom:0;width:100%;box-sizing:border-box}.sub-tab-header>div[data-v-083c5f60]{display:inline-block}.sub-tab-item[data-v-083c5f60]{flex:0 0 auto;display:inline-block;padding:12px 24px;font-size:14px;font-weight:400;color:#303133;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;transition:color .2s,border-color .2s;white-space:nowrap;background:transparent;text-align:center;-webkit-user-select:none;user-select:none}.sub-tab-item[data-v-083c5f60]:hover{color:#409eff}.sub-tab-item.active[data-v-083c5f60]{color:#409eff;border-bottom-color:#409eff;font-weight:500}.sub-tab-content[data-v-083c5f60]{padding:20px 0;background:transparent;min-height:100px}.sub-tab-panel[data-v-083c5f60]{width:100%}.sub-tab-panel[data-v-083c5f60] .el-form-item{margin-bottom:16px}.sub-tab-panel[data-v-083c5f60] .el-form-item__label{font-size:13px;color:#606266}
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "mixlinker-actionitem",
3
+ "version": "1.0.1",
4
+ "description": "ActionItem 动态表单组件 - 支持多种表单类型、字段联动、WebSocket 数据交互",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.js",
12
+ "require": "./dist/index.cjs",
13
+ "types": "./dist/index.d.ts"
14
+ },
15
+ "./style.css": "./dist/style.css"
16
+ },
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "scripts": {
21
+ "dev": "vite --config vite.config.dev.ts",
22
+ "build": "vite build",
23
+ "preview": "vite preview",
24
+ "type": "vue-tsc --emitDeclarationOnly"
25
+ },
26
+ "peerDependencies": {
27
+ "vue": "^3.3.0",
28
+ "element-plus": "^2.4.0"
29
+ },
30
+ "dependencies": {
31
+ "@element-plus/icons-vue": "^2.3.1"
32
+ },
33
+ "devDependencies": {
34
+ "@vitejs/plugin-vue": "^5.0.0",
35
+ "typescript": "^5.3.0",
36
+ "vite": "^5.0.0",
37
+ "vite-plugin-dts": "^3.7.0",
38
+ "vue": "^3.4.0",
39
+ "vue-tsc": "^1.8.0",
40
+ "element-plus": "^2.4.0",
41
+ "sass": "^1.69.0"
42
+ },
43
+ "keywords": [
44
+ "vue",
45
+ "vue3",
46
+ "form",
47
+ "dynamic-form",
48
+ "actionitem",
49
+ "element-plus",
50
+ "websocket"
51
+ ],
52
+ "author": "Mixlinker",
53
+ "license": "MIT",
54
+ "repository": {
55
+ "type": "git",
56
+ "url": ""
57
+ }
58
+ }