@tongfun/ui 0.0.1-alpha.1 → 0.0.1-alpha.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/.claude/settings.local.json +7 -0
- package/.hermes/plans/datapicker-object-mode.md +57 -0
- package/.hermes/plans/design-spec-fusion-5175-v2.md +146 -0
- package/.hermes/plans/design-spec-fusion-5175.md +88 -0
- package/.hermes/plans/file-upload-chip-redesign.md +66 -0
- package/.hermes/plans/form-image-upload-modelvalue-fix.md +38 -0
- package/.hermes/plans/form-layout-responsive-span-plan.md +137 -0
- package/.hermes/plans/global-audit-report.md +728 -0
- package/.hermes/plans/global-audit-report.v1.md +604 -0
- package/.hermes/plans/global-audit-report.v3.md +777 -0
- package/.hermes/plans/image-file-erp-redesign.md +173 -0
- package/.hermes/plans/location-picker-baidu-modal.md +173 -0
- package/.hermes/plans/new-document-3b-color-componentization-plan.md +155 -0
- package/.hermes/plans/new-document-form-layout-rebuild-plan.md +150 -0
- package/.hermes/plans/new-document-fullwidth-3col-plan.md +177 -0
- package/.hermes/plans/picker-quick-options-range-mode.md +143 -0
- package/.hermes/plans/region-picker-mock-contract.md +202 -0
- package/.hermes/plans/zero-div-component-contracts.md +466 -0
- package/README.md +110 -101
- package/components.json +19 -0
- package/docs/DEVELOPMENT.md +315 -0
- package/docs/PRD.md +170 -0
- package/docs/ai-api-layering.md +141 -0
- package/docs/anchor-component-plan.md +165 -0
- package/docs/components-analysis.md +2911 -0
- package/docs/demo-scan-report.md +142 -0
- package/docs/editable-table-research.md +8 -0
- package/docs/form-panorama-plan.md +141 -0
- package/docs/lowcode-agent-component-registry.sample.json +36364 -0
- package/docs/tf-form-table-modification-plan.md +503 -0
- package/docs/token-compliance-audit-report.md +542 -0
- package/env.d.ts +5 -0
- package/eslint.config.js +66 -0
- package/package.json +85 -110
- package/packages/ui/__tests__/package-exports.test.ts +23 -0
- package/packages/ui/components/affix/README.md +78 -0
- package/packages/ui/components/affix/__tests__/affix.test.ts +204 -0
- package/packages/ui/components/affix/index.ts +13 -0
- package/packages/ui/components/affix/src/affix.vue +216 -0
- package/packages/ui/components/affix/src/types.ts +47 -0
- package/packages/ui/components/affix/styles/affix.css +17 -0
- package/packages/ui/components/ai-overlay/README.md +180 -0
- package/packages/ui/components/ai-overlay/__tests__/ai-action-menu.test.ts +133 -0
- package/packages/ui/components/ai-overlay/__tests__/ai-overlay.test.ts +117 -0
- package/packages/ui/components/ai-overlay/index.ts +32 -0
- package/packages/ui/components/ai-overlay/src/ai-action-menu-types.ts +22 -0
- package/packages/ui/components/ai-overlay/src/ai-action-menu.vue +200 -0
- package/packages/ui/components/ai-overlay/src/ai-overlay.vue +329 -0
- package/packages/ui/components/ai-overlay/src/types.ts +84 -0
- package/packages/ui/components/ai-overlay/styles/ai-overlay.css +306 -0
- package/packages/ui/components/ai-state-flow/README.md +111 -0
- package/packages/ui/components/ai-state-flow/__tests__/ai-state-flow.test.ts +69 -0
- package/packages/ui/components/ai-state-flow/ai-state-flow.ts +16 -0
- package/packages/ui/components/ai-state-flow/ai-state-flow.vue +67 -0
- package/packages/ui/components/ai-state-flow/index.ts +24 -0
- package/packages/ui/components/ai-state-flow/styles/ai-state-flow.css +144 -0
- package/packages/ui/components/alert/README.md +83 -0
- package/packages/ui/components/alert/__tests__/alert.test.ts +155 -0
- package/packages/ui/components/alert/index.ts +13 -0
- package/packages/ui/components/alert/src/alert.ts +90 -0
- package/packages/ui/components/alert/src/alert.vue +87 -0
- package/packages/ui/components/alert/styles/alert.css +158 -0
- package/packages/ui/components/anchor/README.md +50 -0
- package/packages/ui/components/anchor/__tests__/anchor.test.ts +284 -0
- package/packages/ui/components/anchor/index.ts +13 -0
- package/packages/ui/components/anchor/src/anchor.vue +94 -0
- package/packages/ui/components/anchor/src/types.ts +55 -0
- package/packages/ui/components/anchor/src/use-anchor.ts +253 -0
- package/packages/ui/components/anchor/styles/anchor.css +90 -0
- package/packages/ui/components/avatar/README.md +118 -0
- package/packages/ui/components/avatar/__tests__/avatar.test.ts +83 -0
- package/packages/ui/components/avatar/index.ts +12 -0
- package/packages/ui/components/avatar/src/avatar.ts +62 -0
- package/packages/ui/components/avatar/src/avatar.vue +106 -0
- package/packages/ui/components/back-top/README.md +63 -0
- package/packages/ui/components/back-top/__tests__/back-top.test.ts +215 -0
- package/packages/ui/components/back-top/index.ts +13 -0
- package/packages/ui/components/back-top/src/back-top.ts +51 -0
- package/packages/ui/components/back-top/src/back-top.vue +104 -0
- package/packages/ui/components/back-top/styles/back-top.css +24 -0
- package/packages/ui/components/badge/README.md +71 -0
- package/packages/ui/components/badge/__tests__/badge.test.ts +142 -0
- package/packages/ui/components/badge/index.ts +13 -0
- package/packages/ui/components/badge/src/badge.ts +64 -0
- package/packages/ui/components/badge/src/badge.vue +76 -0
- package/packages/ui/components/badge/styles/badge.css +45 -0
- package/packages/ui/components/batch-action-button/README.md +68 -0
- package/packages/ui/components/batch-action-button/__tests__/batch-action-button.test.ts +30 -0
- package/packages/ui/components/batch-action-button/index.ts +11 -0
- package/packages/ui/components/batch-action-button/src/batch-action-button.vue +59 -0
- package/packages/ui/components/batch-action-button/src/types.ts +9 -0
- package/packages/ui/components/breadcrumb/README.md +115 -0
- package/packages/ui/components/breadcrumb/__tests__/breadcrumb.test.ts +168 -0
- package/packages/ui/components/breadcrumb/index.ts +13 -0
- package/packages/ui/components/breadcrumb/src/breadcrumb.ts +60 -0
- package/packages/ui/components/breadcrumb/src/breadcrumb.vue +86 -0
- package/packages/ui/components/business/document/action-header/index.ts +14 -0
- package/packages/ui/components/business/document/action-header/src/context.ts +10 -0
- package/packages/ui/components/business/document/action-header/src/document-action-header.vue +296 -0
- package/packages/ui/components/business/document/action-header/src/types.ts +100 -0
- package/packages/ui/components/business/document/ai-toolbar/index.ts +12 -0
- package/packages/ui/components/business/document/ai-toolbar/src/document-ai-toolbar.vue +72 -0
- package/packages/ui/components/business/document/form-page/index.ts +16 -0
- package/packages/ui/components/business/document/form-page/src/composables/use-document-ai-toolbar.ts +37 -0
- package/packages/ui/components/business/document/form-page/src/composables/use-document-layout-mode.ts +24 -0
- package/packages/ui/components/business/document/form-page/src/composables/use-document-recognition.ts +55 -0
- package/packages/ui/components/business/document/form-page/src/composables/use-document-save.ts +243 -0
- package/packages/ui/components/business/document/form-page/src/composables/use-document-sections.ts +234 -0
- package/packages/ui/components/business/document/form-page/src/context.ts +15 -0
- package/packages/ui/components/business/document/form-page/src/document-form-page.vue +251 -0
- package/packages/ui/components/business/document/form-page/src/document-section-card.vue +187 -0
- package/packages/ui/components/business/document/form-page/src/types.ts +245 -0
- package/packages/ui/components/business/document/form-page/styles/document-form-page.css +40 -0
- package/packages/ui/components/business/enum-select/index.ts +18 -0
- package/packages/ui/components/business/enum-select/src/enum-select.vue +171 -0
- package/packages/ui/components/business/enum-select/src/types.ts +33 -0
- package/packages/ui/components/button/README.md +155 -0
- package/packages/ui/components/button/__tests__/button.test.ts +261 -0
- package/packages/ui/components/button/index.ts +14 -0
- package/packages/ui/components/button/src/button.ts +168 -0
- package/packages/ui/components/button/src/button.vue +341 -0
- package/packages/ui/components/button/styles/button.css +149 -0
- package/packages/ui/components/carousel/README.md +48 -0
- package/packages/ui/components/carousel/__tests__/carousel.test.ts +82 -0
- package/packages/ui/components/carousel/index.ts +11 -0
- package/packages/ui/components/carousel/src/carousel.ts +38 -0
- package/packages/ui/components/carousel/src/carousel.vue +101 -0
- package/packages/ui/components/carousel/styles/carousel.css +40 -0
- package/packages/ui/components/chart/README.md +120 -0
- package/packages/ui/components/chart/__tests__/chart.test.ts +86 -0
- package/packages/ui/components/chart/__tests__/simple-charts.test.ts +130 -0
- package/packages/ui/components/chart/index.ts +22 -0
- package/packages/ui/components/chart/src/bar-chart.vue +83 -0
- package/packages/ui/components/chart/src/chart.ts +135 -0
- package/packages/ui/components/chart/src/chart.vue +147 -0
- package/packages/ui/components/chart/src/donut-chart.vue +96 -0
- package/packages/ui/components/chart/src/line-chart.vue +101 -0
- package/packages/ui/components/chart/src/metric-grid.vue +55 -0
- package/packages/ui/components/chart/src/types.ts +91 -0
- package/packages/ui/components/chart/src/utils.ts +68 -0
- package/packages/ui/components/chart/styles/bar-chart.css +134 -0
- package/packages/ui/components/chart/styles/chart.css +48 -0
- package/packages/ui/components/chart/styles/donut-chart.css +114 -0
- package/packages/ui/components/chart/styles/line-chart.css +61 -0
- package/packages/ui/components/chart/styles/metric-grid.css +115 -0
- package/packages/ui/components/code-block/README.md +56 -0
- package/packages/ui/components/code-block/__tests__/code-block.test.ts +166 -0
- package/packages/ui/components/code-block/index.ts +13 -0
- package/packages/ui/components/code-block/src/code-block.vue +216 -0
- package/packages/ui/components/code-block/src/types.ts +31 -0
- package/packages/ui/components/code-block/styles/code-block.css +192 -0
- package/packages/ui/components/data-grid/CellRendererActions.vue +77 -0
- package/packages/ui/components/data-grid/CellRendererButton.vue +51 -0
- package/packages/ui/components/data-grid/CellRendererCsCheckbox.vue +16 -0
- package/packages/ui/components/data-grid/CellRendererCsInput.vue +29 -0
- package/packages/ui/components/data-grid/CellRendererCsSelect.vue +19 -0
- package/packages/ui/components/data-grid/CellRendererInput.vue +120 -0
- package/packages/ui/components/data-grid/CellRendererText.vue +94 -0
- package/packages/ui/components/data-grid/ColumnSettings.vue +40 -0
- package/packages/ui/components/data-grid/ColumnSettingsDialog.vue +367 -0
- package/packages/ui/components/data-grid/DataGrid.vue +850 -0
- package/packages/ui/components/data-grid/DataGridFilter.vue +242 -0
- package/packages/ui/components/data-grid/column-settings-api.ts +62 -0
- package/packages/ui/components/data-grid/index.ts +29 -0
- package/packages/ui/components/data-grid/props.ts +246 -0
- package/packages/ui/components/data-grid/variants.ts +26 -0
- package/packages/ui/components/divider/README.md +84 -0
- package/packages/ui/components/divider/__tests__/divider.test.ts +105 -0
- package/packages/ui/components/divider/index.ts +13 -0
- package/packages/ui/components/divider/src/divider.ts +50 -0
- package/packages/ui/components/divider/src/divider.vue +76 -0
- package/packages/ui/components/divider/styles/divider.css +65 -0
- package/packages/ui/components/drawer/README.md +90 -0
- package/packages/ui/components/drawer/__tests__/drawer.test.ts +218 -0
- package/packages/ui/components/drawer/index.ts +13 -0
- package/packages/ui/components/drawer/src/drawer.ts +88 -0
- package/packages/ui/components/drawer/src/drawer.vue +157 -0
- package/packages/ui/components/drawer/styles/drawer.css +164 -0
- package/packages/ui/components/dropdown/README.md +51 -0
- package/packages/ui/components/dropdown/__tests__/dropdown.test.ts +143 -0
- package/packages/ui/components/dropdown/index.ts +11 -0
- package/packages/ui/components/dropdown/src/dropdown.ts +47 -0
- package/packages/ui/components/dropdown/src/dropdown.vue +75 -0
- package/packages/ui/components/dropdown/styles/dropdown.css +16 -0
- package/packages/ui/components/dropdown-button/README.md +78 -0
- package/packages/ui/components/dropdown-button/__tests__/dropdown-button.test.ts +75 -0
- package/packages/ui/components/dropdown-button/index.ts +11 -0
- package/packages/ui/components/dropdown-button/src/dropdown-button-menu-items.vue +79 -0
- package/packages/ui/components/dropdown-button/src/dropdown-button.vue +152 -0
- package/packages/ui/components/dropdown-button/src/types.ts +98 -0
- package/packages/ui/components/dropdown-button/styles/dropdown-button.css +171 -0
- package/packages/ui/components/empty/README.md +48 -0
- package/packages/ui/components/empty/__tests__/empty.test.ts +37 -0
- package/packages/ui/components/empty/index.ts +13 -0
- package/packages/ui/components/empty/src/empty.vue +73 -0
- package/packages/ui/components/empty/src/types.ts +32 -0
- package/packages/ui/components/empty/styles/empty.css +69 -0
- package/packages/ui/components/error/README.md +44 -0
- package/packages/ui/components/error/__tests__/error.test.ts +34 -0
- package/packages/ui/components/error/index.ts +13 -0
- package/packages/ui/components/error/src/error.vue +65 -0
- package/packages/ui/components/error/src/types.ts +28 -0
- package/packages/ui/components/error/styles/error.css +69 -0
- package/packages/ui/components/filter-button/README.md +68 -0
- package/packages/ui/components/filter-button/__tests__/filter-button.test.ts +30 -0
- package/packages/ui/components/filter-button/index.ts +11 -0
- package/packages/ui/components/filter-button/src/filter-button.vue +59 -0
- package/packages/ui/components/filter-button/src/types.ts +9 -0
- package/packages/ui/components/form/README.md +750 -0
- package/packages/ui/components/form/__tests__/form-ai-registry-integration.test.ts +214 -0
- package/packages/ui/components/form/__tests__/form-field.test.ts +377 -0
- package/packages/ui/components/form/__tests__/form-item-ai-actions.test.ts +299 -0
- package/packages/ui/components/form/__tests__/form-item.test.ts +110 -0
- package/packages/ui/components/form/__tests__/form-wrapper-reject-forward.test.ts +269 -0
- package/packages/ui/components/form/__tests__/form.test.ts +148 -0
- package/packages/ui/components/form/base/cascader/README.md +75 -0
- package/packages/ui/components/form/base/cascader/__tests__/ai-capability.test.ts +507 -0
- package/packages/ui/components/form/base/cascader/__tests__/cascader.test.ts +203 -0
- package/packages/ui/components/form/base/cascader/index.ts +14 -0
- package/packages/ui/components/form/base/cascader/src/cascader.vue +505 -0
- package/packages/ui/components/form/base/cascader/src/types.ts +168 -0
- package/packages/ui/components/form/base/cascader/styles/cascader.css +186 -0
- package/packages/ui/components/form/base/checkbox/README.md +110 -0
- package/packages/ui/components/form/base/checkbox/__tests__/ai-capability.test.ts +465 -0
- package/packages/ui/components/form/base/checkbox/__tests__/checkbox.test.ts +98 -0
- package/packages/ui/components/form/base/checkbox/__tests__/group-integration.test.ts +192 -0
- package/packages/ui/components/form/base/checkbox/index.ts +18 -0
- package/packages/ui/components/form/base/checkbox/src/checkbox-group.vue +311 -0
- package/packages/ui/components/form/base/checkbox/src/checkbox.ts +210 -0
- package/packages/ui/components/form/base/checkbox/src/checkbox.vue +368 -0
- package/packages/ui/components/form/base/checkbox/styles/checkbox.css +24 -0
- package/packages/ui/components/form/base/data-picker/README.md +192 -0
- package/packages/ui/components/form/base/data-picker/__tests__/ai-capability.test.ts +566 -0
- package/packages/ui/components/form/base/data-picker/__tests__/data-picker.test.ts +628 -0
- package/packages/ui/components/form/base/data-picker/index.ts +23 -0
- package/packages/ui/components/form/base/data-picker/src/data-picker.ts +192 -0
- package/packages/ui/components/form/base/data-picker/src/data-picker.vue +1267 -0
- package/packages/ui/components/form/base/data-picker/styles/data-picker.css +174 -0
- package/packages/ui/components/form/base/date-picker/README.md +94 -0
- package/packages/ui/components/form/base/date-picker/__tests__/ai-capability.test.ts +462 -0
- package/packages/ui/components/form/base/date-picker/__tests__/date-picker.test.ts +115 -0
- package/packages/ui/components/form/base/date-picker/index.ts +13 -0
- package/packages/ui/components/form/base/date-picker/src/date-picker.ts +212 -0
- package/packages/ui/components/form/base/date-picker/src/date-picker.vue +871 -0
- package/packages/ui/components/form/base/date-picker/styles/date-picker.css +210 -0
- package/packages/ui/components/form/base/datetime-picker/README.md +197 -0
- package/packages/ui/components/form/base/datetime-picker/__tests__/ai-capability.test.ts +368 -0
- package/packages/ui/components/form/base/datetime-picker/__tests__/datetime-picker.test.ts +445 -0
- package/packages/ui/components/form/base/datetime-picker/index.ts +13 -0
- package/packages/ui/components/form/base/datetime-picker/src/datetime-picker.ts +149 -0
- package/packages/ui/components/form/base/datetime-picker/src/datetime-picker.vue +1158 -0
- package/packages/ui/components/form/base/datetime-picker/styles/datetime-picker.css +570 -0
- package/packages/ui/components/form/base/file-upload/README.md +73 -0
- package/packages/ui/components/form/base/file-upload/__tests__/ai-capability.test.ts +223 -0
- package/packages/ui/components/form/base/file-upload/__tests__/file-upload.spec.ts +199 -0
- package/packages/ui/components/form/base/file-upload/index.ts +11 -0
- package/packages/ui/components/form/base/file-upload/src/file-upload.ts +95 -0
- package/packages/ui/components/form/base/file-upload/src/file-upload.vue +451 -0
- package/packages/ui/components/form/base/file-upload/styles/file-upload.css +57 -0
- package/packages/ui/components/form/base/image-upload/README.md +70 -0
- package/packages/ui/components/form/base/image-upload/__tests__/ai-capability.test.ts +149 -0
- package/packages/ui/components/form/base/image-upload/__tests__/image-upload.spec.ts +282 -0
- package/packages/ui/components/form/base/image-upload/index.ts +11 -0
- package/packages/ui/components/form/base/image-upload/src/image-upload.ts +76 -0
- package/packages/ui/components/form/base/image-upload/src/image-upload.vue +657 -0
- package/packages/ui/components/form/base/index.ts +24 -0
- package/packages/ui/components/form/base/input/README.md +63 -0
- package/packages/ui/components/form/base/input/__tests__/ai-capability.test.ts +143 -0
- package/packages/ui/components/form/base/input/__tests__/input.test.ts +195 -0
- package/packages/ui/components/form/base/input/index.ts +37 -0
- package/packages/ui/components/form/base/input/src/input.ts +104 -0
- package/packages/ui/components/form/base/input/src/input.vue +384 -0
- package/packages/ui/components/form/base/input/styles/input.css +198 -0
- package/packages/ui/components/form/base/location-picker/README.md +92 -0
- package/packages/ui/components/form/base/location-picker/__tests__/ai-capability.test.ts +147 -0
- package/packages/ui/components/form/base/location-picker/__tests__/location-picker.test.ts +161 -0
- package/packages/ui/components/form/base/location-picker/index.ts +13 -0
- package/packages/ui/components/form/base/location-picker/src/location-picker.ts +99 -0
- package/packages/ui/components/form/base/location-picker/src/location-picker.vue +558 -0
- package/packages/ui/components/form/base/radio/README.md +95 -0
- package/packages/ui/components/form/base/radio/__tests__/ai-capability.test.ts +578 -0
- package/packages/ui/components/form/base/radio/__tests__/group-integration.test.ts +191 -0
- package/packages/ui/components/form/base/radio/__tests__/radio.test.ts +64 -0
- package/packages/ui/components/form/base/radio/index.ts +18 -0
- package/packages/ui/components/form/base/radio/src/radio-group.vue +270 -0
- package/packages/ui/components/form/base/radio/src/radio.ts +154 -0
- package/packages/ui/components/form/base/radio/src/radio.vue +141 -0
- package/packages/ui/components/form/base/radio/styles/radio.css +12 -0
- package/packages/ui/components/form/base/region-picker/README.md +166 -0
- package/packages/ui/components/form/base/region-picker/__tests__/ai-capability.test.ts +147 -0
- package/packages/ui/components/form/base/region-picker/__tests__/region-picker.spec.ts +556 -0
- package/packages/ui/components/form/base/region-picker/index.ts +19 -0
- package/packages/ui/components/form/base/region-picker/src/region-picker.ts +333 -0
- package/packages/ui/components/form/base/region-picker/src/region-picker.vue +552 -0
- package/packages/ui/components/form/base/select/README.md +66 -0
- package/packages/ui/components/form/base/select/__tests__/ai-capability.test.ts +463 -0
- package/packages/ui/components/form/base/select/__tests__/select.test.ts +167 -0
- package/packages/ui/components/form/base/select/index.ts +15 -0
- package/packages/ui/components/form/base/select/src/select.ts +173 -0
- package/packages/ui/components/form/base/select/src/select.vue +534 -0
- package/packages/ui/components/form/base/select/styles/select.css +206 -0
- package/packages/ui/components/form/base/signature/README.md +96 -0
- package/packages/ui/components/form/base/signature/__tests__/ai-capability.test.ts +147 -0
- package/packages/ui/components/form/base/signature/__tests__/signature.spec.ts +156 -0
- package/packages/ui/components/form/base/signature/index.ts +14 -0
- package/packages/ui/components/form/base/signature/src/signature.ts +100 -0
- package/packages/ui/components/form/base/signature/src/signature.vue +871 -0
- package/packages/ui/components/form/base/switch/README.md +102 -0
- package/packages/ui/components/form/base/switch/__tests__/ai-capability.test.ts +545 -0
- package/packages/ui/components/form/base/switch/__tests__/switch.test.ts +105 -0
- package/packages/ui/components/form/base/switch/index.ts +12 -0
- package/packages/ui/components/form/base/switch/src/switch.ts +133 -0
- package/packages/ui/components/form/base/switch/src/switch.vue +385 -0
- package/packages/ui/components/form/base/switch/styles/switch.css +35 -0
- package/packages/ui/components/form/base/text-area/README.md +89 -0
- package/packages/ui/components/form/base/text-area/__tests__/ai-capability.test.ts +176 -0
- package/packages/ui/components/form/base/text-area/__tests__/text-area.test.ts +152 -0
- package/packages/ui/components/form/base/text-area/index.ts +37 -0
- package/packages/ui/components/form/base/text-area/src/text-area.ts +137 -0
- package/packages/ui/components/form/base/text-area/src/text-area.vue +405 -0
- package/packages/ui/components/form/base/text-area/styles/text-area.css +137 -0
- package/packages/ui/components/form/base/time-picker/README.md +75 -0
- package/packages/ui/components/form/base/time-picker/__tests__/ai-capability.test.ts +135 -0
- package/packages/ui/components/form/base/time-picker/__tests__/time-picker.test.ts +258 -0
- package/packages/ui/components/form/base/time-picker/index.ts +13 -0
- package/packages/ui/components/form/base/time-picker/src/time-picker.ts +141 -0
- package/packages/ui/components/form/base/time-picker/src/time-picker.vue +844 -0
- package/packages/ui/components/form/base/time-picker/styles/time-picker.css +124 -0
- package/packages/ui/components/form/base/upload/README.md +126 -0
- package/packages/ui/components/form/base/upload/__tests__/ai-capability.test.ts +145 -0
- package/packages/ui/components/form/base/upload/__tests__/upload.spec.ts +288 -0
- package/packages/ui/components/form/base/upload/index.ts +11 -0
- package/packages/ui/components/form/base/upload/src/upload.ts +171 -0
- package/packages/ui/components/form/base/upload/src/upload.vue +890 -0
- package/packages/ui/components/form/base/upload/styles/upload.css +116 -0
- package/packages/ui/components/form/index.ts +138 -0
- package/packages/ui/components/form/items/form-array/README.md +61 -0
- package/packages/ui/components/form/items/form-array/__tests__/form-array.test.ts +122 -0
- package/packages/ui/components/form/items/form-array/index.ts +2 -0
- package/packages/ui/components/form/items/form-array/src/form-array.vue +80 -0
- package/packages/ui/components/form/items/form-array/src/types.ts +27 -0
- package/packages/ui/components/form/items/form-array/styles/form-array.css +99 -0
- package/packages/ui/components/form/items/form-cascader/README.md +132 -0
- package/packages/ui/components/form/items/form-cascader/__tests__/form-cascader.test.ts +99 -0
- package/packages/ui/components/form/items/form-cascader/index.ts +1 -0
- package/packages/ui/components/form/items/form-cascader/src/form-cascader.ts +7 -0
- package/packages/ui/components/form/items/form-cascader/src/form-cascader.vue +15 -0
- package/packages/ui/components/form/items/form-checkbox/README.md +121 -0
- package/packages/ui/components/form/items/form-checkbox/__tests__/form-checkbox.test.ts +93 -0
- package/packages/ui/components/form/items/form-checkbox/index.ts +1 -0
- package/packages/ui/components/form/items/form-checkbox/src/form-checkbox.ts +7 -0
- package/packages/ui/components/form/items/form-checkbox/src/form-checkbox.vue +15 -0
- package/packages/ui/components/form/items/form-data-picker/README.md +111 -0
- package/packages/ui/components/form/items/form-data-picker/__tests__/form-data-picker.test.ts +98 -0
- package/packages/ui/components/form/items/form-data-picker/index.ts +1 -0
- package/packages/ui/components/form/items/form-data-picker/src/form-data-picker.ts +7 -0
- package/packages/ui/components/form/items/form-data-picker/src/form-data-picker.vue +17 -0
- package/packages/ui/components/form/items/form-date-picker/README.md +119 -0
- package/packages/ui/components/form/items/form-date-picker/__tests__/form-date-picker.test.ts +104 -0
- package/packages/ui/components/form/items/form-date-picker/index.ts +1 -0
- package/packages/ui/components/form/items/form-date-picker/src/form-date-picker.ts +7 -0
- package/packages/ui/components/form/items/form-date-picker/src/form-date-picker.vue +17 -0
- package/packages/ui/components/form/items/form-datetime-picker/README.md +112 -0
- package/packages/ui/components/form/items/form-datetime-picker/__tests__/form-datetime-picker.test.ts +105 -0
- package/packages/ui/components/form/items/form-datetime-picker/index.ts +1 -0
- package/packages/ui/components/form/items/form-datetime-picker/src/form-datetime-picker.ts +7 -0
- package/packages/ui/components/form/items/form-datetime-picker/src/form-datetime-picker.vue +17 -0
- package/packages/ui/components/form/items/form-dynamic/README.md +105 -0
- package/packages/ui/components/form/items/form-dynamic/__tests__/form-dynamic.test.ts +172 -0
- package/packages/ui/components/form/items/form-dynamic/index.ts +2 -0
- package/packages/ui/components/form/items/form-dynamic/src/form-dynamic.vue +222 -0
- package/packages/ui/components/form/items/form-dynamic/src/types.ts +63 -0
- package/packages/ui/components/form/items/form-file-upload/README.md +92 -0
- package/packages/ui/components/form/items/form-file-upload/__tests__/form-file-upload.test.ts +99 -0
- package/packages/ui/components/form/items/form-file-upload/index.ts +1 -0
- package/packages/ui/components/form/items/form-file-upload/src/form-file-upload.ts +7 -0
- package/packages/ui/components/form/items/form-file-upload/src/form-file-upload.vue +15 -0
- package/packages/ui/components/form/items/form-group/README.md +57 -0
- package/packages/ui/components/form/items/form-group/__tests__/form-group.test.ts +108 -0
- package/packages/ui/components/form/items/form-group/index.ts +2 -0
- package/packages/ui/components/form/items/form-group/src/form-group.vue +85 -0
- package/packages/ui/components/form/items/form-group/src/types.ts +37 -0
- package/packages/ui/components/form/items/form-group/styles/form-group.css +92 -0
- package/packages/ui/components/form/items/form-image-upload/README.md +92 -0
- package/packages/ui/components/form/items/form-image-upload/__tests__/form-image-upload.test.ts +109 -0
- package/packages/ui/components/form/items/form-image-upload/index.ts +1 -0
- package/packages/ui/components/form/items/form-image-upload/src/form-image-upload.ts +7 -0
- package/packages/ui/components/form/items/form-image-upload/src/form-image-upload.vue +37 -0
- package/packages/ui/components/form/items/form-input/README.md +110 -0
- package/packages/ui/components/form/items/form-input/__tests__/form-input.test.ts +87 -0
- package/packages/ui/components/form/items/form-input/index.ts +1 -0
- package/packages/ui/components/form/items/form-input/src/form-input.ts +7 -0
- package/packages/ui/components/form/items/form-input/src/form-input.vue +15 -0
- package/packages/ui/components/form/items/form-location-picker/README.md +119 -0
- package/packages/ui/components/form/items/form-location-picker/__tests__/form-location-picker.test.ts +98 -0
- package/packages/ui/components/form/items/form-location-picker/index.ts +1 -0
- package/packages/ui/components/form/items/form-location-picker/src/form-location-picker.ts +7 -0
- package/packages/ui/components/form/items/form-location-picker/src/form-location-picker.vue +15 -0
- package/packages/ui/components/form/items/form-radio/README.md +125 -0
- package/packages/ui/components/form/items/form-radio/__tests__/form-radio.test.ts +104 -0
- package/packages/ui/components/form/items/form-radio/index.ts +1 -0
- package/packages/ui/components/form/items/form-radio/src/form-radio.ts +7 -0
- package/packages/ui/components/form/items/form-radio/src/form-radio.vue +15 -0
- package/packages/ui/components/form/items/form-region-picker/README.md +111 -0
- package/packages/ui/components/form/items/form-region-picker/__tests__/form-region-picker.test.ts +95 -0
- package/packages/ui/components/form/items/form-region-picker/index.ts +1 -0
- package/packages/ui/components/form/items/form-region-picker/src/form-region-picker.ts +7 -0
- package/packages/ui/components/form/items/form-region-picker/src/form-region-picker.vue +15 -0
- package/packages/ui/components/form/items/form-select/README.md +117 -0
- package/packages/ui/components/form/items/form-select/__tests__/form-select.test.ts +80 -0
- package/packages/ui/components/form/items/form-select/index.ts +1 -0
- package/packages/ui/components/form/items/form-select/src/form-select.ts +7 -0
- package/packages/ui/components/form/items/form-select/src/form-select.vue +15 -0
- package/packages/ui/components/form/items/form-signature/README.md +89 -0
- package/packages/ui/components/form/items/form-signature/__tests__/form-signature.test.ts +109 -0
- package/packages/ui/components/form/items/form-signature/index.ts +1 -0
- package/packages/ui/components/form/items/form-signature/src/form-signature.ts +7 -0
- package/packages/ui/components/form/items/form-signature/src/form-signature.vue +15 -0
- package/packages/ui/components/form/items/form-slider/README.md +125 -0
- package/packages/ui/components/form/items/form-slider/__tests__/form-slider.test.ts +95 -0
- package/packages/ui/components/form/items/form-slider/index.ts +1 -0
- package/packages/ui/components/form/items/form-slider/src/form-slider.ts +7 -0
- package/packages/ui/components/form/items/form-slider/src/form-slider.vue +15 -0
- package/packages/ui/components/form/items/form-subform/README.md +71 -0
- package/packages/ui/components/form/items/form-subform/__tests__/form-subform.test.ts +116 -0
- package/packages/ui/components/form/items/form-subform/index.ts +2 -0
- package/packages/ui/components/form/items/form-subform/src/form-subform.vue +92 -0
- package/packages/ui/components/form/items/form-subform/src/types.ts +32 -0
- package/packages/ui/components/form/items/form-subform/styles/form-subform.css +127 -0
- package/packages/ui/components/form/items/form-switch/README.md +118 -0
- package/packages/ui/components/form/items/form-switch/__tests__/form-switch.test.ts +88 -0
- package/packages/ui/components/form/items/form-switch/index.ts +1 -0
- package/packages/ui/components/form/items/form-switch/src/form-switch.ts +7 -0
- package/packages/ui/components/form/items/form-switch/src/form-switch.vue +15 -0
- package/packages/ui/components/form/items/form-table/OPTIMIZATION_REPORT.md +205 -0
- package/packages/ui/components/form/items/form-table/README.md +144 -0
- package/packages/ui/components/form/items/form-table/__tests__/form-table.test.ts +373 -0
- package/packages/ui/components/form/items/form-table/index.ts +3 -0
- package/packages/ui/components/form/items/form-table/src/column-filter-popover.vue +149 -0
- package/packages/ui/components/form/items/form-table/src/form-table.vue +1315 -0
- package/packages/ui/components/form/items/form-table/src/types.ts +165 -0
- package/packages/ui/components/form/items/form-table/styles/column-filter-popover.css +138 -0
- package/packages/ui/components/form/items/form-table/styles/form-table.css +393 -0
- package/packages/ui/components/form/items/form-textarea/README.md +123 -0
- package/packages/ui/components/form/items/form-textarea/__tests__/form-textarea.test.ts +93 -0
- package/packages/ui/components/form/items/form-textarea/index.ts +1 -0
- package/packages/ui/components/form/items/form-textarea/src/form-textarea.ts +7 -0
- package/packages/ui/components/form/items/form-textarea/src/form-textarea.vue +15 -0
- package/packages/ui/components/form/items/form-time-picker/README.md +117 -0
- package/packages/ui/components/form/items/form-time-picker/__tests__/form-time-picker.test.ts +105 -0
- package/packages/ui/components/form/items/form-time-picker/index.ts +1 -0
- package/packages/ui/components/form/items/form-time-picker/src/form-time-picker.ts +7 -0
- package/packages/ui/components/form/items/form-time-picker/src/form-time-picker.vue +17 -0
- package/packages/ui/components/form/items/form-upload/README.md +92 -0
- package/packages/ui/components/form/items/form-upload/__tests__/form-upload.test.ts +137 -0
- package/packages/ui/components/form/items/form-upload/index.ts +1 -0
- package/packages/ui/components/form/items/form-upload/src/form-upload.ts +7 -0
- package/packages/ui/components/form/items/form-upload/src/form-upload.vue +15 -0
- package/packages/ui/components/form/shared/types.ts +82 -0
- package/packages/ui/components/form/src/form-field.ts +96 -0
- package/packages/ui/components/form/src/form-field.vue +404 -0
- package/packages/ui/components/form/src/form-item.vue +646 -0
- package/packages/ui/components/form/src/form.ts +11 -0
- package/packages/ui/components/form/src/form.vue +156 -0
- package/packages/ui/components/form/src/types.ts +337 -0
- package/packages/ui/components/form/src/use-form-field.ts +190 -0
- package/packages/ui/components/form/styles/form-ai-actions.css +41 -0
- package/packages/ui/components/form/styles/form-field.css +123 -0
- package/packages/ui/components/form/styles/form-item-ai-status.css +212 -0
- package/packages/ui/components/form/styles/form-item.css +218 -0
- package/packages/ui/components/form/styles/form.css +132 -0
- package/packages/ui/components/form-ai-status/README.md +86 -0
- package/packages/ui/components/form-ai-status/__tests__/form-ai-status.test.ts +183 -0
- package/packages/ui/components/form-ai-status/index.ts +12 -0
- package/packages/ui/components/form-ai-status/src/form-ai-status.vue +254 -0
- package/packages/ui/components/form-ai-status/src/types.ts +36 -0
- package/packages/ui/components/form-ai-status/styles/form-ai-status.css +238 -0
- package/packages/ui/components/form-ai-toolbar/README.md +100 -0
- package/packages/ui/components/form-ai-toolbar/__tests__/form-ai-toolbar.test.ts +344 -0
- package/packages/ui/components/form-ai-toolbar/index.ts +13 -0
- package/packages/ui/components/form-ai-toolbar/src/form-ai-toolbar.vue +598 -0
- package/packages/ui/components/form-ai-toolbar/src/types.ts +130 -0
- package/packages/ui/components/form-ai-toolbar/styles/form-ai-toolbar.css +281 -0
- package/packages/ui/components/icon/README.md +137 -0
- package/packages/ui/components/icon/__tests__/icon.test.ts +125 -0
- package/packages/ui/components/icon/index.ts +13 -0
- package/packages/ui/components/icon/src/icon.ts +67 -0
- package/packages/ui/components/icon/src/icon.vue +69 -0
- package/packages/ui/components/icon/styles/icon.css +41 -0
- package/packages/ui/components/image-preview/README.md +90 -0
- package/packages/ui/components/image-preview/__tests__/image-preview.test.ts +183 -0
- package/packages/ui/components/image-preview/index.ts +13 -0
- package/packages/ui/components/image-preview/src/image-preview.vue +71 -0
- package/packages/ui/components/image-preview/src/index.ts +11 -0
- package/packages/ui/components/image-preview/src/preview-layer.vue +90 -0
- package/packages/ui/components/image-preview/src/types.ts +63 -0
- package/packages/ui/components/image-preview/styles/image-preview.css +39 -0
- package/packages/ui/components/layout/app-bar/README.md +59 -0
- package/packages/ui/components/layout/app-bar/__tests__/app-bar.test.ts +124 -0
- package/packages/ui/components/layout/app-bar/index.ts +13 -0
- package/packages/ui/components/layout/app-bar/src/app-bar.vue +106 -0
- package/packages/ui/components/layout/app-bar/src/types.ts +43 -0
- package/packages/ui/components/layout/app-bar/styles/app-bar.css +175 -0
- package/packages/ui/components/layout/card/README.md +90 -0
- package/packages/ui/components/layout/card/__tests__/card.test.ts +321 -0
- package/packages/ui/components/layout/card/index.ts +13 -0
- package/packages/ui/components/layout/card/src/card.vue +210 -0
- package/packages/ui/components/layout/card/src/types.ts +79 -0
- package/packages/ui/components/layout/card/styles/card.css +334 -0
- package/packages/ui/components/layout/container/README.md +29 -0
- package/packages/ui/components/layout/container/__tests__/container.test.ts +74 -0
- package/packages/ui/components/layout/container/index.ts +13 -0
- package/packages/ui/components/layout/container/src/container.vue +35 -0
- package/packages/ui/components/layout/container/src/types.ts +15 -0
- package/packages/ui/components/layout/container/styles/container.css +50 -0
- package/packages/ui/components/layout/detail-layout/README.md +30 -0
- package/packages/ui/components/layout/detail-layout/__tests__/detail-layout.test.ts +75 -0
- package/packages/ui/components/layout/detail-layout/index.ts +13 -0
- package/packages/ui/components/layout/detail-layout/src/detail-layout.vue +53 -0
- package/packages/ui/components/layout/detail-layout/src/types.ts +22 -0
- package/packages/ui/components/layout/detail-layout/styles/detail-layout.css +71 -0
- package/packages/ui/components/layout/form-layout/README.md +59 -0
- package/packages/ui/components/layout/form-layout/__tests__/form-layout.test.ts +140 -0
- package/packages/ui/components/layout/form-layout/index.ts +13 -0
- package/packages/ui/components/layout/form-layout/src/form-layout.vue +93 -0
- package/packages/ui/components/layout/form-layout/src/types.ts +64 -0
- package/packages/ui/components/layout/form-layout/styles/form-layout.css +98 -0
- package/packages/ui/components/layout/grid/README.md +41 -0
- package/packages/ui/components/layout/grid/__tests__/grid.test.ts +77 -0
- package/packages/ui/components/layout/grid/index.ts +13 -0
- package/packages/ui/components/layout/grid/src/grid.vue +79 -0
- package/packages/ui/components/layout/grid/src/types.ts +44 -0
- package/packages/ui/components/layout/grid/styles/grid.css +46 -0
- package/packages/ui/components/layout/hero/README.md +59 -0
- package/packages/ui/components/layout/hero/__tests__/hero.test.ts +112 -0
- package/packages/ui/components/layout/hero/index.ts +13 -0
- package/packages/ui/components/layout/hero/src/hero.vue +143 -0
- package/packages/ui/components/layout/hero/src/types.ts +44 -0
- package/packages/ui/components/layout/hero/styles/hero.css +129 -0
- package/packages/ui/components/layout/inline/README.md +30 -0
- package/packages/ui/components/layout/inline/__tests__/inline.test.ts +154 -0
- package/packages/ui/components/layout/inline/index.ts +13 -0
- package/packages/ui/components/layout/inline/src/inline.vue +99 -0
- package/packages/ui/components/layout/inline/src/types.ts +23 -0
- package/packages/ui/components/layout/inline/styles/inline.css +150 -0
- package/packages/ui/components/layout/master-detail/README.md +36 -0
- package/packages/ui/components/layout/master-detail/__tests__/master-detail.test.ts +104 -0
- package/packages/ui/components/layout/master-detail/index.ts +13 -0
- package/packages/ui/components/layout/master-detail/src/master-detail.vue +72 -0
- package/packages/ui/components/layout/master-detail/src/types.ts +28 -0
- package/packages/ui/components/layout/master-detail/styles/master-detail.css +82 -0
- package/packages/ui/components/layout/page/README.md +35 -0
- package/packages/ui/components/layout/page/__tests__/page.test.ts +136 -0
- package/packages/ui/components/layout/page/index.ts +13 -0
- package/packages/ui/components/layout/page/src/page.vue +85 -0
- package/packages/ui/components/layout/page/src/types.ts +39 -0
- package/packages/ui/components/layout/page/styles/page.css +177 -0
- package/packages/ui/components/layout/page-header/README.md +39 -0
- package/packages/ui/components/layout/page-header/__tests__/page-header.test.ts +198 -0
- package/packages/ui/components/layout/page-header/index.ts +13 -0
- package/packages/ui/components/layout/page-header/src/page-header.vue +133 -0
- package/packages/ui/components/layout/page-header/src/types.ts +56 -0
- package/packages/ui/components/layout/page-header/styles/page-header.css +155 -0
- package/packages/ui/components/layout/section/README.md +40 -0
- package/packages/ui/components/layout/section/__tests__/section.test.ts +121 -0
- package/packages/ui/components/layout/section/index.ts +13 -0
- package/packages/ui/components/layout/section/src/section.vue +79 -0
- package/packages/ui/components/layout/section/src/types.ts +28 -0
- package/packages/ui/components/layout/section/styles/section.css +103 -0
- package/packages/ui/components/layout/sidebar-layout/README.md +60 -0
- package/packages/ui/components/layout/sidebar-layout/__tests__/sidebar-layout.test.ts +220 -0
- package/packages/ui/components/layout/sidebar-layout/index.ts +13 -0
- package/packages/ui/components/layout/sidebar-layout/src/sidebar-layout.vue +113 -0
- package/packages/ui/components/layout/sidebar-layout/src/types.ts +54 -0
- package/packages/ui/components/layout/sidebar-layout/styles/sidebar-layout.css +211 -0
- package/packages/ui/components/layout/split/README.md +40 -0
- package/packages/ui/components/layout/split/__tests__/split.test.ts +99 -0
- package/packages/ui/components/layout/split/index.ts +13 -0
- package/packages/ui/components/layout/split/src/split.vue +65 -0
- package/packages/ui/components/layout/split/src/types.ts +49 -0
- package/packages/ui/components/layout/split/styles/split.css +40 -0
- package/packages/ui/components/layout/stack/README.md +29 -0
- package/packages/ui/components/layout/stack/__tests__/stack.test.ts +66 -0
- package/packages/ui/components/layout/stack/index.ts +13 -0
- package/packages/ui/components/layout/stack/src/stack.vue +31 -0
- package/packages/ui/components/layout/stack/src/types.ts +14 -0
- package/packages/ui/components/layout/stack/styles/stack.css +61 -0
- package/packages/ui/components/layout/state-container/README.md +45 -0
- package/packages/ui/components/layout/state-container/__tests__/state-container.test.ts +123 -0
- package/packages/ui/components/layout/state-container/index.ts +13 -0
- package/packages/ui/components/layout/state-container/src/state-container.vue +72 -0
- package/packages/ui/components/layout/state-container/src/types.ts +46 -0
- package/packages/ui/components/layout/state-container/styles/state-container.css +71 -0
- package/packages/ui/components/layout/toolbar/README.md +34 -0
- package/packages/ui/components/layout/toolbar/__tests__/toolbar.test.ts +90 -0
- package/packages/ui/components/layout/toolbar/index.ts +13 -0
- package/packages/ui/components/layout/toolbar/src/toolbar.vue +50 -0
- package/packages/ui/components/layout/toolbar/src/types.ts +19 -0
- package/packages/ui/components/layout/toolbar/styles/toolbar.css +80 -0
- package/packages/ui/components/loading/README.md +39 -0
- package/packages/ui/components/loading/__tests__/loading.test.ts +37 -0
- package/packages/ui/components/loading/index.ts +13 -0
- package/packages/ui/components/loading/src/loading.vue +59 -0
- package/packages/ui/components/loading/src/types.ts +27 -0
- package/packages/ui/components/loading/styles/loading.css +59 -0
- package/packages/ui/components/menu/README.md +51 -0
- package/packages/ui/components/menu/__tests__/menu.test.ts +80 -0
- package/packages/ui/components/menu/index.ts +11 -0
- package/packages/ui/components/menu/src/menu.ts +49 -0
- package/packages/ui/components/menu/src/menu.vue +103 -0
- package/packages/ui/components/menu/styles/menu.css +19 -0
- package/packages/ui/components/message/README.md +69 -0
- package/packages/ui/components/message/__tests__/message.test.ts +98 -0
- package/packages/ui/components/message/index.ts +13 -0
- package/packages/ui/components/message/src/message.ts +87 -0
- package/packages/ui/components/message/src/message.vue +88 -0
- package/packages/ui/components/message/styles/message.css +70 -0
- package/packages/ui/components/metric/README.md +63 -0
- package/packages/ui/components/metric/__tests__/metric.test.ts +166 -0
- package/packages/ui/components/metric/index.ts +13 -0
- package/packages/ui/components/metric/src/metric.vue +107 -0
- package/packages/ui/components/metric/src/types.ts +50 -0
- package/packages/ui/components/metric/styles/metric.css +233 -0
- package/packages/ui/components/modal/README.md +91 -0
- package/packages/ui/components/modal/__tests__/modal.test.ts +145 -0
- package/packages/ui/components/modal/index.ts +13 -0
- package/packages/ui/components/modal/src/modal.ts +153 -0
- package/packages/ui/components/modal/src/modal.vue +234 -0
- package/packages/ui/components/modal/styles/modal.css +104 -0
- package/packages/ui/components/more-action-button/README.md +68 -0
- package/packages/ui/components/more-action-button/__tests__/more-action-button.test.ts +30 -0
- package/packages/ui/components/more-action-button/index.ts +11 -0
- package/packages/ui/components/more-action-button/src/more-action-button.vue +59 -0
- package/packages/ui/components/more-action-button/src/types.ts +9 -0
- package/packages/ui/components/navigation/side-nav/README.md +59 -0
- package/packages/ui/components/navigation/side-nav/__tests__/side-nav.test.ts +105 -0
- package/packages/ui/components/navigation/side-nav/index.ts +13 -0
- package/packages/ui/components/navigation/side-nav/src/side-nav.vue +147 -0
- package/packages/ui/components/navigation/side-nav/src/types.ts +50 -0
- package/packages/ui/components/navigation/side-nav/styles/side-nav.css +171 -0
- package/packages/ui/components/notification/README.md +82 -0
- package/packages/ui/components/notification/__tests__/notification.test.ts +150 -0
- package/packages/ui/components/notification/index.ts +30 -0
- package/packages/ui/components/notification/src/notification.vue +114 -0
- package/packages/ui/components/notification/src/types.ts +67 -0
- package/packages/ui/components/notification/src/use-notification.ts +136 -0
- package/packages/ui/components/notification/styles/notification.css +4 -0
- package/packages/ui/components/pagination/README.md +82 -0
- package/packages/ui/components/pagination/__tests__/pagination.test.ts +210 -0
- package/packages/ui/components/pagination/index.ts +13 -0
- package/packages/ui/components/pagination/src/pagination.ts +86 -0
- package/packages/ui/components/pagination/src/pagination.vue +270 -0
- package/packages/ui/components/pagination/styles/pagination.css +143 -0
- package/packages/ui/components/progress/README.md +132 -0
- package/packages/ui/components/progress/__tests__/progress.test.ts +81 -0
- package/packages/ui/components/progress/index.ts +12 -0
- package/packages/ui/components/progress/src/progress.ts +80 -0
- package/packages/ui/components/progress/src/progress.vue +202 -0
- package/packages/ui/components/skeleton/README.md +71 -0
- package/packages/ui/components/skeleton/__tests__/skeleton.test.ts +138 -0
- package/packages/ui/components/skeleton/index.ts +13 -0
- package/packages/ui/components/skeleton/src/skeleton.ts +46 -0
- package/packages/ui/components/skeleton/src/skeleton.vue +67 -0
- package/packages/ui/components/skeleton/styles/skeleton.css +75 -0
- package/packages/ui/components/slider/README.md +87 -0
- package/packages/ui/components/slider/__tests__/ai-capability.test.ts +469 -0
- package/packages/ui/components/slider/__tests__/slider.test.ts +235 -0
- package/packages/ui/components/slider/index.ts +26 -0
- package/packages/ui/components/slider/src/slider.ts +192 -0
- package/packages/ui/components/slider/src/slider.vue +504 -0
- package/packages/ui/components/slider/src/use-slider.ts +399 -0
- package/packages/ui/components/slider/styles/slider.css +344 -0
- package/packages/ui/components/split-button/README.md +71 -0
- package/packages/ui/components/split-button/__tests__/split-button.test.ts +32 -0
- package/packages/ui/components/split-button/index.ts +11 -0
- package/packages/ui/components/split-button/src/split-button.vue +69 -0
- package/packages/ui/components/split-button/src/types.ts +34 -0
- package/packages/ui/components/split-button/styles/split-button.css +15 -0
- package/packages/ui/components/status-dot/README.md +42 -0
- package/packages/ui/components/status-dot/__tests__/status-dot.test.ts +53 -0
- package/packages/ui/components/status-dot/index.ts +13 -0
- package/packages/ui/components/status-dot/src/status-dot.vue +39 -0
- package/packages/ui/components/status-dot/src/types.ts +23 -0
- package/packages/ui/components/status-dot/styles/status-dot.css +65 -0
- package/packages/ui/components/steps/README.md +101 -0
- package/packages/ui/components/steps/__tests__/steps.test.ts +261 -0
- package/packages/ui/components/steps/index.ts +15 -0
- package/packages/ui/components/steps/src/step.vue +99 -0
- package/packages/ui/components/steps/src/steps.ts +93 -0
- package/packages/ui/components/steps/src/steps.vue +143 -0
- package/packages/ui/components/steps/styles/step.css +116 -0
- package/packages/ui/components/steps/styles/steps.css +200 -0
- package/packages/ui/components/table/README.md +81 -0
- package/packages/ui/components/table/__tests__/table.test.ts +162 -0
- package/packages/ui/components/table/index.ts +13 -0
- package/packages/ui/components/table/src/table.ts +195 -0
- package/packages/ui/components/table/src/table.vue +453 -0
- package/packages/ui/components/table/styles/table.css +88 -0
- package/packages/ui/components/tabs/README.md +88 -0
- package/packages/ui/components/tabs/__tests__/tabs.test.ts +161 -0
- package/packages/ui/components/tabs/index.ts +19 -0
- package/packages/ui/components/tabs/src/tab-pane.ts +18 -0
- package/packages/ui/components/tabs/src/tab-pane.vue +11 -0
- package/packages/ui/components/tabs/src/tabs-content.vue +58 -0
- package/packages/ui/components/tabs/src/tabs-list.vue +36 -0
- package/packages/ui/components/tabs/src/tabs-trigger.vue +70 -0
- package/packages/ui/components/tabs/src/tabs.ts +94 -0
- package/packages/ui/components/tabs/src/tabs.vue +101 -0
- package/packages/ui/components/tabs/src/types.ts +126 -0
- package/packages/ui/components/tabs/styles/tabs.css +239 -0
- package/packages/ui/components/tag/README.md +67 -0
- package/packages/ui/components/tag/__tests__/tag.test.ts +222 -0
- package/packages/ui/components/tag/index.ts +13 -0
- package/packages/ui/components/tag/src/tag.ts +87 -0
- package/packages/ui/components/tag/src/tag.vue +163 -0
- package/packages/ui/components/tag/styles/tag.css +47 -0
- package/packages/ui/components/timeline/README.md +80 -0
- package/packages/ui/components/timeline/__tests__/timeline.test.ts +78 -0
- package/packages/ui/components/timeline/index.ts +15 -0
- package/packages/ui/components/timeline/src/timeline-item.vue +38 -0
- package/packages/ui/components/timeline/src/timeline.ts +76 -0
- package/packages/ui/components/timeline/src/timeline.vue +30 -0
- package/packages/ui/components/timeline/styles/timeline-item.css +49 -0
- package/packages/ui/components/timeline/styles/timeline.css +43 -0
- package/packages/ui/components/tooltip/README.md +134 -0
- package/packages/ui/components/tooltip/__tests__/tooltip.test.ts +125 -0
- package/packages/ui/components/tooltip/index.ts +12 -0
- package/packages/ui/components/tooltip/src/tooltip.ts +66 -0
- package/packages/ui/components/tooltip/src/tooltip.vue +189 -0
- package/packages/ui/components/tree/README.md +54 -0
- package/packages/ui/components/tree/__tests__/tree.test.ts +80 -0
- package/packages/ui/components/tree/index.ts +11 -0
- package/packages/ui/components/tree/src/tree.ts +51 -0
- package/packages/ui/components/tree/src/tree.vue +242 -0
- package/packages/ui/components/tree/styles/tree.css +31 -0
- package/packages/ui/components/typography/README.md +120 -0
- package/packages/ui/components/typography/__tests__/typography.test.ts +164 -0
- package/packages/ui/components/typography/index.ts +13 -0
- package/packages/ui/components/typography/src/typography.ts +95 -0
- package/packages/ui/components/typography/src/typography.vue +94 -0
- package/packages/ui/components/typography/styles/typography.css +47 -0
- package/packages/ui/components/upload/README.md +103 -0
- package/packages/ui/components/upload/__tests__/upload.test.ts +181 -0
- package/packages/ui/components/upload/index.ts +11 -0
- package/packages/ui/components/upload/src/upload.ts +92 -0
- package/packages/ui/components/upload/src/upload.vue +382 -0
- package/packages/ui/components/upload/styles/upload.css +283 -0
- package/packages/ui/components/watermark/README.md +94 -0
- package/packages/ui/components/watermark/__tests__/watermark.test.ts +252 -0
- package/packages/ui/components/watermark/index.ts +13 -0
- package/packages/ui/components/watermark/src/index.ts +13 -0
- package/packages/ui/components/watermark/src/types.ts +86 -0
- package/packages/ui/components/watermark/src/use-watermark.ts +132 -0
- package/packages/ui/components/watermark/src/watermark.vue +181 -0
- package/packages/ui/components/watermark/styles/watermark.css +27 -0
- package/packages/ui/index.ts +338 -0
- package/packages/ui/lib/utils.ts +6 -0
- package/packages/ui/lowcode-agent/icons.ts +148 -0
- package/packages/ui/lowcode-agent/index.ts +26 -0
- package/packages/ui/lowcode-agent/registry.json +37004 -0
- package/packages/ui/lowcode-agent/types.ts +312 -0
- package/packages/ui/src/composables/__tests__/use-floating-popup.test.ts +275 -0
- package/packages/ui/src/composables/__tests__/use-form-ai-actions.test.ts +101 -0
- package/packages/ui/src/composables/__tests__/use-form-ai-registry.test.ts +92 -0
- package/packages/ui/src/composables/__tests__/use-form-ai.test.ts +116 -0
- package/packages/ui/src/composables/index.ts +10 -0
- package/packages/ui/src/composables/use-ai-state-machine.ts +142 -0
- package/packages/ui/src/composables/use-floating-popup.ts +237 -0
- package/packages/ui/src/composables/use-form-ai-registry.ts +198 -0
- package/packages/ui/src/composables/use-form-ai.ts +280 -0
- package/packages/ui/src/composables/useLightbox.ts +51 -0
- package/packages/ui/src/request/document.ts +53 -0
- package/packages/ui/src/request/enum.ts +18 -0
- package/packages/ui/src/request/index.ts +4 -0
- package/packages/ui/src/request/request.ts +200 -0
- package/packages/ui/src/request/types.ts +27 -0
- package/packages/ui/src/types/form-ai-registry.ts +70 -0
- package/packages/ui/src/types/form-ai.ts +84 -0
- package/packages/ui/src/utils/date-format.ts +60 -0
- package/packages/ui/styles/design-tokens.css +383 -0
- package/packages/ui/styles/tailwind.css +76 -0
- package/packages/ui/styles/tokens.css +7 -0
- package/playground/index.html +12 -0
- package/playground/postcss.config.cjs +5 -0
- package/playground/src/App.vue +3 -0
- package/playground/src/__tests__/__debug-input.test.ts +29 -0
- package/playground/src/__tests__/button-ai-confirm.test.ts +41 -0
- package/playground/src/__tests__/home-render.test.ts +87 -0
- package/playground/src/__tests__/icon-library.test.ts +107 -0
- package/playground/src/__tests__/input-ai-confirm.test.ts +113 -0
- package/playground/src/__tests__/textarea-ai-button.test.ts +87 -0
- package/playground/src/__tests__/textarea-wordlimit.test.ts +66 -0
- package/playground/src/chart-theme.ts +22 -0
- package/playground/src/components/AiStateFlow.vue +59 -0
- package/playground/src/components/ComponentShowcase.vue +180 -0
- package/playground/src/composables/useAiStateMachine.ts +111 -0
- package/playground/src/data/component-api.ts +187 -0
- package/playground/src/data/component-meta.ts +84 -0
- package/playground/src/layouts/DefaultLayout.vue +318 -0
- package/playground/src/main.ts +18 -0
- package/playground/src/router/index.ts +101 -0
- package/playground/src/views/AffixDemo.vue +133 -0
- package/playground/src/views/AiStateFlowDemo.vue +170 -0
- package/playground/src/views/AlertDemo.vue +554 -0
- package/playground/src/views/AnchorDemo.vue +150 -0
- package/playground/src/views/AppBarDemo.vue +722 -0
- package/playground/src/views/AvatarDemo.vue +266 -0
- package/playground/src/views/BackTopDemo.vue +71 -0
- package/playground/src/views/BadgeDemo.vue +109 -0
- package/playground/src/views/BatchActionButtonDemo.vue +65 -0
- package/playground/src/views/BreadcrumbDemo.vue +248 -0
- package/playground/src/views/ButtonDemo.vue +344 -0
- package/playground/src/views/CardDemo.vue +254 -0
- package/playground/src/views/CarouselDemo.vue +158 -0
- package/playground/src/views/CascaderDemo.vue +425 -0
- package/playground/src/views/ChartDemo.vue +232 -0
- package/playground/src/views/CheckboxDemo.vue +339 -0
- package/playground/src/views/DataGridDemo.vue +518 -0
- package/playground/src/views/DataPickerDemo.vue +240 -0
- package/playground/src/views/DatePickerDemo.vue +292 -0
- package/playground/src/views/DateTimePickerDemo.vue +208 -0
- package/playground/src/views/DesignSpecDemo.vue +1647 -0
- package/playground/src/views/DividerDemo.vue +77 -0
- package/playground/src/views/DocumentActionHeaderDemo.vue +113 -0
- package/playground/src/views/DocumentFormPageDemo.vue +200 -0
- package/playground/src/views/DrawerDemo.vue +166 -0
- package/playground/src/views/DropdownButtonDemo.vue +74 -0
- package/playground/src/views/DropdownDemo.vue +306 -0
- package/playground/src/views/EmptyDemo.vue +104 -0
- package/playground/src/views/ErrorDemo.vue +111 -0
- package/playground/src/views/FileUploadDemo.vue +241 -0
- package/playground/src/views/FilterButtonDemo.vue +65 -0
- package/playground/src/views/FormFieldAiDemo.vue +364 -0
- package/playground/src/views/FormFieldBasicDemo.vue +174 -0
- package/playground/src/views/FormFieldBusinessDemo.vue +245 -0
- package/playground/src/views/FormFieldDemo.vue +178 -0
- package/playground/src/views/FormFieldLayoutDemo.vue +183 -0
- package/playground/src/views/FormFieldValidationDemo.vue +163 -0
- package/playground/src/views/FormItemAiDemo.vue +371 -0
- package/playground/src/views/FormSelectDemo.vue +519 -0
- package/playground/src/views/FormUploadDemo.vue +536 -0
- package/playground/src/views/HeroDemo.vue +836 -0
- package/playground/src/views/Home.vue +213 -0
- package/playground/src/views/IconDemo.vue +186 -0
- package/playground/src/views/IconLibraryView.vue +370 -0
- package/playground/src/views/IconRenderTest.vue +86 -0
- package/playground/src/views/ImagePreviewDemo.vue +368 -0
- package/playground/src/views/ImageUploadDemo.vue +199 -0
- package/playground/src/views/InputDemo.vue +348 -0
- package/playground/src/views/LayoutDemo.vue +946 -0
- package/playground/src/views/LoadingDemo.vue +95 -0
- package/playground/src/views/LocationPickerDemo.vue +218 -0
- package/playground/src/views/MenuDemo.vue +283 -0
- package/playground/src/views/MessageDemo.vue +201 -0
- package/playground/src/views/MetricDemo.vue +535 -0
- package/playground/src/views/ModalDemo.vue +291 -0
- package/playground/src/views/MoreActionButtonDemo.vue +65 -0
- package/playground/src/views/NewDocumentDemo.vue +973 -0
- package/playground/src/views/NotificationDemo.vue +255 -0
- package/playground/src/views/PaginationDemo.vue +292 -0
- package/playground/src/views/ProgressDemo.vue +356 -0
- package/playground/src/views/RadioDemo.vue +414 -0
- package/playground/src/views/RegionPickerDemo.vue +249 -0
- package/playground/src/views/ScalingRulesDemo.vue +333 -0
- package/playground/src/views/SelectDemo.vue +453 -0
- package/playground/src/views/SideNavDemo.vue +769 -0
- package/playground/src/views/SignatureDemo.vue +205 -0
- package/playground/src/views/SkeletonDemo.vue +109 -0
- package/playground/src/views/SliderDemo.vue +312 -0
- package/playground/src/views/SplitButtonDemo.vue +65 -0
- package/playground/src/views/StatusDotDemo.vue +131 -0
- package/playground/src/views/StepsDemo.vue +587 -0
- package/playground/src/views/SwitchDemo.vue +442 -0
- package/playground/src/views/TableDemo.vue +438 -0
- package/playground/src/views/TabsDemo.vue +246 -0
- package/playground/src/views/TagDemo.vue +113 -0
- package/playground/src/views/TextAreaDemo.vue +317 -0
- package/playground/src/views/TimePickerDemo.vue +291 -0
- package/playground/src/views/TimelineDemo.vue +133 -0
- package/playground/src/views/TooltipDemo.vue +102 -0
- package/playground/src/views/TreeDemo.vue +521 -0
- package/playground/src/views/TypographyDemo.vue +175 -0
- package/playground/src/views/UploadDemo.vue +331 -0
- package/playground/src/views/WatermarkDemo.vue +112 -0
- package/playground/src/views/_mocks/new-document.mock.ts +506 -0
- package/playground/src/views/data/form-field-events-table.ts +243 -0
- package/playground/src/views/data/form-field-options.ts +77 -0
- package/playground/src/views/data/form-field-props-table.ts +227 -0
- package/playground/src/views/data/form-field-snippets.ts +149 -0
- package/playground/src/views/data/slider-snippets.ts +100 -0
- package/playground/src/views/inner/FormFieldEventsDoc.vue +147 -0
- package/playground/src/views/inner/FormFieldPropsDoc.vue +138 -0
- package/playground/vite.config.ts +25 -0
- package/pnpm-workspace.yaml +3 -0
- package/postcss.config.cjs +5 -0
- package/scripts/check-design-token-compliance.mjs +223 -0
- package/scripts/generate-package-dts.mjs +105 -0
- package/tsconfig.json +35 -0
- package/tsconfig.node.json +13 -0
- package/vite.config.ts +68 -0
- package/dist/Accordion.vue_vue_type_script_setup_true_lang--wy6blIE.js +0 -215
- package/dist/Accordion.vue_vue_type_script_setup_true_lang-BLeKfnsj.cjs +0 -1
- package/dist/Alert.vue_vue_type_script_setup_true_lang-D-jeM-WY.cjs +0 -1
- package/dist/Alert.vue_vue_type_script_setup_true_lang-TxBBGtUT.js +0 -84
- package/dist/AlertDialog.vue_vue_type_script_setup_true_lang-Bu2DzAMe.js +0 -154
- package/dist/AlertDialog.vue_vue_type_script_setup_true_lang-UYpaBI80.cjs +0 -1
- package/dist/AspectRatio.vue_vue_type_script_setup_true_lang-C1Vsh6aT.js +0 -53
- package/dist/AspectRatio.vue_vue_type_script_setup_true_lang-ClsMtGoF.cjs +0 -1
- package/dist/Avatar.vue_vue_type_script_setup_true_lang-BH6iM5tr.js +0 -73
- package/dist/Avatar.vue_vue_type_script_setup_true_lang-DO68pMXd.cjs +0 -1
- package/dist/Badge.vue_vue_type_script_setup_true_lang-CEWGZXh5.js +0 -51
- package/dist/Badge.vue_vue_type_script_setup_true_lang-ywvX3cQa.cjs +0 -1
- package/dist/BasicData.vue_vue_type_script_setup_true_lang-BIj7l5cr.cjs +0 -1
- package/dist/BasicData.vue_vue_type_script_setup_true_lang-CbariCIQ.js +0 -128
- package/dist/Breadcrumb.vue_vue_type_script_setup_true_lang-CydnFxPt.cjs +0 -1
- package/dist/Breadcrumb.vue_vue_type_script_setup_true_lang-DEb9qtjR.js +0 -129
- package/dist/Button.vue_vue_type_script_setup_true_lang-BKdqhxHb.js +0 -77
- package/dist/Button.vue_vue_type_script_setup_true_lang-DDvMH9EZ.cjs +0 -1
- package/dist/ButtonGroup.vue_vue_type_script_setup_true_lang-B4hE3gsW.cjs +0 -1
- package/dist/ButtonGroup.vue_vue_type_script_setup_true_lang-Bs0B8Vd8.js +0 -120
- package/dist/Calendar.vue_vue_type_script_setup_true_lang-BDi2p9Jy.js +0 -190
- package/dist/Calendar.vue_vue_type_script_setup_true_lang-DGZRfB16.cjs +0 -1
- package/dist/Card.vue_vue_type_script_setup_true_lang-B3VTzVMY.cjs +0 -1
- package/dist/Card.vue_vue_type_script_setup_true_lang-CCOp9xQD.js +0 -119
- package/dist/Checkbox.vue_vue_type_script_setup_true_lang-DsZtCSP7.cjs +0 -1
- package/dist/Checkbox.vue_vue_type_script_setup_true_lang-pkxqabIY.js +0 -65
- package/dist/Collapsible.vue_vue_type_script_setup_true_lang-CkP6uzq2.js +0 -195
- package/dist/Collapsible.vue_vue_type_script_setup_true_lang-DQt_yIv4.cjs +0 -1
- package/dist/Combobox.vue_vue_type_script_setup_true_lang-DH4Rseiw.js +0 -192
- package/dist/Combobox.vue_vue_type_script_setup_true_lang-MmX7xgxo.cjs +0 -1
- package/dist/Command.vue_vue_type_script_setup_true_lang-FUM9Zk8T.cjs +0 -1
- package/dist/Command.vue_vue_type_script_setup_true_lang-S58WiQYS.js +0 -210
- package/dist/ConfigProvider.vue_vue_type_script_setup_true_lang-K0H6qX1E.js +0 -54
- package/dist/ConfigProvider.vue_vue_type_script_setup_true_lang-ru3M-m26.cjs +0 -1
- package/dist/ContextMenu.vue_vue_type_script_setup_true_lang-BoVF4TPX.js +0 -179
- package/dist/ContextMenu.vue_vue_type_script_setup_true_lang-C6tWKeM7.cjs +0 -1
- package/dist/DatePicker.vue_vue_type_script_setup_true_lang-B6LaPpp6.cjs +0 -1
- package/dist/DatePicker.vue_vue_type_script_setup_true_lang-_f_sZGq1.js +0 -242
- package/dist/DateRangePicker.vue_vue_type_script_setup_true_lang-C43ZwNIn.cjs +0 -1
- package/dist/DateRangePicker.vue_vue_type_script_setup_true_lang-DQUWt_Wu.js +0 -271
- package/dist/DateTimePicker.vue_vue_type_script_setup_true_lang-BlKdEbyK.cjs +0 -1
- package/dist/DateTimePicker.vue_vue_type_script_setup_true_lang-LTCCmsla.js +0 -410
- package/dist/DateTimeRangePicker.vue_vue_type_script_setup_true_lang-ClYv_nVS.js +0 -576
- package/dist/DateTimeRangePicker.vue_vue_type_script_setup_true_lang-Cw7MNCi2.cjs +0 -1
- package/dist/DecimalField.vue_vue_type_script_setup_true_lang-BJjaNs3A.cjs +0 -1
- package/dist/DecimalField.vue_vue_type_script_setup_true_lang-D7aOG5Dh.js +0 -91
- package/dist/DescriptionList.vue_vue_type_script_setup_true_lang-AfzkSyE9.js +0 -93
- package/dist/DescriptionList.vue_vue_type_script_setup_true_lang-Bmf_3Dc1.cjs +0 -1
- package/dist/Dialog.vue_vue_type_script_setup_true_lang-CIRDXaZe.cjs +0 -1
- package/dist/Dialog.vue_vue_type_script_setup_true_lang-DO5uFv4H.js +0 -197
- package/dist/Drawer.vue_vue_type_script_setup_true_lang-CFARHqW5.cjs +0 -1
- package/dist/Drawer.vue_vue_type_script_setup_true_lang-DD3XKgWN.js +0 -224
- package/dist/DropdownMenu.vue_vue_type_script_setup_true_lang-DEIcofhM.js +0 -187
- package/dist/DropdownMenu.vue_vue_type_script_setup_true_lang-LPRBC-sT.cjs +0 -1
- package/dist/Empty.vue_vue_type_script_setup_true_lang-BcHRqYVE.cjs +0 -1
- package/dist/Empty.vue_vue_type_script_setup_true_lang-Dpi0qEtn.js +0 -54
- package/dist/Field.vue_vue_type_script_setup_true_lang-BpHsfsic.cjs +0 -1
- package/dist/Field.vue_vue_type_script_setup_true_lang-DJJy-YPW.js +0 -131
- package/dist/Form.vue_vue_type_script_setup_true_lang-C1U8snBS.cjs +0 -1
- package/dist/Form.vue_vue_type_script_setup_true_lang-QWZ4SdKT.js +0 -261
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-BF42kZLr.js +0 -423
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-DITQLBpA.cjs +0 -1
- package/dist/FormRenderer.vue_vue_type_script_setup_true_lang-CAxNwqHD.cjs +0 -1
- package/dist/FormRenderer.vue_vue_type_script_setup_true_lang-Dhm-WjC8.js +0 -233
- package/dist/Grid.vue_vue_type_script_setup_true_lang-BPbW0pD8.cjs +0 -1
- package/dist/Grid.vue_vue_type_script_setup_true_lang-DdUORFs2.js +0 -104
- package/dist/HoverCard.vue_vue_type_script_setup_true_lang-BX1R_w3e.cjs +0 -1
- package/dist/HoverCard.vue_vue_type_script_setup_true_lang-DQyN5fZJ.js +0 -171
- package/dist/ImagePreview.vue_vue_type_script_setup_true_lang-B0OOqOY8.js +0 -302
- package/dist/ImagePreview.vue_vue_type_script_setup_true_lang-DzqU_CNv.cjs +0 -1
- package/dist/Input.vue_vue_type_script_setup_true_lang-Cp2TGrCk.js +0 -49
- package/dist/Input.vue_vue_type_script_setup_true_lang-z96sVbKu.cjs +0 -1
- package/dist/InputGroup.vue_vue_type_script_setup_true_lang-D_OJAjSL.cjs +0 -1
- package/dist/InputGroup.vue_vue_type_script_setup_true_lang-DhMJFd3E.js +0 -254
- package/dist/InputOtp.vue_vue_type_script_setup_true_lang-BfhYqjWQ.cjs +0 -1
- package/dist/InputOtp.vue_vue_type_script_setup_true_lang-BppDfxqy.js +0 -104
- package/dist/IntegerField.vue_vue_type_script_setup_true_lang-9l6zsnms.js +0 -138
- package/dist/IntegerField.vue_vue_type_script_setup_true_lang-DKHzNN7U.cjs +0 -1
- package/dist/Item.vue_vue_type_script_setup_true_lang-C-HydRiq.cjs +0 -1
- package/dist/Item.vue_vue_type_script_setup_true_lang-a96_Oj5N.js +0 -294
- package/dist/Kbd.vue_vue_type_script_setup_true_lang-CLohvO70.js +0 -59
- package/dist/Kbd.vue_vue_type_script_setup_true_lang-DmNRZNY7.cjs +0 -1
- package/dist/Label.vue_vue_type_script_setup_true_lang-B24W9bVo.cjs +0 -1
- package/dist/Label.vue_vue_type_script_setup_true_lang-DiEbF66L.js +0 -36
- package/dist/Layout.vue_vue_type_script_setup_true_lang-DhuBYtXR.cjs +0 -1
- package/dist/Layout.vue_vue_type_script_setup_true_lang-qyWN0Zic.js +0 -266
- package/dist/Loading-3o1JTfTo.js +0 -151
- package/dist/Loading-Bb__Xu0A.cjs +0 -1
- package/dist/Menubar.vue_vue_type_script_setup_true_lang-Bv2izUjc.cjs +0 -1
- package/dist/Menubar.vue_vue_type_script_setup_true_lang-D_tfSoC2.js +0 -158
- package/dist/Message.vue_vue_type_script_setup_true_lang-DXupIlLr.cjs +0 -1
- package/dist/Message.vue_vue_type_script_setup_true_lang-Dlfgz0TE.js +0 -103
- package/dist/MonthPicker.vue_vue_type_script_setup_true_lang-BC6_j8NI.js +0 -208
- package/dist/MonthPicker.vue_vue_type_script_setup_true_lang-CPViB4Ld.cjs +0 -1
- package/dist/NavigationMenu.vue_vue_type_script_setup_true_lang-BsGhzlGm.cjs +0 -1
- package/dist/NavigationMenu.vue_vue_type_script_setup_true_lang-D2uAwqI7.js +0 -222
- package/dist/Notification.vue_vue_type_script_setup_true_lang-BvtuThJf.js +0 -148
- package/dist/Notification.vue_vue_type_script_setup_true_lang-DEyslU7t.cjs +0 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-BbVMAU2p.cjs +0 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-Byu8A8uh.js +0 -105
- package/dist/PageContainer.vue_vue_type_script_setup_true_lang-CKe6JoYl.js +0 -234
- package/dist/PageContainer.vue_vue_type_script_setup_true_lang-Dj20ALwk.cjs +0 -1
- package/dist/PageRenderer.vue_vue_type_script_setup_true_lang-CEnN5hpQ.cjs +0 -1
- package/dist/PageRenderer.vue_vue_type_script_setup_true_lang-yFhOgQ0d.js +0 -323
- package/dist/Pagination.vue_vue_type_script_setup_true_lang-CaA7p1U_.js +0 -139
- package/dist/Pagination.vue_vue_type_script_setup_true_lang-Lh-HNwDK.cjs +0 -1
- package/dist/Popover.vue_vue_type_script_setup_true_lang-BjbI4KXM.js +0 -134
- package/dist/Popover.vue_vue_type_script_setup_true_lang-Cm77KH2H.cjs +0 -1
- package/dist/Progress.vue_vue_type_script_setup_true_lang-87j8mX2L.cjs +0 -1
- package/dist/Progress.vue_vue_type_script_setup_true_lang-CgHMn6cZ.js +0 -78
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-BCD6_cQf.js +0 -97
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-Dy6pu-sy.cjs +0 -1
- package/dist/ResizablePanelGroup.vue_vue_type_script_setup_true_lang-C6Hrh-OK.cjs +0 -1
- package/dist/ResizablePanelGroup.vue_vue_type_script_setup_true_lang-DnQJzPd5.js +0 -97
- package/dist/Result.vue_vue_type_script_setup_true_lang-C7tmhboo.js +0 -141
- package/dist/Result.vue_vue_type_script_setup_true_lang-CY_5_FQA.cjs +0 -1
- package/dist/ScrollArea.vue_vue_type_script_setup_true_lang-CGlecwYE.js +0 -72
- package/dist/ScrollArea.vue_vue_type_script_setup_true_lang-DotfmsY-.cjs +0 -1
- package/dist/Section.vue_vue_type_script_setup_true_lang-C7N8AafD.cjs +0 -1
- package/dist/Section.vue_vue_type_script_setup_true_lang-D5u3369q.js +0 -252
- package/dist/Select.vue_vue_type_script_setup_true_lang-DTZtMKx_.js +0 -67
- package/dist/Select.vue_vue_type_script_setup_true_lang-Xq-QJSlA.cjs +0 -1
- package/dist/Separator.vue_vue_type_script_setup_true_lang-BOSUjxhy.js +0 -49
- package/dist/Separator.vue_vue_type_script_setup_true_lang-fp-6WKch.cjs +0 -1
- package/dist/Sheet.vue_vue_type_script_setup_true_lang-Bypym9gW.js +0 -200
- package/dist/Sheet.vue_vue_type_script_setup_true_lang-DQMXcp7q.cjs +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-8P4v4YYK.js +0 -33
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DvTCib5t.cjs +0 -1
- package/dist/Slider.vue_vue_type_script_setup_true_lang-5qILedGS.js +0 -130
- package/dist/Slider.vue_vue_type_script_setup_true_lang-DpOQgMTW.cjs +0 -1
- package/dist/Space.vue_vue_type_script_setup_true_lang-DUCQzntm.cjs +0 -1
- package/dist/Space.vue_vue_type_script_setup_true_lang-ikc41cqV.js +0 -125
- package/dist/Spinner.vue_vue_type_script_setup_true_lang-CkR6YQjH.cjs +0 -1
- package/dist/Spinner.vue_vue_type_script_setup_true_lang-RVwVkb2d.js +0 -26
- package/dist/Steps.vue_vue_type_script_setup_true_lang-BvboiRtG.cjs +0 -1
- package/dist/Steps.vue_vue_type_script_setup_true_lang-COm_8BK4.js +0 -228
- package/dist/Switch.vue_vue_type_script_setup_true_lang-ZRKl1Zni.cjs +0 -1
- package/dist/Switch.vue_vue_type_script_setup_true_lang-a1UgZsjV.js +0 -102
- package/dist/Table.vue_vue_type_script_setup_true_lang-7A--ssWe.js +0 -172
- package/dist/Table.vue_vue_type_script_setup_true_lang-BuP_bKG9.cjs +0 -1
- package/dist/Tabs.vue_vue_type_script_setup_true_lang-BUSu2vID.cjs +0 -1
- package/dist/Tabs.vue_vue_type_script_setup_true_lang-CkvqMjSo.js +0 -100
- package/dist/Text.vue_vue_type_script_setup_true_lang-4oqbt-Uo.js +0 -111
- package/dist/Text.vue_vue_type_script_setup_true_lang-Cen2Rzgv.cjs +0 -1
- package/dist/Textarea.vue_vue_type_script_setup_true_lang-Bt_S9rml.js +0 -62
- package/dist/Textarea.vue_vue_type_script_setup_true_lang-CsdJqI4Y.cjs +0 -1
- package/dist/TimePicker.vue_vue_type_script_setup_true_lang-5I_hONIZ.js +0 -256
- package/dist/TimePicker.vue_vue_type_script_setup_true_lang-C9UhNJIv.cjs +0 -1
- package/dist/TimeRangePicker.vue_vue_type_script_setup_true_lang-23XAbOog.js +0 -392
- package/dist/TimeRangePicker.vue_vue_type_script_setup_true_lang-Cjsue_WN.cjs +0 -1
- package/dist/Toast.vue_vue_type_script_setup_true_lang-B3klIVmK.cjs +0 -1
- package/dist/Toast.vue_vue_type_script_setup_true_lang-DPFmb7FU.js +0 -165
- package/dist/Toggle.vue_vue_type_script_setup_true_lang-DMbVbYBd.cjs +0 -1
- package/dist/Toggle.vue_vue_type_script_setup_true_lang-lgv-RLr_.js +0 -56
- package/dist/ToggleGroup.vue_vue_type_script_setup_true_lang-IUOuR9p4.js +0 -90
- package/dist/ToggleGroup.vue_vue_type_script_setup_true_lang-NuidvvgX.cjs +0 -1
- package/dist/Tooltip.vue_vue_type_script_setup_true_lang-BCAtYvdC.cjs +0 -1
- package/dist/Tooltip.vue_vue_type_script_setup_true_lang-D0opA9eL.js +0 -88
- package/dist/Upload.vue_vue_type_script_setup_true_lang-BJtdtelu.js +0 -496
- package/dist/Upload.vue_vue_type_script_setup_true_lang-CCOuXxZN.cjs +0 -1
- package/dist/WeekPicker.vue_vue_type_script_setup_true_lang-DhKqIXY4.cjs +0 -1
- package/dist/WeekPicker.vue_vue_type_script_setup_true_lang-YNWQQCeH.js +0 -271
- package/dist/YearPicker.vue_vue_type_script_setup_true_lang-BwNZyS4Q.cjs +0 -1
- package/dist/YearPicker.vue_vue_type_script_setup_true_lang-C2M6HDSn.js +0 -195
- package/dist/accordion.cjs +0 -1
- package/dist/accordion.js +0 -13
- package/dist/agent-schema.cjs +0 -1
- package/dist/agent-schema.js +0 -10516
- package/dist/alert-dialog.cjs +0 -1
- package/dist/alert-dialog.js +0 -15
- package/dist/alert.cjs +0 -1
- package/dist/alert.js +0 -9
- package/dist/aspect-ratio.cjs +0 -1
- package/dist/aspect-ratio.js +0 -6
- package/dist/avatar.cjs +0 -1
- package/dist/avatar.js +0 -7
- package/dist/badge.cjs +0 -1
- package/dist/badge.js +0 -7
- package/dist/basic-data.cjs +0 -1
- package/dist/basic-data.js +0 -14
- package/dist/breadcrumb.cjs +0 -1
- package/dist/breadcrumb.js +0 -11
- package/dist/button-group.cjs +0 -1
- package/dist/button-group.js +0 -10
- package/dist/button.cjs +0 -1
- package/dist/button.js +0 -7
- package/dist/calendar.cjs +0 -1
- package/dist/calendar.js +0 -38
- package/dist/card.cjs +0 -1
- package/dist/card.js +0 -13
- package/dist/checkbox.cjs +0 -1
- package/dist/checkbox.js +0 -10
- package/dist/cn-B6yFEsav.js +0 -8
- package/dist/cn-IjLH3w2e.cjs +0 -1
- package/dist/collapsible.cjs +0 -1
- package/dist/collapsible.js +0 -11
- package/dist/combobox.cjs +0 -1
- package/dist/combobox.js +0 -13
- package/dist/command.cjs +0 -1
- package/dist/command.js +0 -17
- package/dist/components.cjs +0 -1
- package/dist/components.js +0 -831
- package/dist/config-provider.cjs +0 -1
- package/dist/config-provider.js +0 -8
- package/dist/context-menu.cjs +0 -1
- package/dist/context-menu.js +0 -12
- package/dist/date-BJhpbnm4.js +0 -238
- package/dist/date-aqfSS7Zy.cjs +0 -1
- package/dist/date-picker.cjs +0 -1
- package/dist/date-picker.js +0 -20
- package/dist/date-range-picker.cjs +0 -1
- package/dist/date-range-picker.js +0 -20
- package/dist/date-time-picker.cjs +0 -1
- package/dist/date-time-picker.js +0 -30
- package/dist/date-time-range-picker.cjs +0 -1
- package/dist/date-time-range-picker.js +0 -35
- package/dist/decimal-field.cjs +0 -1
- package/dist/decimal-field.js +0 -6
- package/dist/description-list.cjs +0 -1
- package/dist/description-list.js +0 -11
- package/dist/dialog.cjs +0 -1
- package/dist/dialog.js +0 -12
- package/dist/drawer.cjs +0 -1
- package/dist/drawer.js +0 -13
- package/dist/dropdown-menu.cjs +0 -1
- package/dist/dropdown-menu.js +0 -13
- package/dist/empty.cjs +0 -1
- package/dist/empty.js +0 -5
- package/dist/engines.cjs +0 -1
- package/dist/engines.js +0 -72
- package/dist/field.cjs +0 -1
- package/dist/field.js +0 -10
- package/dist/form-item.cjs +0 -1
- package/dist/form-item.js +0 -7
- package/dist/form-renderer.cjs +0 -1
- package/dist/form-renderer.js +0 -4
- package/dist/form.cjs +0 -1
- package/dist/form.js +0 -8
- package/dist/grid.cjs +0 -1
- package/dist/grid.js +0 -7
- package/dist/hover-card.cjs +0 -1
- package/dist/hover-card.js +0 -11
- package/dist/image-preview.cjs +0 -1
- package/dist/image-preview.js +0 -29
- package/dist/index.cjs +0 -1
- package/dist/index.js +0 -870
- package/dist/input-group.cjs +0 -1
- package/dist/input-group.js +0 -12
- package/dist/input-otp.cjs +0 -1
- package/dist/input-otp.js +0 -11
- package/dist/input.cjs +0 -1
- package/dist/input.js +0 -7
- package/dist/integer-field.cjs +0 -1
- package/dist/integer-field.js +0 -10
- package/dist/item.cjs +0 -1
- package/dist/item.js +0 -15
- package/dist/kbd.cjs +0 -1
- package/dist/kbd.js +0 -7
- package/dist/label.cjs +0 -1
- package/dist/label.js +0 -7
- package/dist/layout.cjs +0 -1
- package/dist/layout.js +0 -13
- package/dist/loading.cjs +0 -1
- package/dist/loading.js +0 -13
- package/dist/menubar.cjs +0 -1
- package/dist/menubar.js +0 -12
- package/dist/message.cjs +0 -1
- package/dist/message.js +0 -11
- package/dist/month-picker.cjs +0 -1
- package/dist/month-picker.js +0 -15
- package/dist/navigation-menu.cjs +0 -1
- package/dist/navigation-menu.js +0 -16
- package/dist/notification.cjs +0 -1
- package/dist/notification.js +0 -16
- package/dist/number-field.cjs +0 -1
- package/dist/number-field.js +0 -11
- package/dist/page-container.cjs +0 -1
- package/dist/page-container.js +0 -17
- package/dist/page-renderer.cjs +0 -1
- package/dist/page-renderer.js +0 -28
- package/dist/pagination.cjs +0 -1
- package/dist/pagination.js +0 -14
- package/dist/plugin.cjs +0 -1
- package/dist/plugin.js +0 -12
- package/dist/popover.cjs +0 -1
- package/dist/popover.js +0 -13
- package/dist/progress.cjs +0 -1
- package/dist/progress.js +0 -8
- package/dist/radio-group.cjs +0 -1
- package/dist/radio-group.js +0 -9
- package/dist/resizable.cjs +0 -1
- package/dist/resizable.js +0 -10
- package/dist/result.cjs +0 -1
- package/dist/result.js +0 -11
- package/dist/schemas.cjs +0 -1
- package/dist/schemas.js +0 -1
- package/dist/scroll-area.cjs +0 -1
- package/dist/scroll-area.js +0 -10
- package/dist/section.cjs +0 -1
- package/dist/section.js +0 -13
- package/dist/select.cjs +0 -1
- package/dist/select.js +0 -7
- package/dist/separator.cjs +0 -1
- package/dist/separator.js +0 -7
- package/dist/sheet.cjs +0 -1
- package/dist/sheet.js +0 -12
- package/dist/skeleton.cjs +0 -1
- package/dist/skeleton.js +0 -7
- package/dist/slider.cjs +0 -1
- package/dist/slider.js +0 -8
- package/dist/space.cjs +0 -1
- package/dist/space.js +0 -7
- package/dist/spinner.cjs +0 -1
- package/dist/spinner.js +0 -5
- package/dist/src/agent-schema/components.d.ts +0 -7935
- package/dist/src/agent-schema/index.d.ts +0 -2
- package/dist/src/agent-schema/types.d.ts +0 -169
- package/dist/src/agent-schema.d.ts +0 -1
- package/dist/src/components/accordion/Accordion.vue.d.ts +0 -33
- package/dist/src/components/accordion/index.d.ts +0 -6
- package/dist/src/components/accordion/props.d.ts +0 -40
- package/dist/src/components/accordion/variants.d.ts +0 -30
- package/dist/src/components/alert/Alert.vue.d.ts +0 -16
- package/dist/src/components/alert/index.d.ts +0 -6
- package/dist/src/components/alert/props.d.ts +0 -10
- package/dist/src/components/alert/variants.d.ts +0 -10
- package/dist/src/components/alert-dialog/AlertDialog.vue.d.ts +0 -33
- package/dist/src/components/alert-dialog/index.d.ts +0 -6
- package/dist/src/components/alert-dialog/props.d.ts +0 -23
- package/dist/src/components/alert-dialog/variants.d.ts +0 -19
- package/dist/src/components/aspect-ratio/AspectRatio.vue.d.ts +0 -16
- package/dist/src/components/aspect-ratio/index.d.ts +0 -4
- package/dist/src/components/aspect-ratio/props.d.ts +0 -8
- package/dist/src/components/aspect-ratio/variants.d.ts +0 -5
- package/dist/src/components/avatar/Avatar.vue.d.ts +0 -20
- package/dist/src/components/avatar/index.d.ts +0 -4
- package/dist/src/components/avatar/props.d.ts +0 -12
- package/dist/src/components/avatar/variants.d.ts +0 -10
- package/dist/src/components/badge/Badge.vue.d.ts +0 -16
- package/dist/src/components/badge/index.d.ts +0 -6
- package/dist/src/components/badge/props.d.ts +0 -7
- package/dist/src/components/badge/variants.d.ts +0 -6
- package/dist/src/components/basic-data/BasicData.vue.d.ts +0 -30
- package/dist/src/components/basic-data/index.d.ts +0 -3
- package/dist/src/components/basic-data/props.d.ts +0 -27
- package/dist/src/components/basic-data/variants.d.ts +0 -21
- package/dist/src/components/breadcrumb/Breadcrumb.vue.d.ts +0 -18
- package/dist/src/components/breadcrumb/index.d.ts +0 -4
- package/dist/src/components/breadcrumb/props.d.ts +0 -23
- package/dist/src/components/breadcrumb/variants.d.ts +0 -15
- package/dist/src/components/button/Button.vue.d.ts +0 -24
- package/dist/src/components/button/index.d.ts +0 -6
- package/dist/src/components/button/props.d.ts +0 -15
- package/dist/src/components/button/variants.d.ts +0 -10
- package/dist/src/components/button-group/ButtonGroup.vue.d.ts +0 -23
- package/dist/src/components/button-group/index.d.ts +0 -6
- package/dist/src/components/button-group/props.d.ts +0 -30
- package/dist/src/components/button-group/variants.d.ts +0 -9
- package/dist/src/components/calendar/Calendar.vue.d.ts +0 -18
- package/dist/src/components/calendar/index.d.ts +0 -4
- package/dist/src/components/calendar/props.d.ts +0 -25
- package/dist/src/components/calendar/variants.d.ts +0 -27
- package/dist/src/components/card/Card.vue.d.ts +0 -25
- package/dist/src/components/card/index.d.ts +0 -6
- package/dist/src/components/card/props.d.ts +0 -13
- package/dist/src/components/card/variants.d.ts +0 -13
- package/dist/src/components/checkbox/Checkbox.vue.d.ts +0 -15
- package/dist/src/components/checkbox/index.d.ts +0 -6
- package/dist/src/components/checkbox/props.d.ts +0 -17
- package/dist/src/components/checkbox/variants.d.ts +0 -7
- package/dist/src/components/collapsible/Collapsible.vue.d.ts +0 -29
- package/dist/src/components/collapsible/index.d.ts +0 -6
- package/dist/src/components/collapsible/props.d.ts +0 -25
- package/dist/src/components/collapsible/variants.d.ts +0 -25
- package/dist/src/components/combobox/Combobox.vue.d.ts +0 -15
- package/dist/src/components/combobox/index.d.ts +0 -4
- package/dist/src/components/combobox/props.d.ts +0 -33
- package/dist/src/components/combobox/variants.d.ts +0 -26
- package/dist/src/components/command/Command.vue.d.ts +0 -25
- package/dist/src/components/command/index.d.ts +0 -4
- package/dist/src/components/command/props.d.ts +0 -54
- package/dist/src/components/command/variants.d.ts +0 -27
- package/dist/src/components/config-provider/ConfigProvider.vue.d.ts +0 -20
- package/dist/src/components/config-provider/context.d.ts +0 -12
- package/dist/src/components/config-provider/index.d.ts +0 -4
- package/dist/src/components/config-provider/props.d.ts +0 -16
- package/dist/src/components/config-provider/variants.d.ts +0 -3
- package/dist/src/components/context-menu/ContextMenu.vue.d.ts +0 -32
- package/dist/src/components/context-menu/index.d.ts +0 -4
- package/dist/src/components/context-menu/props.d.ts +0 -38
- package/dist/src/components/context-menu/variants.d.ts +0 -21
- package/dist/src/components/date-picker/DatePicker.vue.d.ts +0 -15
- package/dist/src/components/date-picker/index.d.ts +0 -3
- package/dist/src/components/date-picker/props.d.ts +0 -24
- package/dist/src/components/date-picker/variants.d.ts +0 -35
- package/dist/src/components/date-range-picker/DateRangePicker.vue.d.ts +0 -15
- package/dist/src/components/date-range-picker/index.d.ts +0 -3
- package/dist/src/components/date-range-picker/props.d.ts +0 -27
- package/dist/src/components/date-range-picker/variants.d.ts +0 -37
- package/dist/src/components/date-time-picker/DateTimePicker.vue.d.ts +0 -19
- package/dist/src/components/date-time-picker/index.d.ts +0 -3
- package/dist/src/components/date-time-picker/props.d.ts +0 -28
- package/dist/src/components/date-time-picker/variants.d.ts +0 -57
- package/dist/src/components/date-time-range-picker/DateTimeRangePicker.vue.d.ts +0 -20
- package/dist/src/components/date-time-range-picker/index.d.ts +0 -3
- package/dist/src/components/date-time-range-picker/props.d.ts +0 -32
- package/dist/src/components/date-time-range-picker/variants.d.ts +0 -69
- package/dist/src/components/decimal-field/DecimalField.vue.d.ts +0 -16
- package/dist/src/components/decimal-field/index.d.ts +0 -3
- package/dist/src/components/decimal-field/props.d.ts +0 -23
- package/dist/src/components/decimal-field/variants.d.ts +0 -2
- package/dist/src/components/description-list/DescriptionList.vue.d.ts +0 -5
- package/dist/src/components/description-list/index.d.ts +0 -3
- package/dist/src/components/description-list/props.d.ts +0 -15
- package/dist/src/components/description-list/variants.d.ts +0 -19
- package/dist/src/components/dialog/Dialog.vue.d.ts +0 -27
- package/dist/src/components/dialog/index.d.ts +0 -3
- package/dist/src/components/dialog/props.d.ts +0 -39
- package/dist/src/components/dialog/variants.d.ts +0 -7
- package/dist/src/components/drawer/Drawer.vue.d.ts +0 -29
- package/dist/src/components/drawer/index.d.ts +0 -3
- package/dist/src/components/drawer/props.d.ts +0 -43
- package/dist/src/components/drawer/variants.d.ts +0 -13
- package/dist/src/components/dropdown-menu/DropdownMenu.vue.d.ts +0 -27
- package/dist/src/components/dropdown-menu/index.d.ts +0 -5
- package/dist/src/components/dropdown-menu/props.d.ts +0 -44
- package/dist/src/components/dropdown-menu/variants.d.ts +0 -14
- package/dist/src/components/empty/Empty.vue.d.ts +0 -19
- package/dist/src/components/empty/index.d.ts +0 -3
- package/dist/src/components/empty/props.d.ts +0 -11
- package/dist/src/components/empty/variants.d.ts +0 -3
- package/dist/src/components/field/Field.vue.d.ts +0 -21
- package/dist/src/components/field/index.d.ts +0 -3
- package/dist/src/components/field/props.d.ts +0 -30
- package/dist/src/components/field/variants.d.ts +0 -10
- package/dist/src/components/form/Form.vue.d.ts +0 -55
- package/dist/src/components/form/context.d.ts +0 -11
- package/dist/src/components/form/index.d.ts +0 -3
- package/dist/src/components/form/props.d.ts +0 -85
- package/dist/src/components/form/variants.d.ts +0 -15
- package/dist/src/components/form-item/FormItem.vue.d.ts +0 -24
- package/dist/src/components/form-item/index.d.ts +0 -3
- package/dist/src/components/form-item/props.d.ts +0 -67
- package/dist/src/components/form-item/variants.d.ts +0 -14
- package/dist/src/components/form-renderer/FormRenderer.vue.d.ts +0 -15
- package/dist/src/components/form-renderer/index.d.ts +0 -2
- package/dist/src/components/form-renderer/props.d.ts +0 -11
- package/dist/src/components/form-renderer/variants.d.ts +0 -17
- package/dist/src/components/grid/Grid.vue.d.ts +0 -19
- package/dist/src/components/grid/index.d.ts +0 -5
- package/dist/src/components/grid/props.d.ts +0 -14
- package/dist/src/components/grid/variants.d.ts +0 -5
- package/dist/src/components/hover-card/HoverCard.vue.d.ts +0 -24
- package/dist/src/components/hover-card/index.d.ts +0 -3
- package/dist/src/components/hover-card/props.d.ts +0 -53
- package/dist/src/components/hover-card/variants.d.ts +0 -7
- package/dist/src/components/image-preview/ImagePreview.vue.d.ts +0 -19
- package/dist/src/components/image-preview/index.d.ts +0 -3
- package/dist/src/components/image-preview/props.d.ts +0 -29
- package/dist/src/components/image-preview/variants.d.ts +0 -57
- package/dist/src/components/index.d.ts +0 -164
- package/dist/src/components/input/Input.vue.d.ts +0 -14
- package/dist/src/components/input/index.d.ts +0 -6
- package/dist/src/components/input/props.d.ts +0 -19
- package/dist/src/components/input/variants.d.ts +0 -5
- package/dist/src/components/input-group/InputGroup.vue.d.ts +0 -32
- package/dist/src/components/input-group/index.d.ts +0 -5
- package/dist/src/components/input-group/props.d.ts +0 -75
- package/dist/src/components/input-group/variants.d.ts +0 -13
- package/dist/src/components/input-otp/InputOtp.vue.d.ts +0 -21
- package/dist/src/components/input-otp/index.d.ts +0 -5
- package/dist/src/components/input-otp/props.d.ts +0 -34
- package/dist/src/components/input-otp/variants.d.ts +0 -5
- package/dist/src/components/integer-field/IntegerField.vue.d.ts +0 -14
- package/dist/src/components/integer-field/index.d.ts +0 -3
- package/dist/src/components/integer-field/props.d.ts +0 -21
- package/dist/src/components/integer-field/variants.d.ts +0 -6
- package/dist/src/components/item/Item.vue.d.ts +0 -22
- package/dist/src/components/item/index.d.ts +0 -3
- package/dist/src/components/item/props.d.ts +0 -100
- package/dist/src/components/item/variants.d.ts +0 -22
- package/dist/src/components/kbd/Kbd.vue.d.ts +0 -16
- package/dist/src/components/kbd/index.d.ts +0 -3
- package/dist/src/components/kbd/props.d.ts +0 -9
- package/dist/src/components/kbd/variants.d.ts +0 -7
- package/dist/src/components/label/Label.vue.d.ts +0 -15
- package/dist/src/components/label/index.d.ts +0 -6
- package/dist/src/components/label/props.d.ts +0 -6
- package/dist/src/components/label/variants.d.ts +0 -3
- package/dist/src/components/layout/Layout.vue.d.ts +0 -22
- package/dist/src/components/layout/index.d.ts +0 -5
- package/dist/src/components/layout/props.d.ts +0 -27
- package/dist/src/components/layout/variants.d.ts +0 -27
- package/dist/src/components/loading/Loading.vue.d.ts +0 -17
- package/dist/src/components/loading/index.d.ts +0 -3
- package/dist/src/components/loading/props.d.ts +0 -11
- package/dist/src/components/loading/variants.d.ts +0 -31
- package/dist/src/components/menubar/Menubar.vue.d.ts +0 -25
- package/dist/src/components/menubar/index.d.ts +0 -5
- package/dist/src/components/menubar/props.d.ts +0 -50
- package/dist/src/components/menubar/variants.d.ts +0 -13
- package/dist/src/components/message/Message.vue.d.ts +0 -25
- package/dist/src/components/message/index.d.ts +0 -3
- package/dist/src/components/message/props.d.ts +0 -16
- package/dist/src/components/message/variants.d.ts +0 -17
- package/dist/src/components/month-picker/MonthPicker.vue.d.ts +0 -14
- package/dist/src/components/month-picker/index.d.ts +0 -3
- package/dist/src/components/month-picker/props.d.ts +0 -19
- package/dist/src/components/month-picker/variants.d.ts +0 -27
- package/dist/src/components/navigation-menu/NavigationMenu.vue.d.ts +0 -27
- package/dist/src/components/navigation-menu/index.d.ts +0 -5
- package/dist/src/components/navigation-menu/props.d.ts +0 -54
- package/dist/src/components/navigation-menu/variants.d.ts +0 -10
- package/dist/src/components/notification/Notification.vue.d.ts +0 -27
- package/dist/src/components/notification/index.d.ts +0 -3
- package/dist/src/components/notification/props.d.ts +0 -17
- package/dist/src/components/notification/variants.d.ts +0 -29
- package/dist/src/components/number-field/NumberField.vue.d.ts +0 -10
- package/dist/src/components/number-field/index.d.ts +0 -3
- package/dist/src/components/number-field/props.d.ts +0 -21
- package/dist/src/components/number-field/utils.d.ts +0 -9
- package/dist/src/components/number-field/variants.d.ts +0 -7
- package/dist/src/components/page-container/PageContainer.vue.d.ts +0 -17
- package/dist/src/components/page-container/index.d.ts +0 -5
- package/dist/src/components/page-container/props.d.ts +0 -28
- package/dist/src/components/page-container/variants.d.ts +0 -25
- package/dist/src/components/page-renderer/PageRenderer.vue.d.ts +0 -10
- package/dist/src/components/page-renderer/index.d.ts +0 -3
- package/dist/src/components/page-renderer/props.d.ts +0 -16
- package/dist/src/components/page-renderer/variants.d.ts +0 -30
- package/dist/src/components/pagination/Pagination.vue.d.ts +0 -30
- package/dist/src/components/pagination/index.d.ts +0 -5
- package/dist/src/components/pagination/props.d.ts +0 -28
- package/dist/src/components/pagination/variants.d.ts +0 -8
- package/dist/src/components/popover/Popover.vue.d.ts +0 -22
- package/dist/src/components/popover/index.d.ts +0 -5
- package/dist/src/components/popover/props.d.ts +0 -34
- package/dist/src/components/popover/variants.d.ts +0 -7
- package/dist/src/components/progress/Progress.vue.d.ts +0 -6
- package/dist/src/components/progress/index.d.ts +0 -6
- package/dist/src/components/progress/props.d.ts +0 -14
- package/dist/src/components/progress/variants.d.ts +0 -10
- package/dist/src/components/radio-group/RadioGroup.vue.d.ts +0 -22
- package/dist/src/components/radio-group/index.d.ts +0 -5
- package/dist/src/components/radio-group/props.d.ts +0 -29
- package/dist/src/components/radio-group/variants.d.ts +0 -3
- package/dist/src/components/resizable/ResizablePanelGroup.vue.d.ts +0 -21
- package/dist/src/components/resizable/index.d.ts +0 -5
- package/dist/src/components/resizable/props.d.ts +0 -37
- package/dist/src/components/resizable/variants.d.ts +0 -6
- package/dist/src/components/result/Result.vue.d.ts +0 -20
- package/dist/src/components/result/index.d.ts +0 -3
- package/dist/src/components/result/props.d.ts +0 -11
- package/dist/src/components/result/variants.d.ts +0 -26
- package/dist/src/components/scroll-area/ScrollArea.vue.d.ts +0 -19
- package/dist/src/components/scroll-area/index.d.ts +0 -5
- package/dist/src/components/scroll-area/props.d.ts +0 -12
- package/dist/src/components/scroll-area/variants.d.ts +0 -8
- package/dist/src/components/section/Section.vue.d.ts +0 -16
- package/dist/src/components/section/index.d.ts +0 -5
- package/dist/src/components/section/props.d.ts +0 -27
- package/dist/src/components/section/variants.d.ts +0 -27
- package/dist/src/components/select/Select.vue.d.ts +0 -22
- package/dist/src/components/select/index.d.ts +0 -6
- package/dist/src/components/select/props.d.ts +0 -21
- package/dist/src/components/select/variants.d.ts +0 -5
- package/dist/src/components/separator/Separator.vue.d.ts +0 -7
- package/dist/src/components/separator/index.d.ts +0 -6
- package/dist/src/components/separator/props.d.ts +0 -7
- package/dist/src/components/separator/variants.d.ts +0 -5
- package/dist/src/components/sheet/Sheet.vue.d.ts +0 -26
- package/dist/src/components/sheet/index.d.ts +0 -3
- package/dist/src/components/sheet/props.d.ts +0 -39
- package/dist/src/components/sheet/variants.d.ts +0 -12
- package/dist/src/components/skeleton/Skeleton.vue.d.ts +0 -15
- package/dist/src/components/skeleton/index.d.ts +0 -6
- package/dist/src/components/skeleton/props.d.ts +0 -5
- package/dist/src/components/skeleton/variants.d.ts +0 -3
- package/dist/src/components/slider/Slider.vue.d.ts +0 -20
- package/dist/src/components/slider/index.d.ts +0 -3
- package/dist/src/components/slider/props.d.ts +0 -21
- package/dist/src/components/slider/variants.d.ts +0 -15
- package/dist/src/components/space/Space.vue.d.ts +0 -22
- package/dist/src/components/space/index.d.ts +0 -5
- package/dist/src/components/space/props.d.ts +0 -15
- package/dist/src/components/space/variants.d.ts +0 -10
- package/dist/src/components/spinner/Spinner.vue.d.ts +0 -5
- package/dist/src/components/spinner/index.d.ts +0 -3
- package/dist/src/components/spinner/props.d.ts +0 -6
- package/dist/src/components/spinner/variants.d.ts +0 -3
- package/dist/src/components/steps/Steps.vue.d.ts +0 -15
- package/dist/src/components/steps/index.d.ts +0 -3
- package/dist/src/components/steps/props.d.ts +0 -24
- package/dist/src/components/steps/variants.d.ts +0 -40
- package/dist/src/components/switch/Switch.vue.d.ts +0 -18
- package/dist/src/components/switch/index.d.ts +0 -6
- package/dist/src/components/switch/props.d.ts +0 -14
- package/dist/src/components/switch/variants.d.ts +0 -9
- package/dist/src/components/table/Table.vue.d.ts +0 -16
- package/dist/src/components/table/index.d.ts +0 -5
- package/dist/src/components/table/props.d.ts +0 -42
- package/dist/src/components/table/variants.d.ts +0 -9
- package/dist/src/components/tabs/Tabs.vue.d.ts +0 -19
- package/dist/src/components/tabs/index.d.ts +0 -5
- package/dist/src/components/tabs/props.d.ts +0 -30
- package/dist/src/components/tabs/variants.d.ts +0 -4
- package/dist/src/components/text/Text.vue.d.ts +0 -21
- package/dist/src/components/text/index.d.ts +0 -6
- package/dist/src/components/text/props.d.ts +0 -15
- package/dist/src/components/text/variants.d.ts +0 -14
- package/dist/src/components/textarea/Textarea.vue.d.ts +0 -13
- package/dist/src/components/textarea/index.d.ts +0 -6
- package/dist/src/components/textarea/props.d.ts +0 -18
- package/dist/src/components/textarea/variants.d.ts +0 -5
- package/dist/src/components/time-picker/TimePicker.vue.d.ts +0 -19
- package/dist/src/components/time-picker/index.d.ts +0 -3
- package/dist/src/components/time-picker/props.d.ts +0 -23
- package/dist/src/components/time-picker/variants.d.ts +0 -33
- package/dist/src/components/time-range-picker/TimeRangePicker.vue.d.ts +0 -19
- package/dist/src/components/time-range-picker/index.d.ts +0 -3
- package/dist/src/components/time-range-picker/props.d.ts +0 -26
- package/dist/src/components/time-range-picker/variants.d.ts +0 -45
- package/dist/src/components/toast/Toast.vue.d.ts +0 -33
- package/dist/src/components/toast/index.d.ts +0 -3
- package/dist/src/components/toast/props.d.ts +0 -54
- package/dist/src/components/toast/variants.d.ts +0 -17
- package/dist/src/components/toggle/Toggle.vue.d.ts +0 -26
- package/dist/src/components/toggle/index.d.ts +0 -3
- package/dist/src/components/toggle/props.d.ts +0 -17
- package/dist/src/components/toggle/variants.d.ts +0 -3
- package/dist/src/components/toggle-group/ToggleGroup.vue.d.ts +0 -27
- package/dist/src/components/toggle-group/index.d.ts +0 -5
- package/dist/src/components/toggle-group/props.d.ts +0 -37
- package/dist/src/components/toggle-group/variants.d.ts +0 -6
- package/dist/src/components/tooltip/Tooltip.vue.d.ts +0 -23
- package/dist/src/components/tooltip/index.d.ts +0 -5
- package/dist/src/components/tooltip/props.d.ts +0 -26
- package/dist/src/components/tooltip/variants.d.ts +0 -1
- package/dist/src/components/upload/Upload.vue.d.ts +0 -46
- package/dist/src/components/upload/index.d.ts +0 -3
- package/dist/src/components/upload/props.d.ts +0 -53
- package/dist/src/components/upload/variants.d.ts +0 -47
- package/dist/src/components/week-picker/WeekPicker.vue.d.ts +0 -15
- package/dist/src/components/week-picker/index.d.ts +0 -3
- package/dist/src/components/week-picker/props.d.ts +0 -24
- package/dist/src/components/week-picker/variants.d.ts +0 -41
- package/dist/src/components/year-picker/YearPicker.vue.d.ts +0 -13
- package/dist/src/components/year-picker/index.d.ts +0 -3
- package/dist/src/components/year-picker/props.d.ts +0 -19
- package/dist/src/components/year-picker/variants.d.ts +0 -27
- package/dist/src/components.d.ts +0 -1
- package/dist/src/composables/use-confirm.d.ts +0 -1
- package/dist/src/composables/use-loading.d.ts +0 -6
- package/dist/src/composables/use-locale.d.ts +0 -6
- package/dist/src/composables/use-theme.d.ts +0 -9
- package/dist/src/composables/use-toast.d.ts +0 -1
- package/dist/src/engines/defaults.d.ts +0 -6
- package/dist/src/engines/index.d.ts +0 -2
- package/dist/src/engines/visibility.d.ts +0 -3
- package/dist/src/engines.d.ts +0 -1
- package/dist/src/index.d.ts +0 -15
- package/dist/src/locales/en-US.d.ts +0 -13
- package/dist/src/locales/zh-CN.d.ts +0 -13
- package/dist/src/plugin/context.d.ts +0 -32
- package/dist/src/plugin/index.d.ts +0 -3
- package/dist/src/plugin.d.ts +0 -7
- package/dist/src/schemas/action.d.ts +0 -18
- package/dist/src/schemas/field.d.ts +0 -60
- package/dist/src/schemas/index.d.ts +0 -3
- package/dist/src/schemas/page.d.ts +0 -56
- package/dist/src/schemas.d.ts +0 -1
- package/dist/src/services/confirm/ConfirmDialog.vue.d.ts +0 -13
- package/dist/src/services/confirm/index.d.ts +0 -2
- package/dist/src/services/confirm/service.d.ts +0 -4
- package/dist/src/services/confirm/types.d.ts +0 -13
- package/dist/src/services/loading/LoadingOverlay.vue.d.ts +0 -9
- package/dist/src/services/loading/index.d.ts +0 -2
- package/dist/src/services/loading/service.d.ts +0 -10
- package/dist/src/services/loading/types.d.ts +0 -7
- package/dist/src/services/toast/ToastProviderHost.vue.d.ts +0 -2
- package/dist/src/services/toast/index.d.ts +0 -2
- package/dist/src/services/toast/service.d.ts +0 -6
- package/dist/src/services/toast/store.d.ts +0 -8
- package/dist/src/services/toast/types.d.ts +0 -22
- package/dist/src/utils/cn.d.ts +0 -2
- package/dist/src/utils/date.d.ts +0 -40
- package/dist/steps.cjs +0 -1
- package/dist/steps.js +0 -13
- package/dist/style.css +0 -1
- package/dist/switch.cjs +0 -1
- package/dist/switch.js +0 -8
- package/dist/table.cjs +0 -1
- package/dist/table.js +0 -15
- package/dist/tabs.cjs +0 -1
- package/dist/tabs.js +0 -10
- package/dist/text.cjs +0 -1
- package/dist/text.js +0 -7
- package/dist/textarea.cjs +0 -1
- package/dist/textarea.js +0 -7
- package/dist/time-picker.cjs +0 -1
- package/dist/time-picker.js +0 -18
- package/dist/time-range-picker.cjs +0 -1
- package/dist/time-range-picker.js +0 -24
- package/dist/toast.cjs +0 -1
- package/dist/toast.js +0 -12
- package/dist/toggle-group.cjs +0 -1
- package/dist/toggle-group.js +0 -8
- package/dist/toggle.cjs +0 -1
- package/dist/toggle.js +0 -5
- package/dist/tooltip.cjs +0 -1
- package/dist/tooltip.js +0 -7
- package/dist/upload.cjs +0 -1
- package/dist/upload.js +0 -41
- package/dist/use-toast-CVNjgE9a.js +0 -657
- package/dist/use-toast-Cj_Ukd84.cjs +0 -1
- package/dist/utils-C0vnPoY0.js +0 -60
- package/dist/utils-UI2zegLo.cjs +0 -1
- package/dist/variants-Brr3yHhf.cjs +0 -1
- package/dist/variants-BwUifyts.cjs +0 -1
- package/dist/variants-CX5PAVtU.cjs +0 -1
- package/dist/variants-Dw8sMIE2.js +0 -5
- package/dist/variants-L_ACzsUn.js +0 -19
- package/dist/variants-O5HI2qRP.js +0 -32
- package/dist/vite.config.d.ts +0 -2
- package/dist/week-picker.cjs +0 -1
- package/dist/week-picker.js +0 -22
- package/dist/year-picker.cjs +0 -1
- package/dist/year-picker.js +0 -15
|
@@ -1,576 +0,0 @@
|
|
|
1
|
-
import { defineComponent as qe, ref as _, computed as s, watch as q, openBlock as i, createBlock as D, unref as d, mergeProps as We, withCtx as m, createVNode as v, createElementVNode as l, normalizeClass as a, toDisplayString as f, createElementBlock as u, Fragment as p, renderList as h, createTextVNode as Ke, createCommentVNode as W } from "vue";
|
|
2
|
-
import { CalendarRange as Je, ChevronLeft as Qe, ChevronRight as Xe } from "@lucide/vue";
|
|
3
|
-
import { DateRangePickerRoot as Ye, DateRangePickerTrigger as Ze, DateRangePickerContent as ea, DateRangePickerCalendar as aa, DateRangePickerHeader as ta, DateRangePickerPrev as sa, DateRangePickerHeading as la, DateRangePickerNext as na, RangeCalendarGrid as oa, RangeCalendarGridHead as ra, RangeCalendarGridRow as ue, RangeCalendarHeadCell as ia, RangeCalendarGridBody as da, RangeCalendarCell as ua, RangeCalendarCellTrigger as ca } from "reka-ui";
|
|
4
|
-
import { b as O } from "./variants-O5HI2qRP.js";
|
|
5
|
-
import { h as k, q as ce, i as ma, p as va, d as E, b as H, j as me, s as ve, o as N, t as ga, a as ge } from "./date-BJhpbnm4.js";
|
|
6
|
-
import { i as fa } from "./variants-L_ACzsUn.js";
|
|
7
|
-
import { c as w } from "./cn-B6yFEsav.js";
|
|
8
|
-
import { cva as o } from "class-variance-authority";
|
|
9
|
-
const pa = o(
|
|
10
|
-
"w-full justify-between px-3 font-normal shadow-none"
|
|
11
|
-
), ha = o("", {
|
|
12
|
-
variants: {
|
|
13
|
-
placeholder: {
|
|
14
|
-
true: "text-muted-foreground",
|
|
15
|
-
false: "text-foreground"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
defaultVariants: {
|
|
19
|
-
placeholder: !1
|
|
20
|
-
}
|
|
21
|
-
}), Ca = o("size-4 text-muted-foreground"), Ta = o(
|
|
22
|
-
"bg-popover text-popover-foreground z-50 w-auto max-w-[calc(100vw-1rem)] rounded-md border p-3 shadow-md outline-none data-[state=open]:animate-fade-in-scale sm:min-w-[42rem]"
|
|
23
|
-
), Va = o("space-y-4"), ba = o("flex items-center justify-between gap-2"), Sa = o("h-8 w-8 shadow-none"), ka = o("size-4"), wa = o("text-sm font-semibold text-foreground"), Ra = o("grid gap-4", {
|
|
24
|
-
variants: {
|
|
25
|
-
multiple: {
|
|
26
|
-
true: "lg:grid-cols-2",
|
|
27
|
-
false: ""
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
defaultVariants: {
|
|
31
|
-
multiple: !1
|
|
32
|
-
}
|
|
33
|
-
}), ya = o("space-y-2"), Pa = o("grid grid-cols-7 gap-1"), xa = o(
|
|
34
|
-
"text-muted-foreground flex h-8 items-center justify-center text-xs font-medium"
|
|
35
|
-
), Na = o("space-y-1"), _a = o("size-8"), Da = o(
|
|
36
|
-
"data-[selection-start=true]:bg-primary data-[selection-start=true]:text-primary-foreground data-[selection-end=true]:bg-primary data-[selection-end=true]:text-primary-foreground data-[highlighted]:bg-accent/70 data-[selected=true]:bg-primary/90 data-[selected=true]:text-primary-foreground data-[today]:border-primary/60 data-[today]:text-primary data-[outside-view]:text-muted-foreground/50 data-[outside-view]:opacity-60 data-[unavailable]:line-through data-[disabled]:text-muted-foreground/40 data-[disabled]:opacity-50 hover:bg-accent hover:text-accent-foreground focus-visible:ring-ring/50 inline-flex size-8 items-center justify-center rounded-md border border-transparent text-sm outline-none transition-colors focus-visible:ring-2"
|
|
37
|
-
), za = o("border-t border-border pt-4"), Ba = o(
|
|
38
|
-
"mb-3 flex items-center justify-between gap-3"
|
|
39
|
-
), Oa = o(
|
|
40
|
-
"text-xs font-medium text-muted-foreground"
|
|
41
|
-
), Ea = o("text-xs text-destructive"), Ha = o("grid gap-4 md:grid-cols-2"), Ma = o(
|
|
42
|
-
"space-y-3 rounded-md border border-border bg-muted/10 p-3"
|
|
43
|
-
), ja = o("space-y-1"), Ga = o("text-sm font-medium text-foreground"), La = o("text-xs text-muted-foreground"), Aa = o("grid gap-3", {
|
|
44
|
-
variants: {
|
|
45
|
-
seconds: {
|
|
46
|
-
true: "grid-cols-3",
|
|
47
|
-
false: "grid-cols-2"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
defaultVariants: {
|
|
51
|
-
seconds: !1
|
|
52
|
-
}
|
|
53
|
-
}), Fa = o("space-y-1"), Ia = o("text-xs text-muted-foreground"), $a = o(
|
|
54
|
-
"h-8 appearance-none px-2 py-0 text-sm shadow-none"
|
|
55
|
-
), Ua = o(
|
|
56
|
-
"mt-4 flex items-center justify-between gap-2"
|
|
57
|
-
), qa = o("shadow-none"), Wa = ["disabled"], Ka = ["value"], Ja = ["value"], Qa = ["value"], Xa = ["value"], Ya = ["value"], Za = ["value"], et = ["value"], at = ["value"], tt = ["value"], st = ["value"], lt = ["value"], nt = ["value"], ot = ["disabled"], ft = /* @__PURE__ */ qe({
|
|
58
|
-
name: "KpDateTimeRangePicker",
|
|
59
|
-
__name: "DateTimeRangePicker",
|
|
60
|
-
props: {
|
|
61
|
-
class: {},
|
|
62
|
-
triggerClass: {},
|
|
63
|
-
contentClass: {},
|
|
64
|
-
calendarClass: {},
|
|
65
|
-
locale: { default: "zh-CN" },
|
|
66
|
-
disabled: { type: Boolean, default: !1 },
|
|
67
|
-
placeholder: { default: "选择日期时间区间" },
|
|
68
|
-
modelValue: {},
|
|
69
|
-
open: { type: Boolean },
|
|
70
|
-
defaultOpen: { type: Boolean },
|
|
71
|
-
minValue: {},
|
|
72
|
-
maxValue: {},
|
|
73
|
-
size: { default: "default" },
|
|
74
|
-
numberOfMonths: { default: 2 },
|
|
75
|
-
minuteStep: { default: 5 },
|
|
76
|
-
secondStep: { default: 5 },
|
|
77
|
-
defaultStartTime: { default: "00:00" },
|
|
78
|
-
defaultEndTime: { default: "23:59" },
|
|
79
|
-
showSeconds: { type: Boolean, default: !1 },
|
|
80
|
-
isDateDisabled: {}
|
|
81
|
-
},
|
|
82
|
-
emits: ["update:modelValue", "update:open"],
|
|
83
|
-
setup(fe, { emit: pe }) {
|
|
84
|
-
const e = fe, M = pe, j = _(e.defaultOpen ?? !1), C = _(), T = _(), V = _(k(e.showSeconds)), b = _(k(e.showSeconds)), he = s(() => de(e.minuteStep)), Ce = s(() => de(e.secondStep));
|
|
85
|
-
q(
|
|
86
|
-
() => e.open,
|
|
87
|
-
(r) => {
|
|
88
|
-
r !== void 0 && (j.value = r);
|
|
89
|
-
},
|
|
90
|
-
{ immediate: !0 }
|
|
91
|
-
);
|
|
92
|
-
const K = s(() => e.open ?? j.value), J = () => {
|
|
93
|
-
var g, c;
|
|
94
|
-
const r = ve((g = e.modelValue) == null ? void 0 : g.start, e.showSeconds), n = ve((c = e.modelValue) == null ? void 0 : c.end, e.showSeconds);
|
|
95
|
-
C.value = r.date, T.value = n.date, V.value = r.time ?? N(e.defaultStartTime, e.showSeconds) ?? k(e.showSeconds), b.value = n.time ?? N(e.defaultEndTime, e.showSeconds) ?? k(e.showSeconds);
|
|
96
|
-
};
|
|
97
|
-
q(
|
|
98
|
-
() => {
|
|
99
|
-
var r, n;
|
|
100
|
-
return [
|
|
101
|
-
(r = e.modelValue) == null ? void 0 : r.start,
|
|
102
|
-
(n = e.modelValue) == null ? void 0 : n.end,
|
|
103
|
-
e.showSeconds,
|
|
104
|
-
e.defaultStartTime,
|
|
105
|
-
e.defaultEndTime
|
|
106
|
-
];
|
|
107
|
-
},
|
|
108
|
-
J,
|
|
109
|
-
{ immediate: !0 }
|
|
110
|
-
), q(K, (r) => {
|
|
111
|
-
r && J();
|
|
112
|
-
});
|
|
113
|
-
const Te = s(() => ({
|
|
114
|
-
open: K.value,
|
|
115
|
-
modelValue: va({
|
|
116
|
-
start: C.value,
|
|
117
|
-
end: T.value
|
|
118
|
-
}),
|
|
119
|
-
placeholder: ma(
|
|
120
|
-
C.value ?? T.value,
|
|
121
|
-
C.value ?? T.value
|
|
122
|
-
),
|
|
123
|
-
locale: e.locale,
|
|
124
|
-
disabled: e.disabled,
|
|
125
|
-
minValue: ce(e.minValue),
|
|
126
|
-
maxValue: ce(e.maxValue),
|
|
127
|
-
isDateDisabled: e.isDateDisabled,
|
|
128
|
-
fixedWeeks: !0,
|
|
129
|
-
numberOfMonths: e.numberOfMonths
|
|
130
|
-
})), G = s(() => {
|
|
131
|
-
var g, c, t, S;
|
|
132
|
-
if (!((g = e.modelValue) != null && g.start) && !((c = e.modelValue) != null && c.end))
|
|
133
|
-
return "";
|
|
134
|
-
const r = E((t = e.modelValue) == null ? void 0 : t.start, e.locale, e.showSeconds), n = E((S = e.modelValue) == null ? void 0 : S.end, e.locale, e.showSeconds);
|
|
135
|
-
return r && n ? `${r} - ${n}` : r || n;
|
|
136
|
-
}), Ve = s(
|
|
137
|
-
() => E(
|
|
138
|
-
H(C.value, V.value, e.showSeconds),
|
|
139
|
-
e.locale,
|
|
140
|
-
e.showSeconds
|
|
141
|
-
)
|
|
142
|
-
), be = s(
|
|
143
|
-
() => E(
|
|
144
|
-
H(T.value, b.value, e.showSeconds),
|
|
145
|
-
e.locale,
|
|
146
|
-
e.showSeconds
|
|
147
|
-
)
|
|
148
|
-
), Se = s(
|
|
149
|
-
() => w(
|
|
150
|
-
O({ variant: "outline", size: e.size }),
|
|
151
|
-
pa(),
|
|
152
|
-
!G.value && "text-muted-foreground",
|
|
153
|
-
e.triggerClass,
|
|
154
|
-
e.class
|
|
155
|
-
)
|
|
156
|
-
), ke = s(
|
|
157
|
-
() => ha({
|
|
158
|
-
placeholder: !G.value
|
|
159
|
-
})
|
|
160
|
-
), we = s(() => Ca()), Re = s(
|
|
161
|
-
() => w(Ta(), e.contentClass)
|
|
162
|
-
), ye = s(
|
|
163
|
-
() => w(Va(), e.calendarClass)
|
|
164
|
-
), Pe = s(() => ba()), xe = s(() => wa()), Q = w(
|
|
165
|
-
O({ variant: "outline", size: "icon-sm" }),
|
|
166
|
-
Sa()
|
|
167
|
-
), X = s(() => ka()), Ne = s(
|
|
168
|
-
() => Ra({
|
|
169
|
-
multiple: e.numberOfMonths > 1
|
|
170
|
-
})
|
|
171
|
-
), _e = s(() => ya()), Y = s(() => Pa()), De = s(() => xa()), ze = s(() => Na()), Be = s(() => _a()), Oe = s(() => Da()), Ee = s(() => za()), He = s(() => Ba()), Me = s(() => Oa()), je = s(() => Ea()), Ge = s(() => Ha()), Z = s(() => Ma()), ee = s(() => ja()), ae = s(() => Ga()), te = s(() => La()), se = s(
|
|
172
|
-
() => Aa({
|
|
173
|
-
seconds: e.showSeconds
|
|
174
|
-
})
|
|
175
|
-
), R = s(() => Fa()), y = s(() => Ia()), P = s(
|
|
176
|
-
() => w(fa({ size: "sm" }), $a())
|
|
177
|
-
), Le = w(
|
|
178
|
-
O({ variant: "outline", size: "sm" }),
|
|
179
|
-
qa()
|
|
180
|
-
), Ae = w(O({ variant: "default", size: "sm" })), Fe = s(() => Ua()), le = s(() => F(0, 23, 1)), ne = s(() => F(0, 59, he.value)), oe = s(() => F(0, 59, Ce.value)), z = s(() => me(V.value, e.showSeconds)), B = s(() => me(b.value, e.showSeconds)), L = s(
|
|
181
|
-
() => H(C.value, V.value, e.showSeconds)
|
|
182
|
-
), A = s(
|
|
183
|
-
() => H(T.value, b.value, e.showSeconds)
|
|
184
|
-
), re = s(
|
|
185
|
-
() => !!(L.value && A.value && L.value > A.value)
|
|
186
|
-
), ie = s(
|
|
187
|
-
() => !C.value || !T.value || re.value
|
|
188
|
-
);
|
|
189
|
-
function F(r, n, g) {
|
|
190
|
-
const c = Array.from(
|
|
191
|
-
{ length: Math.floor((n - r) / g) + 1 },
|
|
192
|
-
(S, $) => String(r + $ * g).padStart(2, "0")
|
|
193
|
-
), t = String(n).padStart(2, "0");
|
|
194
|
-
return c.includes(t) || c.push(t), c;
|
|
195
|
-
}
|
|
196
|
-
function de(r) {
|
|
197
|
-
return !Number.isFinite(r) || r <= 0 || r > 59 ? 1 : Math.max(1, Math.floor(r));
|
|
198
|
-
}
|
|
199
|
-
const Ie = (r) => {
|
|
200
|
-
const n = ga(r);
|
|
201
|
-
C.value = n == null ? void 0 : n.start, T.value = n == null ? void 0 : n.end, V.value || (V.value = N(e.defaultStartTime, e.showSeconds) ?? k(e.showSeconds)), b.value || (b.value = N(e.defaultEndTime, e.showSeconds) ?? k(e.showSeconds));
|
|
202
|
-
}, x = (r, n, g) => {
|
|
203
|
-
var t;
|
|
204
|
-
const c = (t = g.target) == null ? void 0 : t.value;
|
|
205
|
-
if (r === "start") {
|
|
206
|
-
V.value = ge(
|
|
207
|
-
{
|
|
208
|
-
...z.value,
|
|
209
|
-
[n]: c
|
|
210
|
-
},
|
|
211
|
-
e.showSeconds
|
|
212
|
-
);
|
|
213
|
-
return;
|
|
214
|
-
}
|
|
215
|
-
b.value = ge(
|
|
216
|
-
{
|
|
217
|
-
...B.value,
|
|
218
|
-
[n]: c
|
|
219
|
-
},
|
|
220
|
-
e.showSeconds
|
|
221
|
-
);
|
|
222
|
-
}, $e = () => {
|
|
223
|
-
C.value = void 0, T.value = void 0, V.value = N(e.defaultStartTime, e.showSeconds) ?? k(e.showSeconds), b.value = N(e.defaultEndTime, e.showSeconds) ?? k(e.showSeconds), M("update:modelValue", void 0), I(!1);
|
|
224
|
-
}, Ue = () => {
|
|
225
|
-
ie.value || (M("update:modelValue", {
|
|
226
|
-
start: L.value,
|
|
227
|
-
end: A.value
|
|
228
|
-
}), I(!1));
|
|
229
|
-
}, I = (r) => {
|
|
230
|
-
e.open === void 0 && (j.value = r), M("update:open", r);
|
|
231
|
-
};
|
|
232
|
-
return (r, n) => (i(), D(d(Ye), We(Te.value, {
|
|
233
|
-
"onUpdate:modelValue": Ie,
|
|
234
|
-
"onUpdate:open": I
|
|
235
|
-
}), {
|
|
236
|
-
default: m(() => [
|
|
237
|
-
v(d(Ze), { "as-child": "" }, {
|
|
238
|
-
default: m(() => [
|
|
239
|
-
l("button", {
|
|
240
|
-
type: "button",
|
|
241
|
-
disabled: e.disabled,
|
|
242
|
-
class: a(Se.value)
|
|
243
|
-
}, [
|
|
244
|
-
l("span", {
|
|
245
|
-
class: a(ke.value)
|
|
246
|
-
}, f(G.value || e.placeholder), 3),
|
|
247
|
-
v(d(Je), {
|
|
248
|
-
class: a(we.value)
|
|
249
|
-
}, null, 8, ["class"])
|
|
250
|
-
], 10, Wa)
|
|
251
|
-
]),
|
|
252
|
-
_: 1
|
|
253
|
-
}),
|
|
254
|
-
v(d(ea), {
|
|
255
|
-
align: "start",
|
|
256
|
-
"side-offset": 6,
|
|
257
|
-
class: a(Re.value)
|
|
258
|
-
}, {
|
|
259
|
-
default: m(() => [
|
|
260
|
-
v(d(aa), null, {
|
|
261
|
-
default: m(({ grid: g, weekDays: c }) => [
|
|
262
|
-
l("div", {
|
|
263
|
-
class: a(ye.value)
|
|
264
|
-
}, [
|
|
265
|
-
v(d(ta), {
|
|
266
|
-
class: a(Pe.value)
|
|
267
|
-
}, {
|
|
268
|
-
default: m(() => [
|
|
269
|
-
v(d(sa), {
|
|
270
|
-
class: a(d(Q))
|
|
271
|
-
}, {
|
|
272
|
-
default: m(() => [
|
|
273
|
-
v(d(Qe), {
|
|
274
|
-
class: a(X.value)
|
|
275
|
-
}, null, 8, ["class"])
|
|
276
|
-
]),
|
|
277
|
-
_: 1
|
|
278
|
-
}, 8, ["class"]),
|
|
279
|
-
v(d(la), {
|
|
280
|
-
class: a(xe.value)
|
|
281
|
-
}, null, 8, ["class"]),
|
|
282
|
-
v(d(na), {
|
|
283
|
-
class: a(d(Q))
|
|
284
|
-
}, {
|
|
285
|
-
default: m(() => [
|
|
286
|
-
v(d(Xe), {
|
|
287
|
-
class: a(X.value)
|
|
288
|
-
}, null, 8, ["class"])
|
|
289
|
-
]),
|
|
290
|
-
_: 1
|
|
291
|
-
}, 8, ["class"])
|
|
292
|
-
]),
|
|
293
|
-
_: 1
|
|
294
|
-
}, 8, ["class"]),
|
|
295
|
-
l("div", {
|
|
296
|
-
class: a(Ne.value)
|
|
297
|
-
}, [
|
|
298
|
-
(i(!0), u(p, null, h(g, (t) => (i(), D(d(oa), {
|
|
299
|
-
key: t.value.toString(),
|
|
300
|
-
class: a(_e.value)
|
|
301
|
-
}, {
|
|
302
|
-
default: m(() => [
|
|
303
|
-
v(d(ra), null, {
|
|
304
|
-
default: m(() => [
|
|
305
|
-
v(d(ue), {
|
|
306
|
-
class: a(Y.value)
|
|
307
|
-
}, {
|
|
308
|
-
default: m(() => [
|
|
309
|
-
(i(!0), u(p, null, h(c, (S) => (i(), D(d(ia), {
|
|
310
|
-
key: S,
|
|
311
|
-
class: a(De.value)
|
|
312
|
-
}, {
|
|
313
|
-
default: m(() => [
|
|
314
|
-
Ke(f(S), 1)
|
|
315
|
-
]),
|
|
316
|
-
_: 2
|
|
317
|
-
}, 1032, ["class"]))), 128))
|
|
318
|
-
]),
|
|
319
|
-
_: 2
|
|
320
|
-
}, 1032, ["class"])
|
|
321
|
-
]),
|
|
322
|
-
_: 2
|
|
323
|
-
}, 1024),
|
|
324
|
-
v(d(da), {
|
|
325
|
-
class: a(ze.value)
|
|
326
|
-
}, {
|
|
327
|
-
default: m(() => [
|
|
328
|
-
(i(!0), u(p, null, h(t.rows, (S, $) => (i(), D(d(ue), {
|
|
329
|
-
key: `${t.value.toString()}-${$}`,
|
|
330
|
-
class: a(Y.value)
|
|
331
|
-
}, {
|
|
332
|
-
default: m(() => [
|
|
333
|
-
(i(!0), u(p, null, h(S, (U) => (i(), D(d(ua), {
|
|
334
|
-
key: U.toString(),
|
|
335
|
-
date: U,
|
|
336
|
-
class: a(Be.value)
|
|
337
|
-
}, {
|
|
338
|
-
default: m(() => [
|
|
339
|
-
v(d(ca), {
|
|
340
|
-
day: U,
|
|
341
|
-
month: t.value,
|
|
342
|
-
class: a(Oe.value)
|
|
343
|
-
}, null, 8, ["day", "month", "class"])
|
|
344
|
-
]),
|
|
345
|
-
_: 2
|
|
346
|
-
}, 1032, ["date", "class"]))), 128))
|
|
347
|
-
]),
|
|
348
|
-
_: 2
|
|
349
|
-
}, 1032, ["class"]))), 128))
|
|
350
|
-
]),
|
|
351
|
-
_: 2
|
|
352
|
-
}, 1032, ["class"])
|
|
353
|
-
]),
|
|
354
|
-
_: 2
|
|
355
|
-
}, 1032, ["class"]))), 128))
|
|
356
|
-
], 2),
|
|
357
|
-
l("div", {
|
|
358
|
-
class: a(Ee.value)
|
|
359
|
-
}, [
|
|
360
|
-
l("div", {
|
|
361
|
-
class: a(He.value)
|
|
362
|
-
}, [
|
|
363
|
-
l("p", {
|
|
364
|
-
class: a(Me.value)
|
|
365
|
-
}, "设置时间区间", 2),
|
|
366
|
-
re.value ? (i(), u("p", {
|
|
367
|
-
key: 0,
|
|
368
|
-
class: a(je.value)
|
|
369
|
-
}, "结束时间不能早于开始时间", 2)) : W("", !0)
|
|
370
|
-
], 2),
|
|
371
|
-
l("div", {
|
|
372
|
-
class: a(Ge.value)
|
|
373
|
-
}, [
|
|
374
|
-
l("section", {
|
|
375
|
-
class: a(Z.value)
|
|
376
|
-
}, [
|
|
377
|
-
l("div", {
|
|
378
|
-
class: a(ee.value)
|
|
379
|
-
}, [
|
|
380
|
-
l("p", {
|
|
381
|
-
class: a(ae.value)
|
|
382
|
-
}, "开始时间", 2),
|
|
383
|
-
l("p", {
|
|
384
|
-
class: a(te.value)
|
|
385
|
-
}, f(Ve.value || "请选择开始日期"), 3)
|
|
386
|
-
], 2),
|
|
387
|
-
l("div", {
|
|
388
|
-
class: a(se.value)
|
|
389
|
-
}, [
|
|
390
|
-
l("label", {
|
|
391
|
-
class: a(R.value)
|
|
392
|
-
}, [
|
|
393
|
-
l("span", {
|
|
394
|
-
class: a(y.value)
|
|
395
|
-
}, "时", 2),
|
|
396
|
-
l("select", {
|
|
397
|
-
value: z.value.hour,
|
|
398
|
-
class: a(P.value),
|
|
399
|
-
onChange: n[0] || (n[0] = (t) => x("start", "hour", t))
|
|
400
|
-
}, [
|
|
401
|
-
(i(!0), u(p, null, h(le.value, (t) => (i(), u("option", {
|
|
402
|
-
key: t,
|
|
403
|
-
value: t
|
|
404
|
-
}, f(t), 9, Ja))), 128))
|
|
405
|
-
], 42, Ka)
|
|
406
|
-
], 2),
|
|
407
|
-
l("label", {
|
|
408
|
-
class: a(R.value)
|
|
409
|
-
}, [
|
|
410
|
-
l("span", {
|
|
411
|
-
class: a(y.value)
|
|
412
|
-
}, "分", 2),
|
|
413
|
-
l("select", {
|
|
414
|
-
value: z.value.minute,
|
|
415
|
-
class: a(P.value),
|
|
416
|
-
onChange: n[1] || (n[1] = (t) => x("start", "minute", t))
|
|
417
|
-
}, [
|
|
418
|
-
(i(!0), u(p, null, h(ne.value, (t) => (i(), u("option", {
|
|
419
|
-
key: t,
|
|
420
|
-
value: t
|
|
421
|
-
}, f(t), 9, Xa))), 128))
|
|
422
|
-
], 42, Qa)
|
|
423
|
-
], 2),
|
|
424
|
-
e.showSeconds ? (i(), u("label", {
|
|
425
|
-
key: 0,
|
|
426
|
-
class: a(R.value)
|
|
427
|
-
}, [
|
|
428
|
-
l("span", {
|
|
429
|
-
class: a(y.value)
|
|
430
|
-
}, "秒", 2),
|
|
431
|
-
l("select", {
|
|
432
|
-
value: z.value.second,
|
|
433
|
-
class: a(P.value),
|
|
434
|
-
onChange: n[2] || (n[2] = (t) => x("start", "second", t))
|
|
435
|
-
}, [
|
|
436
|
-
(i(!0), u(p, null, h(oe.value, (t) => (i(), u("option", {
|
|
437
|
-
key: t,
|
|
438
|
-
value: t
|
|
439
|
-
}, f(t), 9, Za))), 128))
|
|
440
|
-
], 42, Ya)
|
|
441
|
-
], 2)) : W("", !0)
|
|
442
|
-
], 2)
|
|
443
|
-
], 2),
|
|
444
|
-
l("section", {
|
|
445
|
-
class: a(Z.value)
|
|
446
|
-
}, [
|
|
447
|
-
l("div", {
|
|
448
|
-
class: a(ee.value)
|
|
449
|
-
}, [
|
|
450
|
-
l("p", {
|
|
451
|
-
class: a(ae.value)
|
|
452
|
-
}, "结束时间", 2),
|
|
453
|
-
l("p", {
|
|
454
|
-
class: a(te.value)
|
|
455
|
-
}, f(be.value || "请选择结束日期"), 3)
|
|
456
|
-
], 2),
|
|
457
|
-
l("div", {
|
|
458
|
-
class: a(se.value)
|
|
459
|
-
}, [
|
|
460
|
-
l("label", {
|
|
461
|
-
class: a(R.value)
|
|
462
|
-
}, [
|
|
463
|
-
l("span", {
|
|
464
|
-
class: a(y.value)
|
|
465
|
-
}, "时", 2),
|
|
466
|
-
l("select", {
|
|
467
|
-
value: B.value.hour,
|
|
468
|
-
class: a(P.value),
|
|
469
|
-
onChange: n[3] || (n[3] = (t) => x("end", "hour", t))
|
|
470
|
-
}, [
|
|
471
|
-
(i(!0), u(p, null, h(le.value, (t) => (i(), u("option", {
|
|
472
|
-
key: t,
|
|
473
|
-
value: t
|
|
474
|
-
}, f(t), 9, at))), 128))
|
|
475
|
-
], 42, et)
|
|
476
|
-
], 2),
|
|
477
|
-
l("label", {
|
|
478
|
-
class: a(R.value)
|
|
479
|
-
}, [
|
|
480
|
-
l("span", {
|
|
481
|
-
class: a(y.value)
|
|
482
|
-
}, "分", 2),
|
|
483
|
-
l("select", {
|
|
484
|
-
value: B.value.minute,
|
|
485
|
-
class: a(P.value),
|
|
486
|
-
onChange: n[4] || (n[4] = (t) => x("end", "minute", t))
|
|
487
|
-
}, [
|
|
488
|
-
(i(!0), u(p, null, h(ne.value, (t) => (i(), u("option", {
|
|
489
|
-
key: t,
|
|
490
|
-
value: t
|
|
491
|
-
}, f(t), 9, st))), 128))
|
|
492
|
-
], 42, tt)
|
|
493
|
-
], 2),
|
|
494
|
-
e.showSeconds ? (i(), u("label", {
|
|
495
|
-
key: 0,
|
|
496
|
-
class: a(R.value)
|
|
497
|
-
}, [
|
|
498
|
-
l("span", {
|
|
499
|
-
class: a(y.value)
|
|
500
|
-
}, "秒", 2),
|
|
501
|
-
l("select", {
|
|
502
|
-
value: B.value.second,
|
|
503
|
-
class: a(P.value),
|
|
504
|
-
onChange: n[5] || (n[5] = (t) => x("end", "second", t))
|
|
505
|
-
}, [
|
|
506
|
-
(i(!0), u(p, null, h(oe.value, (t) => (i(), u("option", {
|
|
507
|
-
key: t,
|
|
508
|
-
value: t
|
|
509
|
-
}, f(t), 9, nt))), 128))
|
|
510
|
-
], 42, lt)
|
|
511
|
-
], 2)) : W("", !0)
|
|
512
|
-
], 2)
|
|
513
|
-
], 2)
|
|
514
|
-
], 2),
|
|
515
|
-
l("div", {
|
|
516
|
-
class: a(Fe.value)
|
|
517
|
-
}, [
|
|
518
|
-
l("button", {
|
|
519
|
-
type: "button",
|
|
520
|
-
class: a(d(Le)),
|
|
521
|
-
onClick: $e
|
|
522
|
-
}, " 清空 ", 2),
|
|
523
|
-
l("button", {
|
|
524
|
-
type: "button",
|
|
525
|
-
class: a(d(Ae)),
|
|
526
|
-
disabled: ie.value,
|
|
527
|
-
onClick: Ue
|
|
528
|
-
}, " 确认 ", 10, ot)
|
|
529
|
-
], 2)
|
|
530
|
-
], 2)
|
|
531
|
-
], 2)
|
|
532
|
-
]),
|
|
533
|
-
_: 1
|
|
534
|
-
})
|
|
535
|
-
]),
|
|
536
|
-
_: 1
|
|
537
|
-
}, 8, ["class"])
|
|
538
|
-
]),
|
|
539
|
-
_: 1
|
|
540
|
-
}, 16));
|
|
541
|
-
}
|
|
542
|
-
});
|
|
543
|
-
export {
|
|
544
|
-
$a as A,
|
|
545
|
-
Oa as B,
|
|
546
|
-
Ca as C,
|
|
547
|
-
pa as D,
|
|
548
|
-
Pa as E,
|
|
549
|
-
ft as _,
|
|
550
|
-
Va as a,
|
|
551
|
-
Da as b,
|
|
552
|
-
_a as c,
|
|
553
|
-
Ua as d,
|
|
554
|
-
Ta as e,
|
|
555
|
-
ha as f,
|
|
556
|
-
Ea as g,
|
|
557
|
-
Na as h,
|
|
558
|
-
ya as i,
|
|
559
|
-
xa as j,
|
|
560
|
-
ba as k,
|
|
561
|
-
wa as l,
|
|
562
|
-
Ra as m,
|
|
563
|
-
Sa as n,
|
|
564
|
-
ka as o,
|
|
565
|
-
qa as p,
|
|
566
|
-
ja as q,
|
|
567
|
-
Ga as r,
|
|
568
|
-
Ma as s,
|
|
569
|
-
Ha as t,
|
|
570
|
-
Fa as u,
|
|
571
|
-
Aa as v,
|
|
572
|
-
Ba as w,
|
|
573
|
-
Ia as x,
|
|
574
|
-
za as y,
|
|
575
|
-
La as z
|
|
576
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),B=require("@lucide/vue"),r=require("reka-ui"),R=require("./variants-Brr3yHhf.cjs"),l=require("./date-aqfSS7Zy.cjs"),na=require("./variants-CX5PAVtU.cjs"),p=require("./cn-IjLH3w2e.cjs"),s=require("class-variance-authority"),J=s.cva("w-full justify-between px-3 font-normal shadow-none"),Q=s.cva("",{variants:{placeholder:{true:"text-muted-foreground",false:"text-foreground"}},defaultVariants:{placeholder:!1}}),X=s.cva("size-4 text-muted-foreground"),Y=s.cva("bg-popover text-popover-foreground z-50 w-auto max-w-[calc(100vw-1rem)] rounded-md border p-3 shadow-md outline-none data-[state=open]:animate-fade-in-scale sm:min-w-[42rem]"),Z=s.cva("space-y-4"),ee=s.cva("flex items-center justify-between gap-2"),ae=s.cva("h-8 w-8 shadow-none"),te=s.cva("size-4"),ne=s.cva("text-sm font-semibold text-foreground"),le=s.cva("grid gap-4",{variants:{multiple:{true:"lg:grid-cols-2",false:""}},defaultVariants:{multiple:!1}}),se=s.cva("space-y-2"),oe=s.cva("grid grid-cols-7 gap-1"),re=s.cva("text-muted-foreground flex h-8 items-center justify-center text-xs font-medium"),ie=s.cva("space-y-1"),ce=s.cva("size-8"),de=s.cva("data-[selection-start=true]:bg-primary data-[selection-start=true]:text-primary-foreground data-[selection-end=true]:bg-primary data-[selection-end=true]:text-primary-foreground data-[highlighted]:bg-accent/70 data-[selected=true]:bg-primary/90 data-[selected=true]:text-primary-foreground data-[today]:border-primary/60 data-[today]:text-primary data-[outside-view]:text-muted-foreground/50 data-[outside-view]:opacity-60 data-[unavailable]:line-through data-[disabled]:text-muted-foreground/40 data-[disabled]:opacity-50 hover:bg-accent hover:text-accent-foreground focus-visible:ring-ring/50 inline-flex size-8 items-center justify-center rounded-md border border-transparent text-sm outline-none transition-colors focus-visible:ring-2"),ue=s.cva("border-t border-border pt-4"),me=s.cva("mb-3 flex items-center justify-between gap-3"),ve=s.cva("text-xs font-medium text-muted-foreground"),ge=s.cva("text-xs text-destructive"),pe=s.cva("grid gap-4 md:grid-cols-2"),Ve=s.cva("space-y-3 rounded-md border border-border bg-muted/10 p-3"),fe=s.cva("space-y-1"),Ce=s.cva("text-sm font-medium text-foreground"),Te=s.cva("text-xs text-muted-foreground"),ke=s.cva("grid gap-3",{variants:{seconds:{true:"grid-cols-3",false:"grid-cols-2"}},defaultVariants:{seconds:!1}}),he=s.cva("space-y-1"),Re=s.cva("text-xs text-muted-foreground"),Ne=s.cva("h-8 appearance-none px-2 py-0 text-sm shadow-none"),Pe=s.cva("mt-4 flex items-center justify-between gap-2"),we=s.cva("shadow-none"),la=["disabled"],sa=["value"],oa=["value"],ra=["value"],ia=["value"],ca=["value"],da=["value"],ua=["value"],ma=["value"],va=["value"],ga=["value"],pa=["value"],Va=["value"],fa=["disabled"],Ca=e.defineComponent({name:"KpDateTimeRangePicker",__name:"DateTimeRangePicker",props:{class:{},triggerClass:{},contentClass:{},calendarClass:{},locale:{default:"zh-CN"},disabled:{type:Boolean,default:!1},placeholder:{default:"选择日期时间区间"},modelValue:{},open:{type:Boolean},defaultOpen:{type:Boolean},minValue:{},maxValue:{},size:{default:"default"},numberOfMonths:{default:2},minuteStep:{default:5},secondStep:{default:5},defaultStartTime:{default:"00:00"},defaultEndTime:{default:"23:59"},showSeconds:{type:Boolean,default:!1},isDateDisabled:{}},emits:["update:modelValue","update:open"],setup(ze,{emit:be}){const a=ze,N=be,P=e.ref(a.defaultOpen??!1),d=e.ref(),u=e.ref(),m=e.ref(l.getDefaultTimeValue(a.showSeconds)),v=e.ref(l.getDefaultTimeValue(a.showSeconds)),Se=e.computed(()=>K(a.minuteStep)),ye=e.computed(()=>K(a.secondStep));e.watch(()=>a.open,o=>{o!==void 0&&(P.value=o)},{immediate:!0});const D=e.computed(()=>a.open??P.value),_=()=>{var c,i;const o=l.splitDateTimeValue((c=a.modelValue)==null?void 0:c.start,a.showSeconds),n=l.splitDateTimeValue((i=a.modelValue)==null?void 0:i.end,a.showSeconds);d.value=o.date,u.value=n.date,m.value=o.time??l.normalizeTimeValue(a.defaultStartTime,a.showSeconds)??l.getDefaultTimeValue(a.showSeconds),v.value=n.time??l.normalizeTimeValue(a.defaultEndTime,a.showSeconds)??l.getDefaultTimeValue(a.showSeconds)};e.watch(()=>{var o,n;return[(o=a.modelValue)==null?void 0:o.start,(n=a.modelValue)==null?void 0:n.end,a.showSeconds,a.defaultStartTime,a.defaultEndTime]},_,{immediate:!0}),e.watch(D,o=>{o&&_()});const Ee=e.computed(()=>({open:D.value,modelValue:l.parseDateRangeValue({start:d.value,end:u.value}),placeholder:l.getPlaceholderDateValue(d.value??u.value,d.value??u.value),locale:a.locale,disabled:a.disabled,minValue:l.parseDateValue(a.minValue),maxValue:l.parseDateValue(a.maxValue),isDateDisabled:a.isDateDisabled,fixedWeeks:!0,numberOfMonths:a.numberOfMonths})),w=e.computed(()=>{var c,i,t,g;if(!((c=a.modelValue)!=null&&c.start)&&!((i=a.modelValue)!=null&&i.end))return"";const o=l.formatDateTimeLabel((t=a.modelValue)==null?void 0:t.start,a.locale,a.showSeconds),n=l.formatDateTimeLabel((g=a.modelValue)==null?void 0:g.end,a.locale,a.showSeconds);return o&&n?`${o} - ${n}`:o||n}),xe=e.computed(()=>l.formatDateTimeLabel(l.buildDateTimeValue(d.value,m.value,a.showSeconds),a.locale,a.showSeconds)),Be=e.computed(()=>l.formatDateTimeLabel(l.buildDateTimeValue(u.value,v.value,a.showSeconds),a.locale,a.showSeconds)),De=e.computed(()=>p.cn(R.buttonVariants({variant:"outline",size:a.size}),J(),!w.value&&"text-muted-foreground",a.triggerClass,a.class)),_e=e.computed(()=>Q({placeholder:!w.value})),Le=e.computed(()=>X()),He=e.computed(()=>p.cn(Y(),a.contentClass)),Fe=e.computed(()=>p.cn(Z(),a.calendarClass)),Oe=e.computed(()=>ee()),Ge=e.computed(()=>ne()),L=p.cn(R.buttonVariants({variant:"outline",size:"icon-sm"}),ae()),H=e.computed(()=>te()),Me=e.computed(()=>le({multiple:a.numberOfMonths>1})),qe=e.computed(()=>se()),F=e.computed(()=>oe()),Ae=e.computed(()=>re()),Ie=e.computed(()=>ie()),je=e.computed(()=>ce()),$e=e.computed(()=>de()),Ue=e.computed(()=>ue()),We=e.computed(()=>me()),Ke=e.computed(()=>ve()),Je=e.computed(()=>ge()),Qe=e.computed(()=>pe()),O=e.computed(()=>Ve()),G=e.computed(()=>fe()),M=e.computed(()=>Ce()),q=e.computed(()=>Te()),A=e.computed(()=>ke({seconds:a.showSeconds})),V=e.computed(()=>he()),f=e.computed(()=>Re()),C=e.computed(()=>p.cn(na.inputVariants({size:"sm"}),Ne())),Xe=p.cn(R.buttonVariants({variant:"outline",size:"sm"}),we()),Ye=p.cn(R.buttonVariants({variant:"default",size:"sm"})),Ze=e.computed(()=>Pe()),I=e.computed(()=>S(0,23,1)),j=e.computed(()=>S(0,59,Se.value)),$=e.computed(()=>S(0,59,ye.value)),k=e.computed(()=>l.getTimeSegments(m.value,a.showSeconds)),h=e.computed(()=>l.getTimeSegments(v.value,a.showSeconds)),z=e.computed(()=>l.buildDateTimeValue(d.value,m.value,a.showSeconds)),b=e.computed(()=>l.buildDateTimeValue(u.value,v.value,a.showSeconds)),U=e.computed(()=>!!(z.value&&b.value&&z.value>b.value)),W=e.computed(()=>!d.value||!u.value||U.value);function S(o,n,c){const i=Array.from({length:Math.floor((n-o)/c)+1},(g,E)=>String(o+E*c).padStart(2,"0")),t=String(n).padStart(2,"0");return i.includes(t)||i.push(t),i}function K(o){return!Number.isFinite(o)||o<=0||o>59?1:Math.max(1,Math.floor(o))}const ea=o=>{const n=l.toModelDateRange(o);d.value=n==null?void 0:n.start,u.value=n==null?void 0:n.end,m.value||(m.value=l.normalizeTimeValue(a.defaultStartTime,a.showSeconds)??l.getDefaultTimeValue(a.showSeconds)),v.value||(v.value=l.normalizeTimeValue(a.defaultEndTime,a.showSeconds)??l.getDefaultTimeValue(a.showSeconds))},T=(o,n,c)=>{var t;const i=(t=c.target)==null?void 0:t.value;if(o==="start"){m.value=l.buildTimeValue({...k.value,[n]:i},a.showSeconds);return}v.value=l.buildTimeValue({...h.value,[n]:i},a.showSeconds)},aa=()=>{d.value=void 0,u.value=void 0,m.value=l.normalizeTimeValue(a.defaultStartTime,a.showSeconds)??l.getDefaultTimeValue(a.showSeconds),v.value=l.normalizeTimeValue(a.defaultEndTime,a.showSeconds)??l.getDefaultTimeValue(a.showSeconds),N("update:modelValue",void 0),y(!1)},ta=()=>{W.value||(N("update:modelValue",{start:z.value,end:b.value}),y(!1))},y=o=>{a.open===void 0&&(P.value=o),N("update:open",o)};return(o,n)=>(e.openBlock(),e.createBlock(e.unref(r.DateRangePickerRoot),e.mergeProps(Ee.value,{"onUpdate:modelValue":ea,"onUpdate:open":y}),{default:e.withCtx(()=>[e.createVNode(e.unref(r.DateRangePickerTrigger),{"as-child":""},{default:e.withCtx(()=>[e.createElementVNode("button",{type:"button",disabled:a.disabled,class:e.normalizeClass(De.value)},[e.createElementVNode("span",{class:e.normalizeClass(_e.value)},e.toDisplayString(w.value||a.placeholder),3),e.createVNode(e.unref(B.CalendarRange),{class:e.normalizeClass(Le.value)},null,8,["class"])],10,la)]),_:1}),e.createVNode(e.unref(r.DateRangePickerContent),{align:"start","side-offset":6,class:e.normalizeClass(He.value)},{default:e.withCtx(()=>[e.createVNode(e.unref(r.DateRangePickerCalendar),null,{default:e.withCtx(({grid:c,weekDays:i})=>[e.createElementVNode("div",{class:e.normalizeClass(Fe.value)},[e.createVNode(e.unref(r.DateRangePickerHeader),{class:e.normalizeClass(Oe.value)},{default:e.withCtx(()=>[e.createVNode(e.unref(r.DateRangePickerPrev),{class:e.normalizeClass(e.unref(L))},{default:e.withCtx(()=>[e.createVNode(e.unref(B.ChevronLeft),{class:e.normalizeClass(H.value)},null,8,["class"])]),_:1},8,["class"]),e.createVNode(e.unref(r.DateRangePickerHeading),{class:e.normalizeClass(Ge.value)},null,8,["class"]),e.createVNode(e.unref(r.DateRangePickerNext),{class:e.normalizeClass(e.unref(L))},{default:e.withCtx(()=>[e.createVNode(e.unref(B.ChevronRight),{class:e.normalizeClass(H.value)},null,8,["class"])]),_:1},8,["class"])]),_:1},8,["class"]),e.createElementVNode("div",{class:e.normalizeClass(Me.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c,t=>(e.openBlock(),e.createBlock(e.unref(r.RangeCalendarGrid),{key:t.value.toString(),class:e.normalizeClass(qe.value)},{default:e.withCtx(()=>[e.createVNode(e.unref(r.RangeCalendarGridHead),null,{default:e.withCtx(()=>[e.createVNode(e.unref(r.RangeCalendarGridRow),{class:e.normalizeClass(F.value)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i,g=>(e.openBlock(),e.createBlock(e.unref(r.RangeCalendarHeadCell),{key:g,class:e.normalizeClass(Ae.value)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g),1)]),_:2},1032,["class"]))),128))]),_:2},1032,["class"])]),_:2},1024),e.createVNode(e.unref(r.RangeCalendarGridBody),{class:e.normalizeClass(Ie.value)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.rows,(g,E)=>(e.openBlock(),e.createBlock(e.unref(r.RangeCalendarGridRow),{key:`${t.value.toString()}-${E}`,class:e.normalizeClass(F.value)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g,x=>(e.openBlock(),e.createBlock(e.unref(r.RangeCalendarCell),{key:x.toString(),date:x,class:e.normalizeClass(je.value)},{default:e.withCtx(()=>[e.createVNode(e.unref(r.RangeCalendarCellTrigger),{day:x,month:t.value,class:e.normalizeClass($e.value)},null,8,["day","month","class"])]),_:2},1032,["date","class"]))),128))]),_:2},1032,["class"]))),128))]),_:2},1032,["class"])]),_:2},1032,["class"]))),128))],2),e.createElementVNode("div",{class:e.normalizeClass(Ue.value)},[e.createElementVNode("div",{class:e.normalizeClass(We.value)},[e.createElementVNode("p",{class:e.normalizeClass(Ke.value)},"设置时间区间",2),U.value?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(Je.value)},"结束时间不能早于开始时间",2)):e.createCommentVNode("",!0)],2),e.createElementVNode("div",{class:e.normalizeClass(Qe.value)},[e.createElementVNode("section",{class:e.normalizeClass(O.value)},[e.createElementVNode("div",{class:e.normalizeClass(G.value)},[e.createElementVNode("p",{class:e.normalizeClass(M.value)},"开始时间",2),e.createElementVNode("p",{class:e.normalizeClass(q.value)},e.toDisplayString(xe.value||"请选择开始日期"),3)],2),e.createElementVNode("div",{class:e.normalizeClass(A.value)},[e.createElementVNode("label",{class:e.normalizeClass(V.value)},[e.createElementVNode("span",{class:e.normalizeClass(f.value)},"时",2),e.createElementVNode("select",{value:k.value.hour,class:e.normalizeClass(C.value),onChange:n[0]||(n[0]=t=>T("start","hour",t))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,t=>(e.openBlock(),e.createElementBlock("option",{key:t,value:t},e.toDisplayString(t),9,oa))),128))],42,sa)],2),e.createElementVNode("label",{class:e.normalizeClass(V.value)},[e.createElementVNode("span",{class:e.normalizeClass(f.value)},"分",2),e.createElementVNode("select",{value:k.value.minute,class:e.normalizeClass(C.value),onChange:n[1]||(n[1]=t=>T("start","minute",t))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(j.value,t=>(e.openBlock(),e.createElementBlock("option",{key:t,value:t},e.toDisplayString(t),9,ia))),128))],42,ra)],2),a.showSeconds?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(V.value)},[e.createElementVNode("span",{class:e.normalizeClass(f.value)},"秒",2),e.createElementVNode("select",{value:k.value.second,class:e.normalizeClass(C.value),onChange:n[2]||(n[2]=t=>T("start","second",t))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($.value,t=>(e.openBlock(),e.createElementBlock("option",{key:t,value:t},e.toDisplayString(t),9,da))),128))],42,ca)],2)):e.createCommentVNode("",!0)],2)],2),e.createElementVNode("section",{class:e.normalizeClass(O.value)},[e.createElementVNode("div",{class:e.normalizeClass(G.value)},[e.createElementVNode("p",{class:e.normalizeClass(M.value)},"结束时间",2),e.createElementVNode("p",{class:e.normalizeClass(q.value)},e.toDisplayString(Be.value||"请选择结束日期"),3)],2),e.createElementVNode("div",{class:e.normalizeClass(A.value)},[e.createElementVNode("label",{class:e.normalizeClass(V.value)},[e.createElementVNode("span",{class:e.normalizeClass(f.value)},"时",2),e.createElementVNode("select",{value:h.value.hour,class:e.normalizeClass(C.value),onChange:n[3]||(n[3]=t=>T("end","hour",t))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,t=>(e.openBlock(),e.createElementBlock("option",{key:t,value:t},e.toDisplayString(t),9,ma))),128))],42,ua)],2),e.createElementVNode("label",{class:e.normalizeClass(V.value)},[e.createElementVNode("span",{class:e.normalizeClass(f.value)},"分",2),e.createElementVNode("select",{value:h.value.minute,class:e.normalizeClass(C.value),onChange:n[4]||(n[4]=t=>T("end","minute",t))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(j.value,t=>(e.openBlock(),e.createElementBlock("option",{key:t,value:t},e.toDisplayString(t),9,ga))),128))],42,va)],2),a.showSeconds?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(V.value)},[e.createElementVNode("span",{class:e.normalizeClass(f.value)},"秒",2),e.createElementVNode("select",{value:h.value.second,class:e.normalizeClass(C.value),onChange:n[5]||(n[5]=t=>T("end","second",t))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($.value,t=>(e.openBlock(),e.createElementBlock("option",{key:t,value:t},e.toDisplayString(t),9,Va))),128))],42,pa)],2)):e.createCommentVNode("",!0)],2)],2)],2),e.createElementVNode("div",{class:e.normalizeClass(Ze.value)},[e.createElementVNode("button",{type:"button",class:e.normalizeClass(e.unref(Xe)),onClick:aa}," 清空 ",2),e.createElementVNode("button",{type:"button",class:e.normalizeClass(e.unref(Ye)),disabled:W.value,onClick:ta}," 确认 ",10,fa)],2)],2)],2)]),_:1})]),_:1},8,["class"])]),_:1},16))}});exports._sfc_main=Ca;exports.dateTimeRangePickerActionsVariants=Pe;exports.dateTimeRangePickerCalendarRootVariants=Z;exports.dateTimeRangePickerCellTriggerVariants=de;exports.dateTimeRangePickerCellVariants=ce;exports.dateTimeRangePickerContentVariants=Y;exports.dateTimeRangePickerDisplayVariants=Q;exports.dateTimeRangePickerErrorVariants=ge;exports.dateTimeRangePickerGridBodyVariants=ie;exports.dateTimeRangePickerGridVariants=se;exports.dateTimeRangePickerHeadCellVariants=re;exports.dateTimeRangePickerHeaderVariants=ee;exports.dateTimeRangePickerHeadingVariants=ne;exports.dateTimeRangePickerMonthsVariants=le;exports.dateTimeRangePickerNavButtonVariants=ae;exports.dateTimeRangePickerNavIconVariants=te;exports.dateTimeRangePickerSecondaryActionVariants=we;exports.dateTimeRangePickerTimeCardHeaderVariants=fe;exports.dateTimeRangePickerTimeCardTitleVariants=Ce;exports.dateTimeRangePickerTimeCardVariants=Ve;exports.dateTimeRangePickerTimeCardsVariants=pe;exports.dateTimeRangePickerTimeFieldVariants=he;exports.dateTimeRangePickerTimeGridVariants=ke;exports.dateTimeRangePickerTimeHeaderVariants=me;exports.dateTimeRangePickerTimeLabelVariants=Re;exports.dateTimeRangePickerTimePanelVariants=ue;exports.dateTimeRangePickerTimePreviewVariants=Te;exports.dateTimeRangePickerTimeSelectVariants=Ne;exports.dateTimeRangePickerTimeTitleVariants=ve;exports.dateTimeRangePickerTriggerIconVariants=X;exports.dateTimeRangePickerTriggerVariants=J;exports.dateTimeRangePickerWeekRowVariants=oe;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const l=require("vue"),B=require("./variants-CX5PAVtU.cjs"),n=require("./utils-UI2zegLo.cjs"),f=require("./cn-IjLH3w2e.cjs"),v=require("class-variance-authority"),V=v.cva("relative w-full"),h=v.cva("text-left"),I=["value","disabled","readonly","name","required","placeholder"],x=l.defineComponent({name:"KpDecimalField",__name:"DecimalField",props:{class:{},inputClass:{},size:{default:"default"},modelValue:{},defaultValue:{},min:{},max:{},step:{default:.01},precision:{default:2},disabled:{type:Boolean},readonly:{type:Boolean},name:{},required:{type:Boolean},placeholder:{},locale:{default:"zh-CN"}},emits:["update:modelValue","blur","focus"],setup(y,{emit:D}){const a=y,u=D,c=l.ref(null),i=l.ref(!1),o=l.ref(""),s=l.computed(()=>a.modelValue??a.defaultValue),r=e=>{if(!(e==null||Number.isNaN(e)))return n.roundToPrecision(n.clampNumber(e,a.min,a.max),a.precision)},d=e=>{const t=r(e);o.value=t===void 0?"":n.formatDecimalInputValue(t,a.precision)};l.watch(s,e=>{i.value||d(e)},{immediate:!0});const _=l.computed(()=>f.cn(V(),a.class)),z=l.computed(()=>f.cn(B.inputVariants({size:a.size}),h(),a.inputClass)),F=l.computed(()=>i.value?o.value:n.formatDecimalDisplayValue(s.value,a.locale,a.precision)),q=e=>{if(e===void 0){o.value="",u("update:modelValue",void 0);return}const t=r(e);o.value=t===void 0?"":n.formatDecimalInputValue(t,a.precision),u("update:modelValue",t)},b=e=>{var p;const t=n.sanitizeDecimalInput(((p=e.target)==null?void 0:p.value)??"");o.value=t;const m=n.parseDecimalDraft(t);u("update:modelValue",m===void 0?void 0:r(m))},C=e=>{var t;i.value=!0,d(s.value),(t=c.value)==null||t.select(),u("focus",e)},N=e=>{i.value=!1,q(n.parseDecimalDraft(o.value)),u("blur",e)};return(e,t)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(_.value)},[l.createElementVNode("input",{ref_key:"inputRef",ref:c,value:F.value,class:l.normalizeClass(z.value),disabled:a.disabled,readonly:a.readonly,name:a.name,required:a.required,placeholder:a.placeholder,inputmode:"decimal",onInput:b,onFocus:C,onBlur:N},null,42,I)],2))}});exports._sfc_main=x;exports.decimalFieldInputVariants=h;exports.decimalFieldVariants=V;
|