@maxax/ui 1.0.2 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component.d.ts +0 -1
- package/dist/component.d.ts.map +1 -1
- package/dist/components/basic-arrow/BasicArrow.vue.d.ts +1 -11
- package/dist/components/basic-arrow/BasicArrow.vue.d.ts.map +1 -1
- package/dist/components/basic-arrow/context.d.ts +0 -1
- package/dist/components/basic-arrow/context.d.ts.map +1 -1
- package/dist/components/basic-arrow/index.d.ts +0 -1
- package/dist/components/basic-button/BasicButton.vue.d.ts +2 -14
- package/dist/components/basic-button/BasicButton.vue.d.ts.map +1 -1
- package/dist/components/basic-button/context.d.ts +0 -1
- package/dist/components/basic-button/context.d.ts.map +1 -1
- package/dist/components/basic-button/index.d.ts +0 -1
- package/dist/components/basic-button/interface.d.ts +0 -1
- package/dist/components/basic-button-action/BasicButtonCreate.vue.d.ts +5 -7
- package/dist/components/basic-button-action/BasicButtonCreate.vue.d.ts.map +1 -1
- package/dist/components/basic-button-action/BasicButtonDelete.vue.d.ts +5 -7
- package/dist/components/basic-button-action/BasicButtonDelete.vue.d.ts.map +1 -1
- package/dist/components/basic-button-action/BasicButtonEdit.vue.d.ts +5 -7
- package/dist/components/basic-button-action/BasicButtonEdit.vue.d.ts.map +1 -1
- package/dist/components/basic-button-action/BasicButtonExport.vue.d.ts +2 -14
- package/dist/components/basic-button-action/BasicButtonExport.vue.d.ts.map +1 -1
- package/dist/components/basic-button-action/BasicButtonImport.vue.d.ts +10 -38
- package/dist/components/basic-button-action/BasicButtonImport.vue.d.ts.map +1 -1
- package/dist/components/basic-button-action/BasicButtonPrint.vue.d.ts +5 -7
- package/dist/components/basic-button-action/BasicButtonPrint.vue.d.ts.map +1 -1
- package/dist/components/basic-button-action/index.d.ts +0 -1
- package/dist/components/basic-button-action/interface.d.ts +0 -1
- package/dist/components/basic-button-group/BasicButtonGroup.vue.d.ts +8 -32
- package/dist/components/basic-button-group/BasicButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/basic-button-group/components/ButtonGroupItem.vue.d.ts +0 -1
- package/dist/components/basic-button-group/components/ButtonGroupItem.vue.d.ts.map +1 -1
- package/dist/components/basic-button-group/context.d.ts +0 -1
- package/dist/components/basic-button-group/context.d.ts.map +1 -1
- package/dist/components/basic-button-group/hooks/use-button-group-class.d.ts +0 -1
- package/dist/components/basic-button-group/hooks/use-button-group-events.d.ts +0 -1
- package/dist/components/basic-button-group/hooks/use-button-group-schema.d.ts +0 -1
- package/dist/components/basic-button-group/index.d.ts +0 -1
- package/dist/components/basic-button-group/types/button-group.d.ts +0 -1
- package/dist/components/basic-button-group/types/component.d.ts +0 -1
- package/dist/components/basic-card/BasicCard.vue.d.ts +1 -13
- package/dist/components/basic-card/BasicCard.vue.d.ts.map +1 -1
- package/dist/components/basic-card/context.d.ts +0 -1
- package/dist/components/basic-card/context.d.ts.map +1 -1
- package/dist/components/basic-card/index.d.ts +0 -1
- package/dist/components/basic-cascader/BasicCascader.vue.d.ts +3 -33
- package/dist/components/basic-cascader/BasicCascader.vue.d.ts.map +1 -1
- package/dist/components/basic-cascader/context.d.ts +0 -1
- package/dist/components/basic-cascader/context.d.ts.map +1 -1
- package/dist/components/basic-cascader/index.d.ts +0 -1
- package/dist/components/basic-cascader/interface.d.ts +0 -1
- package/dist/components/basic-checkbox/BasicCheckbox.d.ts +2 -2
- package/dist/components/basic-checkbox/BasicCheckbox.d.ts.map +1 -1
- package/dist/components/basic-checkbox/context.d.ts +0 -1
- package/dist/components/basic-checkbox/context.d.ts.map +1 -1
- package/dist/components/basic-checkbox/icon-hover.vue.d.ts.map +1 -1
- package/dist/components/basic-checkbox/index.d.ts +0 -1
- package/dist/components/basic-checkbox/interface.d.ts +1 -2
- package/dist/components/basic-checkbox/interface.d.ts.map +1 -1
- package/dist/components/basic-checkbox-group/BasicCheckboxGroup.d.ts +6 -7
- package/dist/components/basic-checkbox-group/BasicCheckboxGroup.d.ts.map +1 -1
- package/dist/components/basic-checkbox-group/context.d.ts +0 -1
- package/dist/components/basic-checkbox-group/context.d.ts.map +1 -1
- package/dist/components/basic-checkbox-group/index.d.ts +0 -1
- package/dist/components/basic-checkbox-group/interface.d.ts +3 -4
- package/dist/components/basic-checkbox-group/interface.d.ts.map +1 -1
- package/dist/components/basic-col/BasicCol.d.ts +0 -1
- package/dist/components/basic-col/context.d.ts +0 -1
- package/dist/components/basic-col/context.d.ts.map +1 -1
- package/dist/components/basic-col/index.d.ts +0 -1
- package/dist/components/basic-col/interface.d.ts +0 -1
- package/dist/components/basic-col/interface.d.ts.map +1 -1
- package/dist/components/basic-count-to/BasicCountTo.vue.d.ts +3 -46
- package/dist/components/basic-count-to/BasicCountTo.vue.d.ts.map +1 -1
- package/dist/components/basic-count-to/context.d.ts +0 -1
- package/dist/components/basic-count-to/context.d.ts.map +1 -1
- package/dist/components/basic-count-to/index.d.ts +0 -1
- package/dist/components/basic-count-to/interface.d.ts +0 -1
- package/dist/components/basic-date-picker/BasicDatePicker.vue.d.ts +6 -40
- package/dist/components/basic-date-picker/BasicDatePicker.vue.d.ts.map +1 -1
- package/dist/components/basic-date-picker/context.d.ts +0 -1
- package/dist/components/basic-date-picker/context.d.ts.map +1 -1
- package/dist/components/basic-date-picker/index.d.ts +0 -1
- package/dist/components/basic-date-picker/interface.d.ts +0 -1
- package/dist/components/basic-drag-verify/BasicDragVerify.vue.d.ts +1 -1
- package/dist/components/basic-drag-verify/BasicDragVerify.vue.d.ts.map +1 -1
- package/dist/components/basic-drag-verify/context.d.ts +0 -1
- package/dist/components/basic-drag-verify/context.d.ts.map +1 -1
- package/dist/components/basic-drag-verify/index.d.ts +0 -1
- package/dist/components/basic-drag-verify/interface.d.ts +0 -1
- package/dist/components/basic-drag-verify/interface.d.ts.map +1 -1
- package/dist/components/basic-drawer/BasicDrawer.vue.d.ts +14 -72
- package/dist/components/basic-drawer/BasicDrawer.vue.d.ts.map +1 -1
- package/dist/components/basic-drawer/context.d.ts +0 -1
- package/dist/components/basic-drawer/context.d.ts.map +1 -1
- package/dist/components/basic-drawer/index.d.ts +0 -1
- package/dist/components/basic-drawer/interface.d.ts +0 -1
- package/dist/components/basic-drawer-footer/BasicDrawerFooter.vue.d.ts +19 -0
- package/dist/components/basic-drawer-footer/BasicDrawerFooter.vue.d.ts.map +1 -0
- package/dist/components/basic-drawer-footer/index.d.ts +7 -0
- package/dist/components/basic-drawer-footer/index.d.ts.map +1 -0
- package/dist/components/basic-drawer-footer/interface.d.ts +14 -0
- package/dist/components/basic-drawer-footer/interface.d.ts.map +1 -0
- package/dist/components/basic-edit-batch/BasicEditBatch.vue.d.ts +15 -43
- package/dist/components/basic-edit-batch/BasicEditBatch.vue.d.ts.map +1 -1
- package/dist/components/basic-edit-batch/componentMap.d.ts +0 -1
- package/dist/components/basic-edit-batch/components/EditBatchAction.vue.d.ts +6 -38
- package/dist/components/basic-edit-batch/components/EditBatchAction.vue.d.ts.map +1 -1
- package/dist/components/basic-edit-batch/components/EditBatchItem.vue.d.ts +3 -20
- package/dist/components/basic-edit-batch/components/EditBatchItem.vue.d.ts.map +1 -1
- package/dist/components/basic-edit-batch/context.d.ts +0 -1
- package/dist/components/basic-edit-batch/context.d.ts.map +1 -1
- package/dist/components/basic-edit-batch/helper.d.ts +0 -1
- package/dist/components/basic-edit-batch/helper.d.ts.map +1 -1
- package/dist/components/basic-edit-batch/hooks/use-edit-batch-class.d.ts +0 -1
- package/dist/components/basic-edit-batch/hooks/use-edit-batch-events.d.ts +0 -1
- package/dist/components/basic-edit-batch/hooks/use-edit-batch-schema.d.ts +0 -1
- package/dist/components/basic-edit-batch/hooks/use-edit-batch-values.d.ts +0 -1
- package/dist/components/basic-edit-batch/index.d.ts +0 -1
- package/dist/components/basic-edit-batch/types/component.d.ts +0 -1
- package/dist/components/basic-edit-batch/types/edit-batch.d.ts +0 -1
- package/dist/components/basic-font-icon/context.d.ts +0 -1
- package/dist/components/basic-font-icon/context.d.ts.map +1 -1
- package/dist/components/basic-font-icon/index.d.ts +0 -1
- package/dist/components/basic-font-icon/interface.d.ts +0 -1
- package/dist/components/basic-form/BasicForm.vue.d.ts +313 -97
- package/dist/components/basic-form/BasicForm.vue.d.ts.map +1 -1
- package/dist/components/basic-form/componentMap.d.ts +0 -1
- package/dist/components/basic-form/components/FormAction.vue.d.ts +9 -59
- package/dist/components/basic-form/components/FormAction.vue.d.ts.map +1 -1
- package/dist/components/basic-form/components/FormItem.vue.d.ts +10 -92
- package/dist/components/basic-form/components/FormItem.vue.d.ts.map +1 -1
- package/dist/components/basic-form/context.d.ts +0 -1
- package/dist/components/basic-form/context.d.ts.map +1 -1
- package/dist/components/basic-form/helper.d.ts +0 -1
- package/dist/components/basic-form/helper.d.ts.map +1 -1
- package/dist/components/basic-form/hooks/use-advanced.d.ts +0 -1
- package/dist/components/basic-form/hooks/use-auto-focus.d.ts +0 -1
- package/dist/components/basic-form/hooks/use-component-register.d.ts +0 -1
- package/dist/components/basic-form/hooks/use-form-class.d.ts +0 -1
- package/dist/components/basic-form/hooks/use-form-events.d.ts +0 -1
- package/dist/components/basic-form/hooks/use-form-grid.d.ts +0 -1
- package/dist/components/basic-form/hooks/use-form-schema.d.ts +0 -1
- package/dist/components/basic-form/hooks/use-form-values.d.ts +0 -1
- package/dist/components/basic-form/hooks/use-item-label-width.d.ts +0 -1
- package/dist/components/basic-form/index.d.ts +0 -1
- package/dist/components/basic-form/types/col.d.ts +0 -1
- package/dist/components/basic-form/types/component.d.ts +0 -1
- package/dist/components/basic-form/types/form.d.ts +0 -1
- package/dist/components/basic-form/types/formItem.d.ts +0 -1
- package/dist/components/basic-gradient-title/BasicGradientTitle.vue.d.ts +2 -14
- package/dist/components/basic-gradient-title/BasicGradientTitle.vue.d.ts.map +1 -1
- package/dist/components/basic-gradient-title/context.d.ts +0 -1
- package/dist/components/basic-gradient-title/context.d.ts.map +1 -1
- package/dist/components/basic-gradient-title/index.d.ts +0 -1
- package/dist/components/basic-help/BasicHelp.vue.d.ts +3 -19
- package/dist/components/basic-help/BasicHelp.vue.d.ts.map +1 -1
- package/dist/components/basic-help/context.d.ts +0 -1
- package/dist/components/basic-help/context.d.ts.map +1 -1
- package/dist/components/basic-help/index.d.ts +0 -1
- package/dist/components/basic-help/interface.d.ts +1 -2
- package/dist/components/basic-help/interface.d.ts.map +1 -1
- package/dist/components/basic-hidden/BasicHidden.vue.d.ts +1 -11
- package/dist/components/basic-hidden/BasicHidden.vue.d.ts.map +1 -1
- package/dist/components/basic-hidden/context.d.ts +0 -1
- package/dist/components/basic-hidden/context.d.ts.map +1 -1
- package/dist/components/basic-hidden/index.d.ts +0 -1
- package/dist/components/basic-icon-online/context.d.ts +0 -1
- package/dist/components/basic-icon-online/context.d.ts.map +1 -1
- package/dist/components/basic-icon-online/index.d.ts +0 -1
- package/dist/components/basic-icon-online/interface.d.ts +0 -1
- package/dist/components/basic-icon-picker/BasicIconPicker.vue.d.ts +1 -11
- package/dist/components/basic-icon-picker/BasicIconPicker.vue.d.ts.map +1 -1
- package/dist/components/basic-icon-picker/context.d.ts +0 -1
- package/dist/components/basic-icon-picker/context.d.ts.map +1 -1
- package/dist/components/basic-icon-picker/index.d.ts +0 -1
- package/dist/components/basic-icon-picker/interface.d.ts +0 -1
- package/dist/components/basic-list-page/BasicListPage.vue.d.ts +29 -63
- package/dist/components/basic-list-page/BasicListPage.vue.d.ts.map +1 -1
- package/dist/components/basic-list-page/context.d.ts +0 -1
- package/dist/components/basic-list-page/context.d.ts.map +1 -1
- package/dist/components/basic-list-page/hooks/use-data-source.d.ts +3 -4
- package/dist/components/basic-list-page/hooks/use-data-source.d.ts.map +1 -1
- package/dist/components/basic-list-page/hooks/use-list-form.d.ts +0 -1
- package/dist/components/basic-list-page/hooks/use-loading.d.ts +0 -1
- package/dist/components/basic-list-page/hooks/use-pagination.d.ts +66 -67
- package/dist/components/basic-list-page/hooks/use-pagination.d.ts.map +1 -1
- package/dist/components/basic-list-page/index.d.ts +0 -1
- package/dist/components/basic-list-page/interface.d.ts +0 -1
- package/dist/components/basic-loading/directive.d.ts +0 -1
- package/dist/components/basic-loading/interface.d.ts +0 -1
- package/dist/components/basic-loading/service.d.ts +0 -1
- package/dist/components/basic-loading/service.d.ts.map +1 -1
- package/dist/components/basic-master-trigger/BasicMasterTrigger.vue.d.ts +4 -0
- package/dist/components/basic-master-trigger/BasicMasterTrigger.vue.d.ts.map +1 -0
- package/dist/components/basic-master-trigger/index.d.ts +7 -0
- package/dist/components/basic-master-trigger/index.d.ts.map +1 -0
- package/dist/components/basic-master-trigger/interface.d.ts +11 -0
- package/dist/components/basic-master-trigger/interface.d.ts.map +1 -0
- package/dist/components/basic-message-box/context.d.ts +0 -1
- package/dist/components/basic-message-box/context.d.ts.map +1 -1
- package/dist/components/basic-message-box/index.d.ts +1 -3
- package/dist/components/basic-message-box/index.d.ts.map +1 -1
- package/dist/components/basic-message-box/interface.d.ts +0 -1
- package/dist/components/basic-message-box/interface.d.ts.map +1 -1
- package/dist/components/basic-message-box/messageBox.d.ts +0 -1
- package/dist/components/basic-message-box/messageBox.d.ts.map +1 -1
- package/dist/components/basic-modal/BasicModal.vue.d.ts +10 -38
- package/dist/components/basic-modal/BasicModal.vue.d.ts.map +1 -1
- package/dist/components/basic-modal/context.d.ts +0 -1
- package/dist/components/basic-modal/context.d.ts.map +1 -1
- package/dist/components/basic-modal/index.d.ts +0 -1
- package/dist/components/basic-modal/interface.d.ts +0 -1
- package/dist/components/basic-notification/BasicNotification.vue.d.ts +10 -50
- package/dist/components/basic-notification/BasicNotification.vue.d.ts.map +1 -1
- package/dist/components/basic-notification/context.d.ts +0 -1
- package/dist/components/basic-notification/context.d.ts.map +1 -1
- package/dist/components/basic-notification/index.d.ts +1 -3
- package/dist/components/basic-notification/index.d.ts.map +1 -1
- package/dist/components/basic-notification/interface.d.ts +0 -1
- package/dist/components/basic-notification/notify.d.ts +0 -1
- package/dist/components/basic-notification/notify.d.ts.map +1 -1
- package/dist/components/basic-overlay/context.d.ts +0 -1
- package/dist/components/basic-overlay/context.d.ts.map +1 -1
- package/dist/components/basic-overlay/index.d.ts +0 -1
- package/dist/components/basic-overlay/interface.d.ts +0 -1
- package/dist/components/basic-overlay/interface.d.ts.map +1 -1
- package/dist/components/basic-page/BasicPage.vue.d.ts +8 -28
- package/dist/components/basic-page/BasicPage.vue.d.ts.map +1 -1
- package/dist/components/basic-page/context.d.ts +0 -1
- package/dist/components/basic-page/context.d.ts.map +1 -1
- package/dist/components/basic-page/index.d.ts +0 -1
- package/dist/components/basic-panel/BasicPanel.vue.d.ts +4 -28
- package/dist/components/basic-panel/BasicPanel.vue.d.ts.map +1 -1
- package/dist/components/basic-panel/context.d.ts +0 -1
- package/dist/components/basic-panel/context.d.ts.map +1 -1
- package/dist/components/basic-panel/index.d.ts +0 -1
- package/dist/components/basic-panel-page/BasicPanelPage.vue.d.ts +18 -0
- package/dist/components/basic-panel-page/BasicPanelPage.vue.d.ts.map +1 -0
- package/dist/components/basic-panel-page/index.d.ts +7 -0
- package/dist/components/basic-panel-page/index.d.ts.map +1 -0
- package/dist/components/basic-panel-page/interface.d.ts +4 -0
- package/dist/components/basic-panel-page/interface.d.ts.map +1 -0
- package/dist/components/basic-radio/context.d.ts +0 -1
- package/dist/components/basic-radio/context.d.ts.map +1 -1
- package/dist/components/basic-radio/index.d.ts +0 -1
- package/dist/components/basic-radio/interface.d.ts +0 -1
- package/dist/components/basic-radio/interface.d.ts.map +1 -1
- package/dist/components/basic-radio-group/BasicRadioGroup.d.ts +2 -3
- package/dist/components/basic-radio-group/context.d.ts +0 -1
- package/dist/components/basic-radio-group/context.d.ts.map +1 -1
- package/dist/components/basic-radio-group/index.d.ts +0 -1
- package/dist/components/basic-radio-group/interface.d.ts +1 -2
- package/dist/components/basic-radio-group/interface.d.ts.map +1 -1
- package/dist/components/basic-row/context.d.ts +0 -1
- package/dist/components/basic-row/context.d.ts.map +1 -1
- package/dist/components/basic-row/index.d.ts +0 -1
- package/dist/components/basic-row/interface.d.ts +0 -1
- package/dist/components/basic-row/interface.d.ts.map +1 -1
- package/dist/components/basic-scroll-text/BasicScrollText.vue.d.ts +2 -2
- package/dist/components/basic-scroll-text/BasicScrollText.vue.d.ts.map +1 -1
- package/dist/components/basic-scroll-text/context.d.ts +0 -1
- package/dist/components/basic-scroll-text/context.d.ts.map +1 -1
- package/dist/components/basic-scroll-text/index.d.ts +0 -1
- package/dist/components/basic-scroll-text/interface.d.ts +1 -2
- package/dist/components/basic-scroll-text/interface.d.ts.map +1 -1
- package/dist/components/basic-select/BasicSelect.vue.d.ts +3 -37
- package/dist/components/basic-select/BasicSelect.vue.d.ts.map +1 -1
- package/dist/components/basic-select/context.d.ts +0 -1
- package/dist/components/basic-select/context.d.ts.map +1 -1
- package/dist/components/basic-select/index.d.ts +0 -1
- package/dist/components/basic-select/interface.d.ts +0 -1
- package/dist/components/basic-sub-panel/BasicSubPanel.vue.d.ts +2 -14
- package/dist/components/basic-sub-panel/BasicSubPanel.vue.d.ts.map +1 -1
- package/dist/components/basic-sub-panel/context.d.ts +0 -1
- package/dist/components/basic-sub-panel/context.d.ts.map +1 -1
- package/dist/components/basic-sub-panel/index.d.ts +0 -1
- package/dist/components/basic-svg-icon/BasicSvgIcon.vue.d.ts +1 -11
- package/dist/components/basic-svg-icon/BasicSvgIcon.vue.d.ts.map +1 -1
- package/dist/components/basic-svg-icon/context.d.ts +0 -1
- package/dist/components/basic-svg-icon/context.d.ts.map +1 -1
- package/dist/components/basic-svg-icon/index.d.ts +0 -1
- package/dist/components/basic-table/context.d.ts +0 -1
- package/dist/components/basic-table/context.d.ts.map +1 -1
- package/dist/components/basic-table/format.d.ts +0 -1
- package/dist/components/basic-table/helper.d.ts +0 -1
- package/dist/components/basic-table/hooks/use-columns.d.ts +0 -1
- package/dist/components/basic-table/hooks/use-columns.d.ts.map +1 -1
- package/dist/components/basic-table/hooks/use-data-source.d.ts +9 -10
- package/dist/components/basic-table/hooks/use-data-source.d.ts.map +1 -1
- package/dist/components/basic-table/hooks/use-loading.d.ts +0 -1
- package/dist/components/basic-table/hooks/use-row-selection.d.ts +0 -1
- package/dist/components/basic-table/hooks/use-row-selection.d.ts.map +1 -1
- package/dist/components/basic-table/hooks/use-table-config.d.ts +19 -20
- package/dist/components/basic-table/hooks/use-table-config.d.ts.map +1 -1
- package/dist/components/basic-table/hooks/use-table-context.d.ts +0 -1
- package/dist/components/basic-table/hooks/use-table-footer.d.ts +0 -1
- package/dist/components/basic-table/hooks/use-table-form.d.ts +0 -1
- package/dist/components/basic-table/index.d.ts +0 -1
- package/dist/components/basic-table/interface.d.ts +0 -1
- package/dist/components/basic-table/setting.d.ts.map +1 -1
- package/dist/components/basic-table/style.d.ts +0 -1
- package/dist/components/basic-table/vxe-table.d.ts +0 -1
- package/dist/components/basic-tag/BasicTag.vue.d.ts +2 -14
- package/dist/components/basic-tag/BasicTag.vue.d.ts.map +1 -1
- package/dist/components/basic-tag/context.d.ts +0 -1
- package/dist/components/basic-tag/context.d.ts.map +1 -1
- package/dist/components/basic-tag/index.d.ts +0 -1
- package/dist/components/basic-tag/interface.d.ts +0 -1
- package/dist/components/basic-text/BasicText.vue.d.ts +4 -32
- package/dist/components/basic-text/BasicText.vue.d.ts.map +1 -1
- package/dist/components/basic-text/context.d.ts +0 -1
- package/dist/components/basic-text/context.d.ts.map +1 -1
- package/dist/components/basic-text/index.d.ts +0 -1
- package/dist/components/basic-text/interface.d.ts +0 -1
- package/dist/components/basic-title/BasicTitle.vue.d.ts +2 -14
- package/dist/components/basic-title/BasicTitle.vue.d.ts.map +1 -1
- package/dist/components/basic-title/context.d.ts +0 -1
- package/dist/components/basic-title/context.d.ts.map +1 -1
- package/dist/components/basic-title/index.d.ts +0 -1
- package/dist/components/basic-title/interface.d.ts +0 -1
- package/dist/components/basic-upload/BasicUpload.d.ts +26 -27
- package/dist/components/basic-upload/BasicUpload.d.ts.map +1 -1
- package/dist/components/basic-upload/context.d.ts +0 -1
- package/dist/components/basic-upload/context.d.ts.map +1 -1
- package/dist/components/basic-upload/index.d.ts +0 -1
- package/dist/components/basic-upload/interface.d.ts +4 -5
- package/dist/components/basic-upload/interface.d.ts.map +1 -1
- package/dist/components/basic-upload/utils.d.ts +0 -1
- package/dist/components/basic-upload/utils.d.ts.map +1 -1
- package/dist/components/basic-upload-core/AjaxUploader.d.ts +22 -17
- package/dist/components/basic-upload-core/AjaxUploader.d.ts.map +1 -1
- package/dist/components/basic-upload-core/BasicUploadCore.d.ts +16 -17
- package/dist/components/basic-upload-core/attr-accept.d.ts +0 -1
- package/dist/components/basic-upload-core/attr-accept.d.ts.map +1 -1
- package/dist/components/basic-upload-core/context.d.ts +0 -1
- package/dist/components/basic-upload-core/context.d.ts.map +1 -1
- package/dist/components/basic-upload-core/index.d.ts +0 -1
- package/dist/components/basic-upload-core/interface.d.ts +0 -1
- package/dist/components/basic-upload-core/interface.d.ts.map +1 -1
- package/dist/components/basic-upload-core/request.d.ts +0 -1
- package/dist/components/basic-upload-core/traverseFileTree.d.ts +0 -1
- package/dist/components/basic-upload-core/traverseFileTree.d.ts.map +1 -1
- package/dist/components/basic-upload-dragger/BasicUploadDragger.d.ts +24 -24
- package/dist/components/basic-upload-dragger/BasicUploadDragger.d.ts.map +1 -1
- package/dist/components/basic-upload-dragger/context.d.ts +0 -1
- package/dist/components/basic-upload-dragger/context.d.ts.map +1 -1
- package/dist/components/basic-upload-dragger/index.d.ts +0 -1
- package/dist/components/basic-upload-dragger/interface.d.ts +4 -5
- package/dist/components/basic-upload-dragger/interface.d.ts.map +1 -1
- package/dist/components/basic-upload-list/BasicUploadList.d.ts +19 -20
- package/dist/components/basic-upload-list/BasicUploadList.d.ts.map +1 -1
- package/dist/components/basic-upload-list/context.d.ts +0 -1
- package/dist/components/basic-upload-list/context.d.ts.map +1 -1
- package/dist/components/basic-upload-list/index.d.ts +0 -1
- package/dist/components/basic-upload-list/interface.d.ts +2 -3
- package/dist/components/basic-upload-list/interface.d.ts.map +1 -1
- package/dist/components/basic-upload-list-item/BasicUploadListItem.d.ts +20 -21
- package/dist/components/basic-upload-list-item/BasicUploadListItem.d.ts.map +1 -1
- package/dist/components/basic-upload-list-item/context.d.ts +0 -1
- package/dist/components/basic-upload-list-item/context.d.ts.map +1 -1
- package/dist/components/basic-upload-list-item/index.d.ts +0 -1
- package/dist/components/basic-upload-list-item/interface.d.ts +2 -3
- package/dist/components/basic-upload-list-item/interface.d.ts.map +1 -1
- package/dist/components/basic-view-bar/BasicViewBar.vue.d.ts +5 -14
- package/dist/components/basic-view-bar/BasicViewBar.vue.d.ts.map +1 -1
- package/dist/components/basic-view-bar/context.d.ts +0 -1
- package/dist/components/basic-view-bar/context.d.ts.map +1 -1
- package/dist/components/basic-view-bar/index.d.ts +0 -1
- package/dist/components/config-provider/context.d.ts +0 -1
- package/dist/components/config-provider/hooks/use-global-config.d.ts +8 -9
- package/dist/components/config-provider/hooks/use-global-config.d.ts.map +1 -1
- package/dist/components/config-provider/index.d.ts +0 -1
- package/dist/components/config-provider/interface.d.ts +0 -1
- package/dist/components/config-provider/interface.d.ts.map +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/naive-ui.d.ts +0 -1
- package/dist/components/tree/Tree.vue.d.ts +23 -97
- package/dist/components/tree/Tree.vue.d.ts.map +1 -1
- package/dist/components/tree/components/LoadingIcon.vue.d.ts.map +1 -1
- package/dist/components/tree/constants/events.d.ts +0 -1
- package/dist/components/tree/context.d.ts +0 -1
- package/dist/components/tree/context.d.ts.map +1 -1
- package/dist/components/tree/hooks/use-expand-animation.d.ts +12 -13
- package/dist/components/tree/hooks/use-expand-animation.d.ts.map +1 -1
- package/dist/components/tree/hooks/use-iframe-resize.d.ts.map +1 -1
- package/dist/components/tree/hooks/use-public-tree-api.d.ts +4 -5
- package/dist/components/tree/hooks/use-public-tree-api.d.ts.map +1 -1
- package/dist/components/tree/hooks/use-virtual-list.d.ts +4 -5
- package/dist/components/tree/hooks/use-virtual-list.d.ts.map +1 -1
- package/dist/components/tree/index.d.ts +0 -1
- package/dist/components/tree/interface.d.ts +0 -1
- package/dist/components/tree/store/index.d.ts +0 -1
- package/dist/components/tree/store/tree-event-target.d.ts +0 -1
- package/dist/components/tree/store/tree-node.d.ts +0 -1
- package/dist/components/tree/store/tree-store.d.ts +0 -1
- package/dist/components/tree/utils.d.ts +1 -2
- package/dist/components/tree/utils.d.ts.map +1 -1
- package/dist/components/tree-drop/TreeDrop.vue.d.ts +572 -205
- package/dist/components/tree-drop/TreeDrop.vue.d.ts.map +1 -1
- package/dist/components/tree-drop/composable/use-tree-drop-cls.d.ts +0 -1
- package/dist/components/tree-drop/composable/use-tree-drop-cls.d.ts.map +1 -1
- package/dist/components/tree-drop/index.d.ts +0 -1
- package/dist/components/tree-drop/interface.d.ts +0 -1
- package/dist/components/tree-node/TreeNode.vue.d.ts +4 -14
- package/dist/components/tree-node/TreeNode.vue.d.ts.map +1 -1
- package/dist/components/tree-node/composable/use-tree-node-cls.d.ts +0 -1
- package/dist/components/tree-node/composable/use-tree-node-cls.d.ts.map +1 -1
- package/dist/components/tree-node/index.d.ts +0 -1
- package/dist/components/tree-node/interface.d.ts +0 -1
- package/dist/components/tree-search/TreeSearch.vue.d.ts +240 -114
- package/dist/components/tree-search/TreeSearch.vue.d.ts.map +1 -1
- package/dist/components/tree-search/composable/use-tree-search-cls.d.ts +0 -1
- package/dist/components/tree-search/composable/use-tree-search-cls.d.ts.map +1 -1
- package/dist/components/tree-search/index.d.ts +0 -1
- package/dist/components/tree-search/interface.d.ts +0 -1
- package/dist/composable/use-dragable.d.ts +0 -1
- package/dist/composable/use-dragable.d.ts.map +1 -1
- package/dist/composable/use-drawer.d.ts +0 -1
- package/dist/composable/use-locale.d.ts +0 -1
- package/dist/composable/use-lockscreen.d.ts +0 -1
- package/dist/composable/use-lockscreen.d.ts.map +1 -1
- package/dist/composable/use-merged-state.d.ts +0 -1
- package/dist/composable/use-namespace.d.ts +0 -1
- package/dist/composable/use-namespace.d.ts.map +1 -1
- package/dist/composable/use-responsive-observe.d.ts +0 -1
- package/dist/composable/use-responsive-observe.d.ts.map +1 -1
- package/dist/composable/use-same-target.d.ts +1 -1
- package/dist/composable/use-same-target.d.ts.map +1 -1
- package/dist/composable/use-table-config.d.ts +0 -1
- package/dist/composable/use-theme-overrides.d.ts +0 -1
- package/dist/composable/use-z-index.d.ts +0 -1
- package/dist/composable/use-z-index.d.ts.map +1 -1
- package/dist/constants/context.d.ts +0 -1
- package/dist/defaults.d.ts +2 -2
- package/dist/index.cjs +327 -117
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +327 -117
- package/dist/index.mjs.map +1 -1
- package/dist/locale/index.d.ts +0 -1
- package/dist/locale/lang/en.d.ts +0 -1
- package/dist/locale/lang/en.d.ts.map +1 -1
- package/dist/locale/lang/zh-cn.d.ts +0 -1
- package/dist/locale/lang/zh-cn.d.ts.map +1 -1
- package/dist/locale/types.d.ts +0 -1
- package/dist/locale/utils.d.ts +0 -1
- package/dist/locale/utils.d.ts.map +1 -1
- package/dist/locales.cjs +3045 -3003
- package/dist/locales.cjs.map +1 -1
- package/dist/locales.mjs +3045 -3007
- package/dist/locales.mjs.map +1 -1
- package/dist/make-installer.d.ts +0 -1
- package/dist/make-installer.d.ts.map +1 -1
- package/dist/types/basic.d.ts +0 -1
- package/dist/utils/basic.d.ts +0 -1
- package/dist/utils/basic.d.ts.map +1 -1
- package/dist/utils/collapse-motion.d.ts +0 -1
- package/dist/utils/collapse-motion.d.ts.map +1 -1
- package/dist/utils/props.d.ts.map +1 -1
- package/dist/{utils-CCNONbDL.js → utils-Cz4cXLO4.js} +4 -1
- package/dist/utils-Cz4cXLO4.js.map +1 -0
- package/dist/{utils-pcMeUjXb.cjs → utils-fuChD8nl.cjs} +4 -1
- package/dist/utils-fuChD8nl.cjs.map +1 -0
- package/package.json +14 -14
- package/dist/components/basic-loading/index.d.ts +0 -13
- package/dist/components/basic-loading/index.d.ts.map +0 -1
- package/dist/components/basic-loading/loading.d.ts +0 -27
- package/dist/components/basic-loading/loading.d.ts.map +0 -1
- package/dist/components/basic-message-box/BasicMessageBox.vue.d.ts +0 -2754
- package/dist/components/basic-message-box/BasicMessageBox.vue.d.ts.map +0 -1
- package/dist/components/basic-table/BasicTable.vue.d.ts +0 -342
- package/dist/components/basic-table/BasicTable.vue.d.ts.map +0 -1
- package/dist/components/basic-table/hooks/use-pagination.d.ts +0 -92
- package/dist/components/basic-table/hooks/use-pagination.d.ts.map +0 -1
- package/dist/utils-CCNONbDL.js.map +0 -1
- package/dist/utils-pcMeUjXb.cjs.map +0 -1
- /package/dist/{style.css → ui.css} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@ const utils = require("@maxax/utils");
|
|
|
4
4
|
const vue = require("vue");
|
|
5
5
|
const naiveUi = require("naive-ui");
|
|
6
6
|
const lodashEs = require("lodash-es");
|
|
7
|
-
const utils$1 = require("./utils-
|
|
7
|
+
const utils$1 = require("./utils-fuChD8nl.cjs");
|
|
8
8
|
const hooks = require("@maxax/hooks");
|
|
9
9
|
const dateFns = require("date-fns");
|
|
10
10
|
const dayjs = require("dayjs");
|
|
@@ -2039,25 +2039,30 @@ const render = (icon, props) => {
|
|
|
2039
2039
|
continue;
|
|
2040
2040
|
}
|
|
2041
2041
|
switch (key2) {
|
|
2042
|
+
// Properties to ignore
|
|
2042
2043
|
case "icon":
|
|
2043
2044
|
case "style":
|
|
2044
2045
|
case "onLoad":
|
|
2045
2046
|
case "mode":
|
|
2046
2047
|
case "ssr":
|
|
2047
2048
|
break;
|
|
2049
|
+
// Boolean attributes
|
|
2048
2050
|
case "inline":
|
|
2049
2051
|
case "hFlip":
|
|
2050
2052
|
case "vFlip":
|
|
2051
2053
|
customisations[key2] = value === true || value === "true" || value === 1;
|
|
2052
2054
|
break;
|
|
2055
|
+
// Flip as string: 'horizontal,vertical'
|
|
2053
2056
|
case "flip":
|
|
2054
2057
|
if (typeof value === "string") {
|
|
2055
2058
|
flipFromString(customisations, value);
|
|
2056
2059
|
}
|
|
2057
2060
|
break;
|
|
2061
|
+
// Color: override style
|
|
2058
2062
|
case "color":
|
|
2059
2063
|
style.color = value;
|
|
2060
2064
|
break;
|
|
2065
|
+
// Rotation as string
|
|
2061
2066
|
case "rotate":
|
|
2062
2067
|
if (typeof value === "string") {
|
|
2063
2068
|
customisations[key2] = rotateFromString(value);
|
|
@@ -2065,6 +2070,7 @@ const render = (icon, props) => {
|
|
|
2065
2070
|
customisations[key2] = value;
|
|
2066
2071
|
}
|
|
2067
2072
|
break;
|
|
2073
|
+
// Remove aria-hidden
|
|
2068
2074
|
case "ariaHidden":
|
|
2069
2075
|
case "aria-hidden":
|
|
2070
2076
|
if (value !== true && value !== "true") {
|
|
@@ -2297,7 +2303,7 @@ const Icon = vue.defineComponent((props, { emit }) => {
|
|
|
2297
2303
|
emits: ["load"]
|
|
2298
2304
|
});
|
|
2299
2305
|
const _hoisted_1$c = ["xlink:href"];
|
|
2300
|
-
const _sfc_main$
|
|
2306
|
+
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
2301
2307
|
__name: "BasicSvgIcon",
|
|
2302
2308
|
props: {
|
|
2303
2309
|
icon: {},
|
|
@@ -2342,8 +2348,8 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
2342
2348
|
};
|
|
2343
2349
|
}
|
|
2344
2350
|
});
|
|
2345
|
-
const XBasicSvgIcon = utils.withInstall(_sfc_main$
|
|
2346
|
-
const _sfc_main$
|
|
2351
|
+
const XBasicSvgIcon = utils.withInstall(_sfc_main$N);
|
|
2352
|
+
const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
2347
2353
|
__name: "BasicArrow",
|
|
2348
2354
|
props: {
|
|
2349
2355
|
expand: { type: Boolean },
|
|
@@ -2375,8 +2381,8 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
2375
2381
|
};
|
|
2376
2382
|
}
|
|
2377
2383
|
});
|
|
2378
|
-
const XBasicArrow = utils.withInstall(_sfc_main$
|
|
2379
|
-
const _sfc_main$
|
|
2384
|
+
const XBasicArrow = utils.withInstall(_sfc_main$M);
|
|
2385
|
+
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
2380
2386
|
__name: "BasicButton",
|
|
2381
2387
|
props: {
|
|
2382
2388
|
size: {},
|
|
@@ -2431,12 +2437,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
2431
2437
|
};
|
|
2432
2438
|
}
|
|
2433
2439
|
});
|
|
2434
|
-
const XBasicButton = utils.withInstall(_sfc_main$
|
|
2435
|
-
/**
|
|
2436
|
-
* @vue/shared v3.5.24
|
|
2437
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
2438
|
-
* @license MIT
|
|
2439
|
-
**/
|
|
2440
|
+
const XBasicButton = utils.withInstall(_sfc_main$L);
|
|
2440
2441
|
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
2441
2442
|
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
2442
2443
|
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
@@ -2665,7 +2666,7 @@ const basicMessageBoxProps = {
|
|
|
2665
2666
|
default: ""
|
|
2666
2667
|
}
|
|
2667
2668
|
};
|
|
2668
|
-
const _sfc_main$
|
|
2669
|
+
const _sfc_main$K = vue.defineComponent({
|
|
2669
2670
|
components: {
|
|
2670
2671
|
NButton: naiveUi.NButton,
|
|
2671
2672
|
NInput: naiveUi.NInput,
|
|
@@ -3073,7 +3074,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3073
3074
|
_: 3
|
|
3074
3075
|
});
|
|
3075
3076
|
}
|
|
3076
|
-
const MessageBoxConstructor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3077
|
+
const MessageBoxConstructor = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$2]]);
|
|
3077
3078
|
const messageInstance = /* @__PURE__ */ new Map();
|
|
3078
3079
|
const getAppendToElement = (props) => {
|
|
3079
3080
|
let appendTo = document.body;
|
|
@@ -3202,7 +3203,7 @@ const XBasicMessageBox = $MessageBox;
|
|
|
3202
3203
|
function _isSlot$3(s) {
|
|
3203
3204
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
3204
3205
|
}
|
|
3205
|
-
const _sfc_main$
|
|
3206
|
+
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
3206
3207
|
name: "ButtonGroupItem",
|
|
3207
3208
|
props: {
|
|
3208
3209
|
schema: {
|
|
@@ -3555,7 +3556,7 @@ function useButtonGroupSchema({ getProps, schemaRef }) {
|
|
|
3555
3556
|
});
|
|
3556
3557
|
return { getSchema };
|
|
3557
3558
|
}
|
|
3558
|
-
const _sfc_main$
|
|
3559
|
+
const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
3559
3560
|
__name: "BasicButtonGroup",
|
|
3560
3561
|
props: {
|
|
3561
3562
|
showReturnButton: { type: Boolean },
|
|
@@ -3636,7 +3637,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
3636
3637
|
return (_ctx, _cache) => {
|
|
3637
3638
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: vue.unref(getWrapperClass) }, getBindValue.value), [
|
|
3638
3639
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(getSchema), (schema) => {
|
|
3639
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
3640
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$J, {
|
|
3640
3641
|
key: schema.field,
|
|
3641
3642
|
schema,
|
|
3642
3643
|
"button-group-action-type": buttonGroupActionType,
|
|
@@ -3657,9 +3658,9 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
3657
3658
|
};
|
|
3658
3659
|
}
|
|
3659
3660
|
});
|
|
3660
|
-
const XBasicButtonGroup = utils.withInstall(_sfc_main$
|
|
3661
|
+
const XBasicButtonGroup = utils.withInstall(_sfc_main$I);
|
|
3661
3662
|
const _hoisted_1$a = ["title"];
|
|
3662
|
-
const _sfc_main$
|
|
3663
|
+
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
3663
3664
|
__name: "BasicText",
|
|
3664
3665
|
props: {
|
|
3665
3666
|
icon: { default: "" },
|
|
@@ -3697,7 +3698,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
3697
3698
|
class: vue.normalizeClass(basicTextClass.value),
|
|
3698
3699
|
title: vue.unref(utils.isString)(vue.unref(mergedValueRef)) ? vue.unref(mergedValueRef) : void 0
|
|
3699
3700
|
}, [
|
|
3700
|
-
__props.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
3701
|
+
__props.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$N, {
|
|
3701
3702
|
key: 0,
|
|
3702
3703
|
icon: __props.icon,
|
|
3703
3704
|
class: vue.normalizeClass(__props.iconClass),
|
|
@@ -3710,8 +3711,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
3710
3711
|
};
|
|
3711
3712
|
}
|
|
3712
3713
|
});
|
|
3713
|
-
const XBasicText = utils.withInstall(_sfc_main$
|
|
3714
|
-
const _sfc_main$
|
|
3714
|
+
const XBasicText = utils.withInstall(_sfc_main$H);
|
|
3715
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
3715
3716
|
__name: "BasicCard",
|
|
3716
3717
|
props: {
|
|
3717
3718
|
title: {},
|
|
@@ -3750,8 +3751,8 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
3750
3751
|
};
|
|
3751
3752
|
}
|
|
3752
3753
|
});
|
|
3753
|
-
const XBasicCard = utils.withInstall(_sfc_main$
|
|
3754
|
-
const _sfc_main$
|
|
3754
|
+
const XBasicCard = utils.withInstall(_sfc_main$G);
|
|
3755
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
3755
3756
|
...{
|
|
3756
3757
|
inheritAttrs: false
|
|
3757
3758
|
},
|
|
@@ -3856,7 +3857,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
3856
3857
|
}
|
|
3857
3858
|
});
|
|
3858
3859
|
const basicCascaderProps = {};
|
|
3859
|
-
const XBasicCascader = utils.withInstall(_sfc_main$
|
|
3860
|
+
const XBasicCascader = utils.withInstall(_sfc_main$F);
|
|
3860
3861
|
const basicCheckboxGroupKey = Symbol("basic-checkbox-group");
|
|
3861
3862
|
const createBasicCheckboxGroupContext = (props) => {
|
|
3862
3863
|
return vue.provide(basicCheckboxGroupKey, props);
|
|
@@ -3877,7 +3878,7 @@ const IconCheck = /* @__PURE__ */ vue.defineComponent({
|
|
|
3877
3878
|
}, null)]);
|
|
3878
3879
|
}
|
|
3879
3880
|
});
|
|
3880
|
-
const _sfc_main$
|
|
3881
|
+
const _sfc_main$E = vue.defineComponent({
|
|
3881
3882
|
name: "IconHover",
|
|
3882
3883
|
props: {
|
|
3883
3884
|
disabled: {
|
|
@@ -3905,7 +3906,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3905
3906
|
vue.renderSlot(_ctx.$slots, "default")
|
|
3906
3907
|
], 2);
|
|
3907
3908
|
}
|
|
3908
|
-
const IconHover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3909
|
+
const IconHover = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$1]]);
|
|
3909
3910
|
const basicCheckboxProps = {
|
|
3910
3911
|
/**
|
|
3911
3912
|
* @zh 绑定值
|
|
@@ -4552,11 +4553,6 @@ function unrefElement(elRef) {
|
|
|
4552
4553
|
return (_$el = plain === null || plain === void 0 ? void 0 : plain.$el) !== null && _$el !== void 0 ? _$el : plain;
|
|
4553
4554
|
}
|
|
4554
4555
|
function useEventListener(...args) {
|
|
4555
|
-
const cleanups = [];
|
|
4556
|
-
const cleanup = () => {
|
|
4557
|
-
cleanups.forEach((fn) => fn());
|
|
4558
|
-
cleanups.length = 0;
|
|
4559
|
-
};
|
|
4560
4556
|
const register = (el, event, listener, options) => {
|
|
4561
4557
|
el.addEventListener(event, listener, options);
|
|
4562
4558
|
return () => el.removeEventListener(event, listener, options);
|
|
@@ -4565,7 +4561,7 @@ function useEventListener(...args) {
|
|
|
4565
4561
|
const test = toArray(vue.toValue(args[0])).filter((e) => e != null);
|
|
4566
4562
|
return test.every((e) => typeof e !== "string") ? test : void 0;
|
|
4567
4563
|
});
|
|
4568
|
-
|
|
4564
|
+
return watchImmediate(() => {
|
|
4569
4565
|
var _firstParamTargets$va, _firstParamTargets$va2;
|
|
4570
4566
|
return [
|
|
4571
4567
|
(_firstParamTargets$va = (_firstParamTargets$va2 = firstParamTargets.value) === null || _firstParamTargets$va2 === void 0 ? void 0 : _firstParamTargets$va2.map((e) => unrefElement(e))) !== null && _firstParamTargets$va !== void 0 ? _firstParamTargets$va : [defaultWindow].filter((e) => e != null),
|
|
@@ -4573,18 +4569,14 @@ function useEventListener(...args) {
|
|
|
4573
4569
|
toArray(vue.unref(firstParamTargets.value ? args[2] : args[1])),
|
|
4574
4570
|
vue.toValue(firstParamTargets.value ? args[3] : args[2])
|
|
4575
4571
|
];
|
|
4576
|
-
}, ([raw_targets, raw_events, raw_listeners, raw_options]) => {
|
|
4577
|
-
cleanup();
|
|
4572
|
+
}, ([raw_targets, raw_events, raw_listeners, raw_options], _, onCleanup) => {
|
|
4578
4573
|
if (!(raw_targets === null || raw_targets === void 0 ? void 0 : raw_targets.length) || !(raw_events === null || raw_events === void 0 ? void 0 : raw_events.length) || !(raw_listeners === null || raw_listeners === void 0 ? void 0 : raw_listeners.length)) return;
|
|
4579
4574
|
const optionsClone = isObject(raw_options) ? { ...raw_options } : raw_options;
|
|
4580
|
-
cleanups
|
|
4575
|
+
const cleanups = raw_targets.flatMap((el) => raw_events.flatMap((event) => raw_listeners.map((listener) => register(el, event, listener, optionsClone))));
|
|
4576
|
+
onCleanup(() => {
|
|
4577
|
+
cleanups.forEach((fn) => fn());
|
|
4578
|
+
});
|
|
4581
4579
|
}, { flush: "post" });
|
|
4582
|
-
const stop = () => {
|
|
4583
|
-
stopWatch();
|
|
4584
|
-
cleanup();
|
|
4585
|
-
};
|
|
4586
|
-
tryOnScopeDispose(cleanup);
|
|
4587
|
-
return stop;
|
|
4588
4580
|
}
|
|
4589
4581
|
const _TransitionPresets = {
|
|
4590
4582
|
easeInSine: [
|
|
@@ -4829,7 +4821,7 @@ function useTransition(source, options = {}) {
|
|
|
4829
4821
|
});
|
|
4830
4822
|
return vue.computed(() => vue.toValue(options.disabled) ? sourceVal() : outputRef.value);
|
|
4831
4823
|
}
|
|
4832
|
-
const _sfc_main$
|
|
4824
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
4833
4825
|
__name: "BasicCountTo",
|
|
4834
4826
|
props: {
|
|
4835
4827
|
startValue: { default: 0 },
|
|
@@ -4890,8 +4882,8 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
4890
4882
|
};
|
|
4891
4883
|
}
|
|
4892
4884
|
});
|
|
4893
|
-
const XBasicCountTo = utils.withInstall(_sfc_main$
|
|
4894
|
-
const _sfc_main$
|
|
4885
|
+
const XBasicCountTo = utils.withInstall(_sfc_main$D);
|
|
4886
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
4895
4887
|
__name: "BasicDatePicker",
|
|
4896
4888
|
props: {
|
|
4897
4889
|
disabled: { type: Boolean, default: false },
|
|
@@ -4951,7 +4943,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
4951
4943
|
};
|
|
4952
4944
|
}
|
|
4953
4945
|
});
|
|
4954
|
-
const XBasicDatePicker = utils.withInstall(_sfc_main$
|
|
4946
|
+
const XBasicDatePicker = utils.withInstall(_sfc_main$C);
|
|
4955
4947
|
const basicDragVerifyProps = {
|
|
4956
4948
|
value: {
|
|
4957
4949
|
type: Boolean,
|
|
@@ -4998,7 +4990,7 @@ const basicDragVerifyProps = {
|
|
|
4998
4990
|
default: () => ({})
|
|
4999
4991
|
}
|
|
5000
4992
|
};
|
|
5001
|
-
const _sfc_main$
|
|
4993
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
5002
4994
|
name: "BasicDragVerify",
|
|
5003
4995
|
props: basicDragVerifyProps,
|
|
5004
4996
|
emits: ["success", "update:value", "change", "start", "move", "end"],
|
|
@@ -5301,7 +5293,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
5301
5293
|
};
|
|
5302
5294
|
}
|
|
5303
5295
|
});
|
|
5304
|
-
const XBasicDragVerify = utils.withInstall(_sfc_main$
|
|
5296
|
+
const XBasicDragVerify = utils.withInstall(_sfc_main$B);
|
|
5305
5297
|
const basicHelpProps = {
|
|
5306
5298
|
/**
|
|
5307
5299
|
* Whether to display the serial number
|
|
@@ -5317,7 +5309,7 @@ const basicHelpProps = {
|
|
|
5317
5309
|
default: ""
|
|
5318
5310
|
}
|
|
5319
5311
|
};
|
|
5320
|
-
const _sfc_main$
|
|
5312
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
5321
5313
|
name: "BasicHelp",
|
|
5322
5314
|
components: {
|
|
5323
5315
|
XBasicSvgIcon
|
|
@@ -5363,8 +5355,8 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
5363
5355
|
});
|
|
5364
5356
|
}
|
|
5365
5357
|
});
|
|
5366
|
-
const XBasicHelp = utils.withInstall(_sfc_main$
|
|
5367
|
-
const _sfc_main$
|
|
5358
|
+
const XBasicHelp = utils.withInstall(_sfc_main$A);
|
|
5359
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
5368
5360
|
__name: "BasicTitle",
|
|
5369
5361
|
props: {
|
|
5370
5362
|
helpMessage: {},
|
|
@@ -5407,12 +5399,12 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
5407
5399
|
};
|
|
5408
5400
|
}
|
|
5409
5401
|
});
|
|
5410
|
-
const XBasicTitle = utils.withInstall(_sfc_main$
|
|
5402
|
+
const XBasicTitle = utils.withInstall(_sfc_main$z);
|
|
5411
5403
|
const _hoisted_1$9 = {
|
|
5412
5404
|
key: 0,
|
|
5413
5405
|
class: "footer-wrapper"
|
|
5414
5406
|
};
|
|
5415
|
-
const _sfc_main$
|
|
5407
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
5416
5408
|
__name: "BasicDrawer",
|
|
5417
5409
|
props: {
|
|
5418
5410
|
showCancelBtn: { type: Boolean, default: true },
|
|
@@ -5586,7 +5578,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
5586
5578
|
};
|
|
5587
5579
|
}
|
|
5588
5580
|
});
|
|
5589
|
-
const XBasicDrawer = utils.withInstall(_sfc_main$
|
|
5581
|
+
const XBasicDrawer = utils.withInstall(_sfc_main$y);
|
|
5590
5582
|
const basicEditBatchKey = Symbol("basic-edit-batch");
|
|
5591
5583
|
const createBasicEditBatchContext = (props) => {
|
|
5592
5584
|
return vue.provide(basicEditBatchKey, props);
|
|
@@ -5595,7 +5587,7 @@ const useBasicEditBatchContext = () => {
|
|
|
5595
5587
|
return vue.inject(basicEditBatchKey);
|
|
5596
5588
|
};
|
|
5597
5589
|
const _hoisted_1$8 = ["disabled"];
|
|
5598
|
-
const _sfc_main$
|
|
5590
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
5599
5591
|
__name: "EditBatchAction",
|
|
5600
5592
|
props: {
|
|
5601
5593
|
disabled: { type: Boolean, default: false },
|
|
@@ -5655,7 +5647,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
5655
5647
|
};
|
|
5656
5648
|
}
|
|
5657
5649
|
});
|
|
5658
|
-
const _sfc_main$
|
|
5650
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
5659
5651
|
__name: "BasicHidden",
|
|
5660
5652
|
props: {
|
|
5661
5653
|
value: {},
|
|
@@ -5682,7 +5674,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
5682
5674
|
};
|
|
5683
5675
|
}
|
|
5684
5676
|
});
|
|
5685
|
-
const XBasicHidden = utils.withInstall(_sfc_main$
|
|
5677
|
+
const XBasicHidden = utils.withInstall(_sfc_main$w);
|
|
5686
5678
|
const basicRadioGroupKey = Symbol("basic-radio-group");
|
|
5687
5679
|
const createBasicRadioGroupContext = (props) => {
|
|
5688
5680
|
return vue.provide(basicRadioGroupKey, props);
|
|
@@ -5950,7 +5942,7 @@ const BasicRadioGroup = /* @__PURE__ */ vue.defineComponent({
|
|
|
5950
5942
|
}
|
|
5951
5943
|
});
|
|
5952
5944
|
const XBasicRadioGroup = utils.withInstall(BasicRadioGroup);
|
|
5953
|
-
const _sfc_main$
|
|
5945
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
5954
5946
|
...{
|
|
5955
5947
|
inheritAttrs: false
|
|
5956
5948
|
},
|
|
@@ -6069,7 +6061,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
6069
6061
|
}
|
|
6070
6062
|
});
|
|
6071
6063
|
const basicSelectProps = {};
|
|
6072
|
-
const XBasicSelect = utils.withInstall(_sfc_main$
|
|
6064
|
+
const XBasicSelect = utils.withInstall(_sfc_main$v);
|
|
6073
6065
|
const componentMap$1 = /* @__PURE__ */ new Map();
|
|
6074
6066
|
componentMap$1.set("Input", naiveUi.NInput);
|
|
6075
6067
|
componentMap$1.set("InputNumber", naiveUi.NInputNumber);
|
|
@@ -6148,7 +6140,7 @@ function isComponentEditBatchSchema(schema) {
|
|
|
6148
6140
|
function _isSlot$1(s) {
|
|
6149
6141
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
6150
6142
|
}
|
|
6151
|
-
const _sfc_main$
|
|
6143
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
6152
6144
|
name: "BasicEditBatchItem",
|
|
6153
6145
|
components: {
|
|
6154
6146
|
XBasicHelp
|
|
@@ -6886,7 +6878,7 @@ function useEditBatchValues({ getProps, defaultValueRef, getSchema, formModel })
|
|
|
6886
6878
|
}
|
|
6887
6879
|
return { handleFormValues, initDefault };
|
|
6888
6880
|
}
|
|
6889
|
-
const _sfc_main$
|
|
6881
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
6890
6882
|
__name: "BasicEditBatch",
|
|
6891
6883
|
props: {
|
|
6892
6884
|
name: {},
|
|
@@ -7016,7 +7008,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
7016
7008
|
options: vue.unref(getOptions)
|
|
7017
7009
|
}, null, 8, ["value", "options"])
|
|
7018
7010
|
], 2),
|
|
7019
|
-
schemaItemRef.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
7011
|
+
schemaItemRef.value ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
|
|
7020
7012
|
key: 0,
|
|
7021
7013
|
schema: schemaItemRef.value,
|
|
7022
7014
|
"edit-batch-props": getProps.value,
|
|
@@ -7033,7 +7025,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
7033
7025
|
};
|
|
7034
7026
|
})
|
|
7035
7027
|
]), 1032, ["schema", "edit-batch-props", "all-default-values", "form-model"])) : vue.createCommentVNode("", true),
|
|
7036
|
-
vue.createVNode(_sfc_main$
|
|
7028
|
+
vue.createVNode(_sfc_main$x, vue.normalizeProps(vue.guardReactiveProps(getEditBatchActionBindProps.value)), vue.createSlots({ _: 2 }, [
|
|
7037
7029
|
vue.renderList(["resetBefore", "submitBefore", "submitAfter"], (item) => {
|
|
7038
7030
|
return {
|
|
7039
7031
|
name: item,
|
|
@@ -7047,7 +7039,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
7047
7039
|
};
|
|
7048
7040
|
}
|
|
7049
7041
|
});
|
|
7050
|
-
const XBasicEditBatch = utils.withInstall(_sfc_main$
|
|
7042
|
+
const XBasicEditBatch = utils.withInstall(_sfc_main$t);
|
|
7051
7043
|
const basicFontIconProps = {
|
|
7052
7044
|
icon: {
|
|
7053
7045
|
type: String,
|
|
@@ -7098,7 +7090,7 @@ const createBasicFormContext = (props) => {
|
|
|
7098
7090
|
const useBasicFormContext = () => {
|
|
7099
7091
|
return vue.inject(basicFormKey);
|
|
7100
7092
|
};
|
|
7101
|
-
const _sfc_main$
|
|
7093
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
7102
7094
|
__name: "FormAction",
|
|
7103
7095
|
props: {
|
|
7104
7096
|
showActionButtonGroup: { type: Boolean, default: true },
|
|
@@ -7238,7 +7230,7 @@ const basicScrollTextProps = {
|
|
|
7238
7230
|
default: ""
|
|
7239
7231
|
}
|
|
7240
7232
|
};
|
|
7241
|
-
const _sfc_main$
|
|
7233
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
7242
7234
|
name: "BasicScrollText",
|
|
7243
7235
|
props: basicScrollTextProps,
|
|
7244
7236
|
setup(props, {
|
|
@@ -7300,7 +7292,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
7300
7292
|
}, [content()]) : null])]);
|
|
7301
7293
|
}
|
|
7302
7294
|
});
|
|
7303
|
-
const XBasicScrollText = utils.withInstall(_sfc_main$
|
|
7295
|
+
const XBasicScrollText = utils.withInstall(_sfc_main$r);
|
|
7304
7296
|
const componentMap = /* @__PURE__ */ new Map();
|
|
7305
7297
|
componentMap.set("Input", naiveUi.NInput);
|
|
7306
7298
|
componentMap.set("InputNumber", naiveUi.NInputNumber);
|
|
@@ -7399,7 +7391,7 @@ function isComponentFormSchema(schema) {
|
|
|
7399
7391
|
function _isSlot(s) {
|
|
7400
7392
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
7401
7393
|
}
|
|
7402
|
-
const _sfc_main$
|
|
7394
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
7403
7395
|
name: "BasicFormItem",
|
|
7404
7396
|
components: {
|
|
7405
7397
|
XBasicHelp,
|
|
@@ -8499,7 +8491,7 @@ function useFormValues({ getProps, defaultValueRef, getSchema, formModel }) {
|
|
|
8499
8491
|
}
|
|
8500
8492
|
return { handleFormValues, initDefault };
|
|
8501
8493
|
}
|
|
8502
|
-
const _sfc_main$
|
|
8494
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
8503
8495
|
__name: "BasicForm",
|
|
8504
8496
|
props: {
|
|
8505
8497
|
card: { type: Boolean, default: false },
|
|
@@ -8690,7 +8682,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
8690
8682
|
default: vue.withCtx(() => [
|
|
8691
8683
|
vue.renderSlot(_ctx.$slots, "formHeader"),
|
|
8692
8684
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(getSchema), (schema) => {
|
|
8693
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
8685
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$q, {
|
|
8694
8686
|
key: schema.field,
|
|
8695
8687
|
"is-advanced": vue.unref(fieldsIsAdvancedMap)[schema.field],
|
|
8696
8688
|
"form-action-type": formActionType,
|
|
@@ -8710,7 +8702,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
8710
8702
|
})
|
|
8711
8703
|
]), 1032, ["is-advanced", "schema", "form-props", "all-default-values", "form-model"]);
|
|
8712
8704
|
}), 128)),
|
|
8713
|
-
vue.createVNode(_sfc_main$
|
|
8705
|
+
vue.createVNode(_sfc_main$s, vue.mergeProps(getFormActionBindProps.value, { onToggleAdvanced: vue.unref(handleToggleAdvanced) }), vue.createSlots({ _: 2 }, [
|
|
8714
8706
|
vue.renderList(["resetBefore", "submitBefore", "advanceBefore", "advanceAfter"], (item) => {
|
|
8715
8707
|
return {
|
|
8716
8708
|
name: item,
|
|
@@ -8731,8 +8723,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
8731
8723
|
};
|
|
8732
8724
|
}
|
|
8733
8725
|
});
|
|
8734
|
-
const XBasicForm = utils.withInstall(_sfc_main$
|
|
8735
|
-
const _sfc_main$
|
|
8726
|
+
const XBasicForm = utils.withInstall(_sfc_main$p);
|
|
8727
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
8736
8728
|
__name: "BasicGradientTitle",
|
|
8737
8729
|
props: {
|
|
8738
8730
|
text: {}
|
|
@@ -8765,7 +8757,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
8765
8757
|
}
|
|
8766
8758
|
});
|
|
8767
8759
|
const basicGradientTitleProps = {};
|
|
8768
|
-
const XBasicGradientTitle = utils.withInstall(_sfc_main$
|
|
8760
|
+
const XBasicGradientTitle = utils.withInstall(_sfc_main$o);
|
|
8769
8761
|
const basicIconOnlineProps = {
|
|
8770
8762
|
icon: {
|
|
8771
8763
|
type: String,
|
|
@@ -12664,7 +12656,7 @@ const IconJson = {
|
|
|
12664
12656
|
};
|
|
12665
12657
|
const _hoisted_1$7 = { class: "panel-icon-list" };
|
|
12666
12658
|
const _hoisted_2$3 = ["title", "onClick"];
|
|
12667
|
-
const _sfc_main$
|
|
12659
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
12668
12660
|
__name: "BasicIconPicker",
|
|
12669
12661
|
props: {
|
|
12670
12662
|
disabled: { type: Boolean },
|
|
@@ -12894,7 +12886,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
12894
12886
|
};
|
|
12895
12887
|
}
|
|
12896
12888
|
});
|
|
12897
|
-
const XBasicIconPicker = utils.withInstall(_sfc_main$
|
|
12889
|
+
const XBasicIconPicker = utils.withInstall(_sfc_main$n);
|
|
12898
12890
|
const ROW_KEY$1 = "_MAX_ROW_KEY";
|
|
12899
12891
|
const PAGE_SIZE_OPTIONS$1 = [10, 50, 80, 100];
|
|
12900
12892
|
const PAGE_SIZE$1 = 10;
|
|
@@ -13224,7 +13216,7 @@ function usePagination$1(propsRef) {
|
|
|
13224
13216
|
}
|
|
13225
13217
|
return { getPagination, getPaginationInfo, setShowPagination, getShowPagination, setPagination };
|
|
13226
13218
|
}
|
|
13227
|
-
const _sfc_main$
|
|
13219
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
13228
13220
|
__name: "BasicListPage",
|
|
13229
13221
|
props: {
|
|
13230
13222
|
listClassName: {},
|
|
@@ -13393,7 +13385,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
13393
13385
|
};
|
|
13394
13386
|
}
|
|
13395
13387
|
});
|
|
13396
|
-
const XBasicListPage = utils.withInstall(_sfc_main$
|
|
13388
|
+
const XBasicListPage = utils.withInstall(_sfc_main$m);
|
|
13397
13389
|
function createLoadingComponent(options) {
|
|
13398
13390
|
let afterLeaveTimer;
|
|
13399
13391
|
const afterLeaveFlag = vue.ref(false);
|
|
@@ -13662,7 +13654,7 @@ const XBasicLoading = {
|
|
|
13662
13654
|
directive: vLoading,
|
|
13663
13655
|
service: Loading
|
|
13664
13656
|
};
|
|
13665
|
-
const _sfc_main$
|
|
13657
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
13666
13658
|
__name: "BasicModal",
|
|
13667
13659
|
props: {
|
|
13668
13660
|
width: {},
|
|
@@ -13814,12 +13806,12 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
13814
13806
|
}
|
|
13815
13807
|
});
|
|
13816
13808
|
const basicModalProps = {};
|
|
13817
|
-
const XBasicModal = utils.withInstall(_sfc_main$
|
|
13809
|
+
const XBasicModal = utils.withInstall(_sfc_main$l);
|
|
13818
13810
|
const _hoisted_1$6 = ["id"];
|
|
13819
13811
|
const _hoisted_2$2 = ["textContent"];
|
|
13820
13812
|
const _hoisted_3 = { key: 0 };
|
|
13821
13813
|
const _hoisted_4 = ["innerHTML"];
|
|
13822
|
-
const _sfc_main$
|
|
13814
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
13823
13815
|
__name: "BasicNotification",
|
|
13824
13816
|
props: {
|
|
13825
13817
|
customClass: { default: "" },
|
|
@@ -14006,7 +13998,7 @@ const notify = (options, context) => {
|
|
|
14006
13998
|
appendTo = document.body;
|
|
14007
13999
|
}
|
|
14008
14000
|
const container = document.createElement("div");
|
|
14009
|
-
const vm = vue.createVNode(_sfc_main$
|
|
14001
|
+
const vm = vue.createVNode(_sfc_main$k, props, utils.isFunction(props.message) ? props.message : vue.isVNode(props.message) ? () => props.message : null);
|
|
14010
14002
|
vm.appContext = utils.isUndefined(context) ? notify._context : context;
|
|
14011
14003
|
vm.props.onDestroy = () => {
|
|
14012
14004
|
vue.render(null, container);
|
|
@@ -14064,7 +14056,7 @@ notify.closeAll = closeAll;
|
|
|
14064
14056
|
notify._context = null;
|
|
14065
14057
|
const $Notification = notify;
|
|
14066
14058
|
const XBasicNotification = $Notification;
|
|
14067
|
-
const _sfc_main$
|
|
14059
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
14068
14060
|
__name: "BasicPage",
|
|
14069
14061
|
props: {
|
|
14070
14062
|
title: {},
|
|
@@ -14164,8 +14156,8 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
14164
14156
|
};
|
|
14165
14157
|
}
|
|
14166
14158
|
});
|
|
14167
|
-
const XBasicPage = utils.withInstall(_sfc_main$
|
|
14168
|
-
const _sfc_main$
|
|
14159
|
+
const XBasicPage = utils.withInstall(_sfc_main$j);
|
|
14160
|
+
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
14169
14161
|
__name: "BasicPanel",
|
|
14170
14162
|
props: {
|
|
14171
14163
|
title: {},
|
|
@@ -14202,7 +14194,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
14202
14194
|
};
|
|
14203
14195
|
}
|
|
14204
14196
|
});
|
|
14205
|
-
const XBasicPanel = utils.withInstall(_sfc_main$
|
|
14197
|
+
const XBasicPanel = utils.withInstall(_sfc_main$i);
|
|
14206
14198
|
const basicRowProps = {
|
|
14207
14199
|
align: String,
|
|
14208
14200
|
justify: String,
|
|
@@ -14346,7 +14338,7 @@ const BasicRow = /* @__PURE__ */ vue.defineComponent({
|
|
|
14346
14338
|
}
|
|
14347
14339
|
});
|
|
14348
14340
|
const XBasicRow = utils.withInstall(BasicRow);
|
|
14349
|
-
const _sfc_main$
|
|
14341
|
+
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
14350
14342
|
__name: "BasicSubPanel",
|
|
14351
14343
|
props: {
|
|
14352
14344
|
title: {}
|
|
@@ -14382,7 +14374,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
14382
14374
|
}
|
|
14383
14375
|
});
|
|
14384
14376
|
const basicSubPanelProps = {};
|
|
14385
|
-
const XBasicSubPanel = utils.withInstall(_sfc_main$
|
|
14377
|
+
const XBasicSubPanel = utils.withInstall(_sfc_main$h);
|
|
14386
14378
|
const ROW_KEY = "_MAX_ROW_KEY";
|
|
14387
14379
|
const PAGE_SIZE_OPTIONS = [10, 50, 80, 100];
|
|
14388
14380
|
const PAGE_SIZE = 10;
|
|
@@ -15250,7 +15242,7 @@ const setting = {
|
|
|
15250
15242
|
})
|
|
15251
15243
|
};
|
|
15252
15244
|
const _hoisted_1$5 = { class: "max-table-selection-count" };
|
|
15253
|
-
const _sfc_main$
|
|
15245
|
+
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
15254
15246
|
__name: "BasicTable",
|
|
15255
15247
|
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
15256
15248
|
layouts: {},
|
|
@@ -15645,7 +15637,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
15645
15637
|
], 2)) : vue.createCommentVNode("", true),
|
|
15646
15638
|
vue.renderSlot(_ctx.$slots, "selection-wrapper-after")
|
|
15647
15639
|
], 2),
|
|
15648
|
-
((_a = vue.unref(getPaginationInfo)) == null ? void 0 : _a.total) &&
|
|
15640
|
+
((_a = vue.unref(getPaginationInfo)) == null ? void 0 : _a.total) && getProps.value.pagination ? (vue.openBlock(), vue.createBlock(vue.unref(vxePcUi.VxePager), vue.mergeProps({ key: 0 }, vue.unref(getPaginationInfo), { onPageChange: vue.unref(onPageChange) }), null, 16, ["onPageChange"])) : vue.createCommentVNode("", true)
|
|
15649
15641
|
], 2)
|
|
15650
15642
|
];
|
|
15651
15643
|
}),
|
|
@@ -15704,8 +15696,8 @@ const vxeTableFormatter = {
|
|
|
15704
15696
|
}
|
|
15705
15697
|
};
|
|
15706
15698
|
vxeTable.VxeUI.formats.mixin(vxeTableFormatter);
|
|
15707
|
-
const XBasicTable = utils.withInstall(_sfc_main$
|
|
15708
|
-
const _sfc_main$
|
|
15699
|
+
const XBasicTable = utils.withInstall(_sfc_main$g);
|
|
15700
|
+
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
15709
15701
|
__name: "BasicTag",
|
|
15710
15702
|
props: {
|
|
15711
15703
|
tagType: { type: [Number, Boolean] },
|
|
@@ -15730,7 +15722,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
15730
15722
|
};
|
|
15731
15723
|
}
|
|
15732
15724
|
});
|
|
15733
|
-
const XBasicTag = utils.withInstall(_sfc_main$
|
|
15725
|
+
const XBasicTag = utils.withInstall(_sfc_main$f);
|
|
15734
15726
|
const attrAccept = (file, acceptedFiles) => {
|
|
15735
15727
|
if (file && acceptedFiles) {
|
|
15736
15728
|
const acceptedFilesArray = Array.isArray(acceptedFiles) ? acceptedFiles : acceptedFiles.split(",");
|
|
@@ -17467,7 +17459,7 @@ const BasicUploadDragger = /* @__PURE__ */ vue.defineComponent({
|
|
|
17467
17459
|
const XBasicUploadDragger = utils.withInstall(BasicUploadDragger);
|
|
17468
17460
|
const _hoisted_1$4 = ["title"];
|
|
17469
17461
|
const _hoisted_2$1 = ["title"];
|
|
17470
|
-
const _sfc_main$
|
|
17462
|
+
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
17471
17463
|
__name: "BasicViewBar",
|
|
17472
17464
|
props: {
|
|
17473
17465
|
fixed: { type: Boolean },
|
|
@@ -17579,8 +17571,8 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
17579
17571
|
};
|
|
17580
17572
|
}
|
|
17581
17573
|
});
|
|
17582
|
-
const XBasicViewBar = utils.withInstall(_sfc_main$
|
|
17583
|
-
const _sfc_main$
|
|
17574
|
+
const XBasicViewBar = utils.withInstall(_sfc_main$e);
|
|
17575
|
+
const _sfc_main$d = vue.defineComponent({
|
|
17584
17576
|
name: "CLoadingIcon"
|
|
17585
17577
|
});
|
|
17586
17578
|
const _hoisted_1$3 = { viewBox: "0 0 50 50" };
|
|
@@ -17597,7 +17589,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17597
17589
|
}, null, -1)
|
|
17598
17590
|
])]);
|
|
17599
17591
|
}
|
|
17600
|
-
const LoadingIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17592
|
+
const LoadingIcon = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render]]);
|
|
17601
17593
|
var ignoreEnum = /* @__PURE__ */ ((ignoreEnum2) => {
|
|
17602
17594
|
ignoreEnum2["none"] = "none";
|
|
17603
17595
|
ignoreEnum2["parents"] = "parents";
|
|
@@ -17798,7 +17790,7 @@ const useTreeNodeCls = (props, dragoverRefs) => {
|
|
|
17798
17790
|
};
|
|
17799
17791
|
const _hoisted_1$2 = ["d", "stroke-width", "stroke", "stroke-dasharray"];
|
|
17800
17792
|
const _hoisted_2 = ["draggable"];
|
|
17801
|
-
const _sfc_main$
|
|
17793
|
+
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
17802
17794
|
...{
|
|
17803
17795
|
name: "VTreeNode"
|
|
17804
17796
|
},
|
|
@@ -18112,7 +18104,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
18112
18104
|
};
|
|
18113
18105
|
}
|
|
18114
18106
|
});
|
|
18115
|
-
const XTreeNode = utils.withInstall(_sfc_main$
|
|
18107
|
+
const XTreeNode = utils.withInstall(_sfc_main$c);
|
|
18116
18108
|
const useExpandAnimation = (renderNodesRef, renderStartRef, props) => {
|
|
18117
18109
|
const expandAnimationStart = vue.ref(false);
|
|
18118
18110
|
const expandAnimationReady = vue.ref(false);
|
|
@@ -19562,7 +19554,7 @@ const pickReadonly = (obj, ...keys) => {
|
|
|
19562
19554
|
});
|
|
19563
19555
|
return picked;
|
|
19564
19556
|
};
|
|
19565
|
-
const _sfc_main$
|
|
19557
|
+
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
19566
19558
|
...{
|
|
19567
19559
|
name: "VTree",
|
|
19568
19560
|
inheritAttrs: false
|
|
@@ -20051,7 +20043,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
20051
20043
|
};
|
|
20052
20044
|
}
|
|
20053
20045
|
});
|
|
20054
|
-
const XTree = utils.withInstall(_sfc_main$
|
|
20046
|
+
const XTree = utils.withInstall(_sfc_main$b);
|
|
20055
20047
|
const useTreeSearchCls = (props, options) => {
|
|
20056
20048
|
const { checkAllStatus, isShowingChecked } = options;
|
|
20057
20049
|
const { b } = useNamespace("tree-search");
|
|
@@ -20137,7 +20129,7 @@ const DEFAULT_TREE_SEARCH_PROPS = {
|
|
|
20137
20129
|
};
|
|
20138
20130
|
const TREE_SEARCH_EVENTS = ["search", ...TREE_EVENTS];
|
|
20139
20131
|
const _hoisted_1$1 = ["placeholder", "disabled"];
|
|
20140
|
-
const _sfc_main$
|
|
20132
|
+
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
20141
20133
|
...{
|
|
20142
20134
|
name: "VTreeSearch",
|
|
20143
20135
|
inheritAttrs: false
|
|
@@ -20447,7 +20439,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
20447
20439
|
};
|
|
20448
20440
|
}
|
|
20449
20441
|
});
|
|
20450
|
-
const XTreeSearch = utils.withInstall(_sfc_main$
|
|
20442
|
+
const XTreeSearch = utils.withInstall(_sfc_main$a);
|
|
20451
20443
|
const useTreeDropCls = (props, options) => {
|
|
20452
20444
|
const { dropdownVisible, checkedCount, selectedTitle } = options;
|
|
20453
20445
|
const { b } = useNamespace("tree-drop");
|
|
@@ -20519,7 +20511,7 @@ const DEFAULT_TREE_DROP_PROPS = {
|
|
|
20519
20511
|
};
|
|
20520
20512
|
const TREE_SEARCH_API_METHODS = [...TREE_API_METHODS, "clearKeyword", "getKeyword", "search"];
|
|
20521
20513
|
const TREE_DROP_EVENTS = ["clear", "dropdown-visible-change", ...TREE_SEARCH_EVENTS];
|
|
20522
|
-
const _sfc_main$
|
|
20514
|
+
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
20523
20515
|
...{
|
|
20524
20516
|
name: "VTreeDrop",
|
|
20525
20517
|
inheritAttrs: false
|
|
@@ -20884,7 +20876,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
20884
20876
|
};
|
|
20885
20877
|
}
|
|
20886
20878
|
});
|
|
20887
|
-
const XTreeDrop = utils.withInstall(_sfc_main$
|
|
20879
|
+
const XTreeDrop = utils.withInstall(_sfc_main$9);
|
|
20888
20880
|
const components = [
|
|
20889
20881
|
XConfigProvider,
|
|
20890
20882
|
XBasicSvgIcon,
|
|
@@ -20946,7 +20938,7 @@ const makeInstaller = (components2 = []) => {
|
|
|
20946
20938
|
};
|
|
20947
20939
|
};
|
|
20948
20940
|
const installer = makeInstaller([...components]);
|
|
20949
|
-
const _sfc_main$
|
|
20941
|
+
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
20950
20942
|
__name: "BasicButtonCreate",
|
|
20951
20943
|
emits: ["click"],
|
|
20952
20944
|
setup(__props, { emit: __emit }) {
|
|
@@ -20970,7 +20962,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
20970
20962
|
};
|
|
20971
20963
|
}
|
|
20972
20964
|
});
|
|
20973
|
-
const _sfc_main$
|
|
20965
|
+
const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
20974
20966
|
__name: "BasicButtonDelete",
|
|
20975
20967
|
emits: ["click"],
|
|
20976
20968
|
setup(__props, { emit: __emit }) {
|
|
@@ -20994,7 +20986,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
20994
20986
|
};
|
|
20995
20987
|
}
|
|
20996
20988
|
});
|
|
20997
|
-
const _sfc_main$
|
|
20989
|
+
const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
20998
20990
|
__name: "BasicButtonEdit",
|
|
20999
20991
|
emits: ["click"],
|
|
21000
20992
|
setup(__props, { emit: __emit }) {
|
|
@@ -21018,7 +21010,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
|
21018
21010
|
};
|
|
21019
21011
|
}
|
|
21020
21012
|
});
|
|
21021
|
-
const _sfc_main$
|
|
21013
|
+
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
21022
21014
|
__name: "BasicButtonExport",
|
|
21023
21015
|
props: {
|
|
21024
21016
|
href: {},
|
|
@@ -21069,7 +21061,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
21069
21061
|
}
|
|
21070
21062
|
});
|
|
21071
21063
|
const _hoisted_1 = ["multiple", "name", "accept"];
|
|
21072
|
-
const _sfc_main$
|
|
21064
|
+
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
21073
21065
|
__name: "BasicButtonImport",
|
|
21074
21066
|
props: {
|
|
21075
21067
|
name: { default: "file" },
|
|
@@ -21159,8 +21151,8 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
21159
21151
|
};
|
|
21160
21152
|
}
|
|
21161
21153
|
});
|
|
21162
|
-
const BasicButtonImport = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21163
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
21154
|
+
const BasicButtonImport = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-aee6611b"]]);
|
|
21155
|
+
const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
21164
21156
|
__name: "BasicButtonPrint",
|
|
21165
21157
|
emits: ["click"],
|
|
21166
21158
|
setup(__props, { emit: __emit }) {
|
|
@@ -21184,12 +21176,227 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
21184
21176
|
};
|
|
21185
21177
|
}
|
|
21186
21178
|
});
|
|
21187
|
-
const XBasicButtonCreate = utils.withInstall(_sfc_main$
|
|
21188
|
-
const XBasicButtonEdit = utils.withInstall(_sfc_main$
|
|
21189
|
-
const XBasicButtonDelete = utils.withInstall(_sfc_main$
|
|
21190
|
-
const XBasicButtonExport = utils.withInstall(_sfc_main$
|
|
21179
|
+
const XBasicButtonCreate = utils.withInstall(_sfc_main$8);
|
|
21180
|
+
const XBasicButtonEdit = utils.withInstall(_sfc_main$6);
|
|
21181
|
+
const XBasicButtonDelete = utils.withInstall(_sfc_main$7);
|
|
21182
|
+
const XBasicButtonExport = utils.withInstall(_sfc_main$5);
|
|
21191
21183
|
const XBasicButtonImport = utils.withInstall(BasicButtonImport);
|
|
21192
|
-
const XBasicButtonPrint = utils.withInstall(_sfc_main);
|
|
21184
|
+
const XBasicButtonPrint = utils.withInstall(_sfc_main$3);
|
|
21185
|
+
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
21186
|
+
__name: "BasicDrawerFooter",
|
|
21187
|
+
props: {
|
|
21188
|
+
showDeleteButton: { type: Boolean, default: false },
|
|
21189
|
+
showCancelButton: { type: Boolean, default: true },
|
|
21190
|
+
showConfirmButton: { type: Boolean, default: true },
|
|
21191
|
+
confirmText: { default: "确定" },
|
|
21192
|
+
cancelText: { default: "取消" },
|
|
21193
|
+
loading: { type: Boolean, default: false }
|
|
21194
|
+
},
|
|
21195
|
+
emits: ["delete", "cancel", "confirm"],
|
|
21196
|
+
setup(__props, { emit: __emit }) {
|
|
21197
|
+
const props = __props;
|
|
21198
|
+
const emit = __emit;
|
|
21199
|
+
const { b } = useNamespace("basic-drawer-footer");
|
|
21200
|
+
const { t } = useLocale();
|
|
21201
|
+
function onDeleteClickHandler() {
|
|
21202
|
+
XBasicMessageBox.confirm(t("max.notification.delete"), t("max.basic.warning")).then(() => {
|
|
21203
|
+
emit("delete");
|
|
21204
|
+
}).catch(() => {
|
|
21205
|
+
});
|
|
21206
|
+
}
|
|
21207
|
+
function onCancelClickHandler() {
|
|
21208
|
+
emit("cancel");
|
|
21209
|
+
}
|
|
21210
|
+
function onConfirmClickHandler() {
|
|
21211
|
+
emit("confirm");
|
|
21212
|
+
}
|
|
21213
|
+
return (_ctx, _cache) => {
|
|
21214
|
+
return vue.openBlock(), vue.createElementBlock("span", {
|
|
21215
|
+
class: vue.normalizeClass(vue.unref(b)())
|
|
21216
|
+
}, [
|
|
21217
|
+
vue.createElementVNode("span", {
|
|
21218
|
+
class: vue.normalizeClass(vue.unref(b)("left-buttons"))
|
|
21219
|
+
}, [
|
|
21220
|
+
props.showDeleteButton ? (vue.openBlock(), vue.createBlock(vue.unref(XBasicButton), {
|
|
21221
|
+
key: 0,
|
|
21222
|
+
type: "error",
|
|
21223
|
+
icon: "ri:delete-bin-line",
|
|
21224
|
+
loading: props.loading,
|
|
21225
|
+
onClick: onDeleteClickHandler
|
|
21226
|
+
}, {
|
|
21227
|
+
default: vue.withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
21228
|
+
vue.createTextVNode(" 删除 ", -1)
|
|
21229
|
+
])]),
|
|
21230
|
+
_: 1
|
|
21231
|
+
}, 8, ["loading"])) : vue.createCommentVNode("", true)
|
|
21232
|
+
], 2),
|
|
21233
|
+
vue.createElementVNode("span", {
|
|
21234
|
+
class: vue.normalizeClass(vue.unref(b)("right-buttons"))
|
|
21235
|
+
}, [
|
|
21236
|
+
props.showCancelButton ? (vue.openBlock(), vue.createBlock(vue.unref(XBasicButton), {
|
|
21237
|
+
key: 0,
|
|
21238
|
+
class: "mr-4px",
|
|
21239
|
+
onClick: onCancelClickHandler
|
|
21240
|
+
}, {
|
|
21241
|
+
default: vue.withCtx(() => [
|
|
21242
|
+
vue.createTextVNode(vue.toDisplayString(props.cancelText), 1)
|
|
21243
|
+
]),
|
|
21244
|
+
_: 1
|
|
21245
|
+
})) : vue.createCommentVNode("", true),
|
|
21246
|
+
props.showConfirmButton ? (vue.openBlock(), vue.createBlock(vue.unref(XBasicButton), {
|
|
21247
|
+
key: 1,
|
|
21248
|
+
type: "primary",
|
|
21249
|
+
loading: props.loading,
|
|
21250
|
+
onClick: onConfirmClickHandler
|
|
21251
|
+
}, {
|
|
21252
|
+
default: vue.withCtx(() => [
|
|
21253
|
+
vue.createTextVNode(vue.toDisplayString(props.confirmText), 1)
|
|
21254
|
+
]),
|
|
21255
|
+
_: 1
|
|
21256
|
+
}, 8, ["loading"])) : vue.createCommentVNode("", true)
|
|
21257
|
+
], 2)
|
|
21258
|
+
], 2);
|
|
21259
|
+
};
|
|
21260
|
+
}
|
|
21261
|
+
});
|
|
21262
|
+
const XBasicDrawerFooter = utils.withInstall(_sfc_main$2);
|
|
21263
|
+
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
21264
|
+
__name: "BasicMasterTrigger",
|
|
21265
|
+
props: {
|
|
21266
|
+
value: {},
|
|
21267
|
+
disabled: { type: Boolean },
|
|
21268
|
+
defaultValue: {},
|
|
21269
|
+
onUpdateValue: { type: Function },
|
|
21270
|
+
onChange: { type: Function },
|
|
21271
|
+
onSelect: { type: Function }
|
|
21272
|
+
},
|
|
21273
|
+
setup(__props) {
|
|
21274
|
+
const props = __props;
|
|
21275
|
+
const attrs = vue.useAttrs();
|
|
21276
|
+
const { b } = useNamespace("basic-master-trigger");
|
|
21277
|
+
const uncontrolledValueRef = vue.ref(props.defaultValue || "");
|
|
21278
|
+
const controlledValueRef = vue.toRef(props, "value");
|
|
21279
|
+
const mergedValueRef = vue.computed(() => {
|
|
21280
|
+
if (controlledValueRef.value === void 0) {
|
|
21281
|
+
return uncontrolledValueRef.value;
|
|
21282
|
+
}
|
|
21283
|
+
return controlledValueRef.value;
|
|
21284
|
+
});
|
|
21285
|
+
function onUpdateValueHandler(value) {
|
|
21286
|
+
if (props.disabled) return;
|
|
21287
|
+
const { onChange, onUpdateValue } = props;
|
|
21288
|
+
if (onChange) utils.call(onChange, value);
|
|
21289
|
+
if (onUpdateValue) utils.call(onUpdateValue, value);
|
|
21290
|
+
uncontrolledValueRef.value = value;
|
|
21291
|
+
}
|
|
21292
|
+
function onSelectHandler() {
|
|
21293
|
+
var _a;
|
|
21294
|
+
if (props.disabled) return;
|
|
21295
|
+
(_a = props.onSelect) == null ? void 0 : _a.call(props);
|
|
21296
|
+
}
|
|
21297
|
+
vue.watch(controlledValueRef, (value) => {
|
|
21298
|
+
if (value !== void 0) {
|
|
21299
|
+
uncontrolledValueRef.value = value;
|
|
21300
|
+
} else {
|
|
21301
|
+
uncontrolledValueRef.value = "";
|
|
21302
|
+
}
|
|
21303
|
+
});
|
|
21304
|
+
return (_ctx, _cache) => {
|
|
21305
|
+
return vue.openBlock(), vue.createBlock(vue.unref(naiveUi.NInput), vue.mergeProps({
|
|
21306
|
+
value: mergedValueRef.value,
|
|
21307
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => mergedValueRef.value = $event)
|
|
21308
|
+
}, vue.unref(attrs), {
|
|
21309
|
+
disabled: __props.disabled,
|
|
21310
|
+
class: vue.unref(b)(),
|
|
21311
|
+
title: mergedValueRef.value,
|
|
21312
|
+
"onUpdate:value": onUpdateValueHandler
|
|
21313
|
+
}), {
|
|
21314
|
+
suffix: vue.withCtx(() => [
|
|
21315
|
+
vue.withDirectives(vue.createElementVNode("span", {
|
|
21316
|
+
class: vue.normalizeClass(vue.unref(b)("select-button")),
|
|
21317
|
+
onClick: onSelectHandler
|
|
21318
|
+
}, "选择", 2), [
|
|
21319
|
+
[vue.vShow, !__props.disabled]
|
|
21320
|
+
])
|
|
21321
|
+
]),
|
|
21322
|
+
_: 1
|
|
21323
|
+
}, 16, ["value", "disabled", "class", "title"]);
|
|
21324
|
+
};
|
|
21325
|
+
}
|
|
21326
|
+
});
|
|
21327
|
+
const XBasicMasterTrigger = utils.withInstall(_sfc_main$1);
|
|
21328
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
21329
|
+
__name: "BasicPanelPage",
|
|
21330
|
+
props: {
|
|
21331
|
+
autoContentHeight: { type: Boolean, default: true }
|
|
21332
|
+
},
|
|
21333
|
+
setup(__props) {
|
|
21334
|
+
const props = __props;
|
|
21335
|
+
const { b, e } = useNamespace("basic-panel-page");
|
|
21336
|
+
let timer = null;
|
|
21337
|
+
const headerHeight = vue.ref(0);
|
|
21338
|
+
const footerHeight = vue.ref(0);
|
|
21339
|
+
const shouldAutoHeight = vue.ref(false);
|
|
21340
|
+
const headerRef = vue.ref();
|
|
21341
|
+
const footerRef = vue.ref();
|
|
21342
|
+
const contentStyle = vue.computed(() => {
|
|
21343
|
+
if (props.autoContentHeight) {
|
|
21344
|
+
return {
|
|
21345
|
+
height: shouldAutoHeight.value ? `calc(100% - ${headerHeight.value}px - ${footerHeight.value}px)` : "0"
|
|
21346
|
+
};
|
|
21347
|
+
}
|
|
21348
|
+
return {};
|
|
21349
|
+
});
|
|
21350
|
+
async function calcContentHeight() {
|
|
21351
|
+
if (!props.autoContentHeight) return;
|
|
21352
|
+
await vue.nextTick();
|
|
21353
|
+
timer = setTimeout(() => {
|
|
21354
|
+
var _a, _b;
|
|
21355
|
+
headerHeight.value = ((_a = headerRef.value) == null ? void 0 : _a.offsetHeight) || 0;
|
|
21356
|
+
footerHeight.value = ((_b = footerRef.value) == null ? void 0 : _b.offsetHeight) || 0;
|
|
21357
|
+
shouldAutoHeight.value = true;
|
|
21358
|
+
}, 30);
|
|
21359
|
+
}
|
|
21360
|
+
vue.onMounted(() => {
|
|
21361
|
+
calcContentHeight();
|
|
21362
|
+
});
|
|
21363
|
+
vue.onUnmounted(() => {
|
|
21364
|
+
if (timer) {
|
|
21365
|
+
clearTimeout(timer);
|
|
21366
|
+
timer = null;
|
|
21367
|
+
}
|
|
21368
|
+
});
|
|
21369
|
+
return (_ctx, _cache) => {
|
|
21370
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
21371
|
+
class: vue.normalizeClass(vue.unref(b)())
|
|
21372
|
+
}, [
|
|
21373
|
+
_ctx.$slots.header ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
21374
|
+
key: 0,
|
|
21375
|
+
ref_key: "headerRef",
|
|
21376
|
+
ref: headerRef,
|
|
21377
|
+
class: vue.normalizeClass(vue.unref(e)("header"))
|
|
21378
|
+
}, [
|
|
21379
|
+
vue.renderSlot(_ctx.$slots, "header")
|
|
21380
|
+
], 2)) : vue.createCommentVNode("", true),
|
|
21381
|
+
vue.createElementVNode("div", {
|
|
21382
|
+
class: vue.normalizeClass(vue.unref(e)("content")),
|
|
21383
|
+
style: vue.normalizeStyle(contentStyle.value)
|
|
21384
|
+
}, [
|
|
21385
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
21386
|
+
], 6),
|
|
21387
|
+
_ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
21388
|
+
key: 1,
|
|
21389
|
+
ref_key: "footerRef",
|
|
21390
|
+
ref: footerRef,
|
|
21391
|
+
class: vue.normalizeClass(vue.unref(e)("footer"))
|
|
21392
|
+
}, [
|
|
21393
|
+
vue.renderSlot(_ctx.$slots, "footer")
|
|
21394
|
+
], 2)) : vue.createCommentVNode("", true)
|
|
21395
|
+
], 2);
|
|
21396
|
+
};
|
|
21397
|
+
}
|
|
21398
|
+
});
|
|
21399
|
+
const XBasicPanelPage = utils.withInstall(_sfc_main);
|
|
21193
21400
|
const install = installer.install;
|
|
21194
21401
|
Object.defineProperty(exports, "UIGlobal", {
|
|
21195
21402
|
enumerable: true,
|
|
@@ -21243,6 +21450,7 @@ exports.XBasicCountTo = XBasicCountTo;
|
|
|
21243
21450
|
exports.XBasicDatePicker = XBasicDatePicker;
|
|
21244
21451
|
exports.XBasicDragVerify = XBasicDragVerify;
|
|
21245
21452
|
exports.XBasicDrawer = XBasicDrawer;
|
|
21453
|
+
exports.XBasicDrawerFooter = XBasicDrawerFooter;
|
|
21246
21454
|
exports.XBasicEditBatch = XBasicEditBatch;
|
|
21247
21455
|
exports.XBasicFontIcon = XBasicFontIcon;
|
|
21248
21456
|
exports.XBasicForm = XBasicForm;
|
|
@@ -21255,11 +21463,13 @@ exports.XBasicListPage = XBasicListPage;
|
|
|
21255
21463
|
exports.XBasicLoading = XBasicLoading;
|
|
21256
21464
|
exports.XBasicLoadingDirective = vLoading;
|
|
21257
21465
|
exports.XBasicLoadingService = Loading;
|
|
21466
|
+
exports.XBasicMasterTrigger = XBasicMasterTrigger;
|
|
21258
21467
|
exports.XBasicMessageBox = XBasicMessageBox;
|
|
21259
21468
|
exports.XBasicModal = XBasicModal;
|
|
21260
21469
|
exports.XBasicNotification = XBasicNotification;
|
|
21261
21470
|
exports.XBasicPage = XBasicPage;
|
|
21262
21471
|
exports.XBasicPanel = XBasicPanel;
|
|
21472
|
+
exports.XBasicPanelPage = XBasicPanelPage;
|
|
21263
21473
|
exports.XBasicRadio = XBasicRadio;
|
|
21264
21474
|
exports.XBasicRadioGroup = XBasicRadioGroup;
|
|
21265
21475
|
exports.XBasicRow = XBasicRow;
|