Closed kagol closed 5 days ago
A new JavaScript module for the grid-select
component has been created, detailing its configuration and properties. Several Vue components have been introduced, demonstrating basic and multiple selection functionalities using the TinyGridSelect
component from the @opentiny/vue
library. Additionally, documentation files for the GridSelect
component have been added in both Chinese and English. The changes also include updates to menus and the addition of new functions for handling selection changes in the renderless component architecture.
File | Change Summary |
---|---|
examples/sites/demos/apis/grid-select.js |
New module with grid-select configuration, properties (grid-op , modelValue , multiple , text-field , value-field ), and IGridOption interface. |
examples/sites/demos/pc/app/grid-select/basic-usage-composition-api.vue |
New Vue component utilizing TinyGridSelect , with reactive data structure for city data and grid columns. |
examples/sites/demos/pc/app/grid-select/basic-usage.spec.ts |
New test case for basic usage of the grid select component using Playwright. |
examples/sites/demos/pc/app/grid-select/basic-usage.vue |
New Vue component implementing TinyGridSelect with grid-op prop and city data structure. |
examples/sites/demos/pc/app/grid-select/multiple-composition-api.vue |
New Vue component for multi-selection using tiny-grid-select , with reactive data for multiple cities. |
examples/sites/demos/pc/app/grid-select/multiple.vue |
New Vue component for selecting multiple items with tiny-grid-select , utilizing gridOpMulti . |
examples/sites/demos/pc/app/grid-select/webdoc/grid-select.cn.md |
New documentation file for GridSelect component in Chinese. |
examples/sites/demos/pc/app/grid-select/webdoc/grid-select.en.md |
New documentation file for GridSelect component in English. |
examples/sites/demos/pc/app/grid-select/webdoc/grid-select.js |
New module exporting demo configurations for GridSelect . |
examples/sites/demos/pc/menus.js |
New menu item "业务组件" (Business Components) added, along with a new child component "下拉表格选择器" (GridSelect). |
examples/sites/src/views/components/cmp-config.js |
Modified getWebdocPath function to adjust control flow for grid-select . |
packages/modules.json |
New GridSelect component added, categorized as "component" type for "pc" mode. |
packages/renderless/src/grid-select/index.ts |
Introduced radioChange and selectChange functions for handling selection changes. |
packages/renderless/src/grid-select/vue.ts |
New renderless component for grid selection, exporting state and selection functions. |
packages/vue/package.json |
Added dependency @opentiny/vue-grid-select . |
packages/vue/src/grid-select/index.ts |
New GridSelect component with installation method for Vue registration. |
packages/vue/src/grid-select/package.json |
New package definition for @opentiny/vue-grid-select . |
packages/vue/src/grid-select/src/pc.vue |
New GridSelect component with multiple selection support and grid configuration. |
grid-select
component, which may relate to the grid functionality discussed in this PR that focuses on theme updates for the grid component.grid-select
component.grid-select
component, as both involve grid-related UI elements.🐰 In the meadow, we hop with glee,
New grids and selects, oh what a spree!
With options aplenty, we dance and play,
Choosing our favorites, come join the fray!
A sprinkle of code, a dash of delight,
In the world of selection, everything's bright! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
[e2e-test-warn] The component to be tested is missing.
The title of the Pull request should look like "fix(vue-renderless): [action-menu, alert] fix xxx bug".
Please make sure you've read our contributing guide
PR
主要更新:
效果:
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
Release Notes
New Features
GridSelect
component for enhanced selection capabilities, supporting both single and multiple selections.grid-select
component, including properties for data binding and display.Documentation
GridSelect
component, detailing its usage and features.Tests
GridSelect
component in various scenarios.Menu Enhancements
GridSelect
option, improving accessibility to these features.