feikuai-element-plus-virtual-component 1.0.28 → 1.0.29
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 +25 -0
- package/dist/cascader-panel/index.css +1 -1
- package/dist/cascader-panel/menu.vue.d.ts +1 -1
- package/dist/cascader.vue_vue_type_script_setup_true_lang.js +280 -286
- package/dist/index2.js +537 -531
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -168,6 +168,12 @@ import ElCascaderPanelV2 from 'feikuai-element-plus-virtual-component/cascader-p
|
|
|
168
168
|
# 安装依赖
|
|
169
169
|
pnpm install
|
|
170
170
|
|
|
171
|
+
# 本地预览与调试
|
|
172
|
+
pnpm dev
|
|
173
|
+
|
|
174
|
+
# 预览已构建页面
|
|
175
|
+
pnpm preview
|
|
176
|
+
|
|
171
177
|
# 构建
|
|
172
178
|
pnpm build:npm
|
|
173
179
|
|
|
@@ -178,6 +184,25 @@ pnpm fmt
|
|
|
178
184
|
pnpm lint
|
|
179
185
|
```
|
|
180
186
|
|
|
187
|
+
## 本地预览与调试
|
|
188
|
+
|
|
189
|
+
项目已内置 Playground 调试环境,用于组件交互与大数据性能验证。
|
|
190
|
+
|
|
191
|
+
- 入口页面:`index.html`
|
|
192
|
+
- 启动入口:`src/dev/main.ts`
|
|
193
|
+
- 调试页面:`src/dev/App.vue`
|
|
194
|
+
- 压测数据生成:`src/dev/mock/options.ts`
|
|
195
|
+
|
|
196
|
+
当前默认包含以下场景:
|
|
197
|
+
|
|
198
|
+
- 基础单选
|
|
199
|
+
- 多选 + 折叠标签
|
|
200
|
+
- 可搜索过滤
|
|
201
|
+
- 5000+ 节点压测
|
|
202
|
+
- 懒加载场景
|
|
203
|
+
|
|
204
|
+
说明:Playground 仅用于本地开发调试,不参与 npm 发布产物。
|
|
205
|
+
|
|
181
206
|
## 输出结构
|
|
182
207
|
|
|
183
208
|
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.cascader-virtual-list[data-v-
|
|
1
|
+
.cascader-virtual-list[data-v-00612ebc]{height:100%;min-height:204px;max-height:204px}.cascader-virtual-list[data-v-00612ebc] .vue-recycle-scroller__item-view{width:100%}.empty-panel{padding:10px 0;margin:0;text-align:center;color:#909399}
|
|
@@ -1098,7 +1098,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1098
1098
|
controls: string;
|
|
1099
1099
|
}>;
|
|
1100
1100
|
CheckboxGroup: import('vue').DefineComponent<{
|
|
1101
|
-
readonly modelValue: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...
|
|
1101
|
+
readonly modelValue: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus').CheckboxGroupValueType) | (() => import('element-plus').CheckboxGroupValueType) | ((new (...args: any[]) => import('element-plus').CheckboxGroupValueType) | (() => import('element-plus').CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>;
|
|
1102
1102
|
readonly disabled: BooleanConstructor;
|
|
1103
1103
|
readonly min: NumberConstructor;
|
|
1104
1104
|
readonly max: NumberConstructor;
|