@aplus-frontend/ui 6.26.1 → 6.26.3
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/es/src/ag-grid/components/header-cell/index.vue2.mjs +26 -29
- package/es/src/ag-grid/hooks/use-columns-def.mjs +69 -72
- package/es/src/ag-grid/hooks/use-columns.mjs +11 -13
- package/es/src/ag-grid/hooks/use-row-selection.mjs +43 -43
- package/es/src/ag-grid/hooks/use-search-form.mjs +33 -36
- package/es/src/ag-grid/index.vue.mjs +251 -268
- package/es/src/ag-grid/interface.d.ts +4 -0
- package/es/src/ag-grid/renderer/checkbox.mjs +4 -5
- package/es/src/ag-grid/renderer/date-range.mjs +11 -12
- package/es/src/ag-grid/renderer/date.mjs +12 -13
- package/es/src/ag-grid/renderer/radio.mjs +9 -10
- package/es/src/ag-grid/renderer/select.mjs +10 -17
- package/es/src/ag-grid/renderer/tree-select.mjs +8 -10
- package/es/src/ap-action/item/index.vue2.mjs +19 -20
- package/es/src/ap-action/item-dropdown/index.vue.mjs +23 -24
- package/es/src/ap-action/item-modal/index.vue.mjs +15 -16
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +17 -18
- package/es/src/ap-button/ap-confirm-button.vue.mjs +18 -19
- package/es/src/ap-button/utils/index.mjs +27 -28
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +78 -86
- package/es/src/ap-descriptions/formatter/index.mjs +60 -61
- package/es/src/ap-descriptions/helper.mjs +6 -6
- package/es/src/ap-download/ap-download.vue.mjs +42 -46
- package/es/src/ap-download/hooks/index.mjs +13 -13
- package/es/src/ap-download/utils/getFileInfo.mjs +21 -21
- package/es/src/ap-drawer/utils/createDrawer.mjs +43 -52
- package/es/src/ap-field/checkbox/index.vue.mjs +31 -34
- package/es/src/ap-field/checkbox/read.vue2.mjs +11 -14
- package/es/src/ap-field/date/index.vue.mjs +66 -68
- package/es/src/ap-field/date-range/index.vue.mjs +99 -107
- package/es/src/ap-field/date-range/read.vue2.mjs +28 -32
- package/es/src/ap-field/hooks/use-date-timezone.mjs +1 -4
- package/es/src/ap-field/hooks/use-default-presets.mjs +18 -24
- package/es/src/ap-field/hooks/use-options.mjs +11 -11
- package/es/src/ap-field/number/helper.mjs +17 -17
- package/es/src/ap-field/number/index.vue.mjs +2 -4
- package/es/src/ap-field/radio/index.vue.mjs +38 -42
- package/es/src/ap-field/radio/read.vue2.mjs +12 -13
- package/es/src/ap-field/rate/index.vue.mjs +23 -25
- package/es/src/ap-field/segmented/index.vue.mjs +38 -39
- package/es/src/ap-field/select/index.vue.mjs +90 -107
- package/es/src/ap-field/select/read.vue2.mjs +13 -20
- package/es/src/ap-field/select/use-select-options.mjs +24 -25
- package/es/src/ap-field/slider/index.vue.mjs +28 -30
- package/es/src/ap-field/switch/index.vue.mjs +38 -39
- package/es/src/ap-field/text/index.vue2.mjs +43 -52
- package/es/src/ap-field/text/password.vue.mjs +20 -22
- package/es/src/ap-field/text-area/index.vue.mjs +25 -31
- package/es/src/ap-field/tree-select/index.vue.mjs +61 -65
- package/es/src/ap-field/tree-select/read.vue2.mjs +26 -28
- package/es/src/ap-field/tree-select/use-request.mjs +40 -41
- package/es/src/ap-form/ap-form.vue2.mjs +127 -142
- package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -3
- package/es/src/ap-form/drawer-form/index.vue.mjs +109 -146
- package/es/src/ap-form/hooks/use-watch.mjs +25 -26
- package/es/src/ap-form/item/index.vue.mjs +76 -81
- package/es/src/ap-form/item-group/index.vue.mjs +20 -20
- package/es/src/ap-form/items/date/index.vue.mjs +18 -21
- package/es/src/ap-form/items/date-range/index.vue.mjs +24 -27
- package/es/src/ap-form/items/number/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/number/index.vue.mjs +2 -4
- package/es/src/ap-form/items/radio/index.vue.mjs +8 -10
- package/es/src/ap-form/items/select/index.vue.d.ts +7 -7
- package/es/src/ap-form/items/select/index.vue.mjs +30 -36
- package/es/src/ap-form/items/text/index.vue2.mjs +20 -27
- package/es/src/ap-form/items/text/password.vue.mjs +12 -14
- package/es/src/ap-form/items/text-area/index.vue.mjs +18 -23
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/tree-select/index.vue.mjs +28 -34
- package/es/src/ap-form/list/index.vue.mjs +26 -26
- package/es/src/ap-form/modal-form/index.vue.d.ts +3 -3
- package/es/src/ap-form/modal-form/index.vue.mjs +98 -130
- package/es/src/ap-form/provider/index.vue.mjs +24 -24
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +9 -9
- package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +23 -24
- package/es/src/ap-form/search-form/hooks/use-sorter.mjs +25 -26
- package/es/src/ap-form/search-form/index.vue.d.ts +3 -3
- package/es/src/ap-form/search-form/index.vue.mjs +96 -103
- package/es/src/ap-form/search-form/utils.mjs +17 -17
- package/es/src/ap-form/set/index.vue.mjs +16 -20
- package/es/src/ap-form/utils/get.mjs +11 -11
- package/es/src/ap-grid/editable/form-item.vue.mjs +85 -92
- package/es/src/ap-grid/editable/index.vue.mjs +102 -116
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +40 -43
- package/es/src/ap-grid/hooks/use-inner-params.mjs +15 -15
- package/es/src/ap-grid/hooks/use-row-selection.mjs +76 -76
- package/es/src/ap-grid/index.vue.mjs +309 -334
- package/es/src/ap-grid/utils/col.mjs +78 -81
- package/es/src/ap-grid/utils/editable.mjs +17 -18
- package/es/src/ap-grid/utils/renderer.mjs +7 -11
- package/es/src/ap-grid/utils/table.mjs +45 -46
- package/es/src/ap-grid/utils/to-tree-array.mjs +9 -10
- package/es/src/ap-list/hooks/use-offline-list.mjs +16 -17
- package/es/src/ap-list/index.vue.mjs +120 -131
- package/es/src/ap-modal/utils/createModal.mjs +60 -67
- package/es/src/ap-modal/utils/createModalStream.mjs +65 -73
- package/es/src/ap-modal/utils/methods.mjs +17 -22
- package/es/src/ap-modal/utils/util.mjs +1 -1
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +114 -127
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +34 -52
- package/es/src/ap-pro-card/components/statistic-card/index.vue.d.ts +3 -1
- package/es/src/ap-pro-card/components/statistic-card/index.vue2.mjs +47 -57
- package/es/src/ap-table/ap-table.vue2.mjs +270 -303
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +54 -60
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +56 -57
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +61 -70
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +35 -38
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +104 -109
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +37 -39
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +51 -57
- package/es/src/ap-table/components/setting/utils.mjs +44 -46
- package/es/src/ap-table/constants.d.ts +6 -6
- package/es/src/ap-table/hooks/use-sticky-scroll.mjs +7 -10
- package/es/src/ap-table/hooks/use-table-column-state.mjs +76 -79
- package/es/src/ap-table/hooks/use-table-content-height.mjs +20 -22
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +172 -178
- package/es/src/ap-table/hooks/use-table-paging.mjs +129 -134
- package/es/src/ap-table/utils.mjs +123 -130
- package/es/src/ap-upload/apUpload.vue.mjs +43 -46
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +92 -94
- package/es/src/ap-upload/components/Picture.vue2.mjs +145 -151
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +144 -148
- package/es/src/ap-upload/hooks/useOss.mjs +35 -35
- package/es/src/ap-upload/utils/accept.mjs +37 -38
- package/es/src/ap-upload/utils/returnData.mjs +14 -14
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +85 -89
- package/es/src/business/ap-appendix/utils/index.mjs +13 -13
- package/es/src/business/ap-attachment/ApAttachment.mjs +80 -87
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +35 -42
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +59 -74
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +25 -27
- package/es/src/business/ap-batch-action-group/index.d.ts +6 -0
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +28 -28
- package/es/src/business/ap-card/ApCard.vue2.mjs +40 -52
- package/es/src/business/ap-copy/ApCopy.mjs +38 -39
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +118 -112
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +138 -151
- package/es/src/business/ap-export-group/convertExportField.mjs +9 -10
- package/es/src/business/ap-export-group/handleExportDownload.mjs +8 -8
- package/es/src/business/ap-image/ApImage.vue2.mjs +57 -62
- package/es/src/business/ap-image/hooks/useOss.mjs +26 -26
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +31 -34
- package/es/src/business/ap-keep-alive/hook.mjs +14 -20
- package/es/src/business/ap-keep-alive/keep-alive.mjs +88 -93
- package/es/src/business/ap-keep-alive/keeper/ap-form-keeper.mjs +10 -12
- package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.mjs +10 -12
- package/es/src/business/ap-keep-alive/keeper/ap-list-keeper.mjs +8 -10
- package/es/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.mjs +5 -6
- package/es/src/business/ap-keep-alive/keeper/ap-search-form-keeper.mjs +8 -10
- package/es/src/business/ap-keep-alive/keeper/ap-table-keeper.mjs +8 -10
- package/es/src/business/ap-keep-alive/keeper/ap-view-keeper.mjs +4 -5
- package/es/src/business/ap-keep-alive/keeper/edit-grid-keeper.mjs +8 -10
- package/es/src/business/ap-keep-alive/keeper/edit-table-keeper.mjs +8 -10
- package/es/src/business/ap-keep-alive/keeper/step-keeper.mjs +5 -6
- package/es/src/business/ap-keep-alive/keeper/tab-keeper.mjs +5 -6
- package/es/src/business/ap-keep-alive/utils.mjs +25 -26
- package/es/src/business/ap-ladder/ApLadder.mjs +11 -14
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +39 -45
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +114 -124
- package/es/src/business/ap-size-input/ApSizeInput.mjs +46 -49
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +43 -44
- package/es/src/business/ap-summary/utils.mjs +23 -29
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +33 -44
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +23 -23
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +27 -30
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +90 -92
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +170 -183
- package/es/src/business/ap-upload-file/hook/useOss.mjs +17 -17
- package/es/src/business/ap-upload-file/hook/useProps.mjs +14 -16
- package/es/src/business/ap-upload-file/utils/accept.mjs +35 -36
- package/es/src/business/ap-upload-file/utils/fileList.mjs +10 -12
- package/es/src/business/ap-upload-file/utils/upload.mjs +40 -40
- package/es/src/business/ap-value-select-card/index.vue2.mjs +122 -119
- package/es/src/business/ap-value-select-card/utils.mjs +1 -1
- package/es/src/business/ap-view/ap-view.vue2.mjs +134 -147
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +2 -2
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +90 -94
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -2
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +126 -135
- package/es/src/business/batch-input-group/form-item.vue.mjs +43 -51
- package/es/src/business/batch-input-group/index.vue.mjs +113 -127
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +40 -42
- package/es/src/business/hooks/useGridRefresh.mjs +11 -12
- package/es/src/business/hooks/useKeepAliveFlag.mjs +4 -4
- package/es/src/business/hooks/usePageListAgGrid.mjs +43 -48
- package/es/src/business/hooks/usePageListApGrid.mjs +48 -53
- package/es/src/business/hooks/usePageListApTable.mjs +27 -32
- package/es/src/business/hooks/useTableRefresh.mjs +39 -41
- package/es/src/check-card/index.vue2.mjs +51 -56
- package/es/src/config-provider/config-provider.mjs +12 -12
- package/es/src/config-provider/hooks/use-global-config.mjs +20 -23
- package/es/src/config-provider/hooks/use-locale.mjs +17 -17
- package/es/src/editable-table/form-item.vue.mjs +82 -88
- package/es/src/editable-table/hooks/use-get-columns.mjs +40 -43
- package/es/src/editable-table/index.vue.mjs +100 -113
- package/es/src/editable-table/utils.mjs +88 -95
- package/es/src/hooks/useControllableValue.mjs +18 -18
- package/es/src/hooks/useResize.mjs +16 -16
- package/es/src/mask/index.vue.mjs +11 -11
- package/es/src/resize-observer/index.vue.mjs +20 -22
- package/es/src/scroll-bar/index.vue.mjs +2 -8
- package/es/src/scroll-bar/internal.vue.mjs +59 -65
- package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +23 -25
- package/es/src/scroll-view/index.vue.mjs +40 -42
- package/es/src/splitter/Splitter.vue2.mjs +48 -52
- package/es/src/splitter/hooks/useItems.mjs +14 -15
- package/es/src/splitter/hooks/useResize.mjs +31 -34
- package/es/src/splitter/hooks/useSizes.mjs +34 -34
- package/es/src/text/index.vue.mjs +24 -24
- package/es/src/utils/config-provider-preset.mjs +17 -21
- package/es/src/utils/copy.mjs +9 -9
- package/es/src/utils/index.mjs +43 -43
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/createWorkOrder.mjs +17 -18
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.mjs +109 -123
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.js +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -0
- package/lib/src/ag-grid/renderer/checkbox.js +1 -1
- package/lib/src/ag-grid/renderer/date-range.js +1 -1
- package/lib/src/ag-grid/renderer/date.js +1 -1
- package/lib/src/ag-grid/renderer/radio.js +1 -1
- package/lib/src/ag-grid/renderer/select.js +1 -1
- package/lib/src/ag-grid/renderer/tree-select.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-button/utils/index.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/ap-descriptions/helper.js +1 -1
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-download/hooks/index.js +1 -1
- package/lib/src/ap-download/utils/getFileInfo.js +1 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/read.vue2.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-field/hooks/use-options.js +1 -1
- package/lib/src/ap-field/number/helper.js +1 -1
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/radio/read.vue2.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/read.vue2.js +1 -1
- package/lib/src/ap-field/select/use-select-options.js +1 -1
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.js +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -3
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-watch.js +1 -1
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +7 -7
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/list/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -3
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/provider/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-sorter.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +3 -3
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/utils/get.js +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-grid/utils/editable.js +1 -1
- package/lib/src/ap-grid/utils/renderer.js +1 -1
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-grid/utils/to-tree-array.js +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-modal/utils/methods.js +1 -1
- package/lib/src/ap-modal/utils/util.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.d.ts +3 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue2.js +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/utils.js +1 -1
- package/lib/src/ap-table/constants.d.ts +6 -6
- package/lib/src/ap-table/hooks/use-sticky-scroll.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/ap-upload/hooks/useOss.js +1 -1
- package/lib/src/ap-upload/utils/accept.js +1 -1
- package/lib/src/ap-upload/utils/returnData.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-appendix/utils/index.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-batch-action/ApBatchAction.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +6 -0
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-copy/ApCopy.js +1 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/convertExportField.js +1 -1
- package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/hooks/useOss.js +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-keep-alive/hook.js +1 -1
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/ap-form-keeper.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/ap-list-keeper.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/ap-search-form-keeper.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/ap-table-keeper.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/ap-view-keeper.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/edit-grid-keeper.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/edit-table-keeper.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/step-keeper.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/tab-keeper.js +1 -1
- package/lib/src/business/ap-keep-alive/utils.js +1 -1
- package/lib/src/business/ap-ladder/ApLadder.js +1 -1
- package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/utils.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useOss.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
- package/lib/src/business/ap-upload-file/utils/accept.js +1 -1
- package/lib/src/business/ap-upload-file/utils/fileList.js +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-value-select-card/utils.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +2 -2
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -2
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
- package/lib/src/business/hooks/useGridRefresh.js +1 -1
- package/lib/src/business/hooks/useKeepAliveFlag.js +1 -1
- package/lib/src/business/hooks/usePageListAgGrid.js +1 -1
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/business/hooks/usePageListApTable.js +1 -1
- package/lib/src/business/hooks/useTableRefresh.js +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.js +1 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useResize.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/resize-observer/index.vue.js +1 -1
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/splitter/hooks/useItems.js +1 -1
- package/lib/src/splitter/hooks/useResize.js +1 -1
- package/lib/src/splitter/hooks/useSizes.js +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.js +1 -1
- package/lib/src/utils/copy.js +1 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/createWorkOrder.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -2
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/package.json +7 -7
- package/theme/ap-draggable-grid/ap-draggable-grid.css +7 -3
- package/theme/ap-draggable-grid/ap-draggable-grid.less +5 -3
- package/theme/index.css +7 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as v, onMounted as g, createElementBlock as R, openBlock as V, normalizeClass as h, unref as t, createVNode as u, mergeProps as b } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
|
-
import { Form as
|
|
4
|
-
import { omit as
|
|
5
|
-
import { useLocale as
|
|
6
|
-
import { useNamespace as
|
|
7
|
-
const
|
|
3
|
+
import { Form as I, InputNumber as B, RadioGroup as k } from "@aplus-frontend/antdv";
|
|
4
|
+
import { omit as x } from "lodash-unified";
|
|
5
|
+
import { useLocale as _ } from "../../config-provider/hooks/use-locale.mjs";
|
|
6
|
+
import { useNamespace as y } from "../../config-provider/hooks/use-namespace.mjs";
|
|
7
|
+
const P = /* @__PURE__ */ v({
|
|
8
8
|
name: "ApInputRadio",
|
|
9
9
|
__name: "ApInputRadio",
|
|
10
10
|
props: {
|
|
@@ -31,46 +31,43 @@ const S = /* @__PURE__ */ g({
|
|
|
31
31
|
setRadioValCallback: {}
|
|
32
32
|
},
|
|
33
33
|
emits: ["update:value", "InputRadioChange"],
|
|
34
|
-
setup(
|
|
35
|
-
const
|
|
34
|
+
setup(r, { emit: i }) {
|
|
35
|
+
const p = I.useInjectFormItemContext(), e = r, { t: s } = _(), { b: c, e: d } = y("ap-input-radio"), l = i, n = (o) => {
|
|
36
36
|
let a = { ...e.value, ...o };
|
|
37
|
-
|
|
38
|
-
},
|
|
37
|
+
l("update:value", a), l("InputRadioChange", a), p.onFieldChange();
|
|
38
|
+
}, m = (o) => {
|
|
39
39
|
n({ inputVal: o });
|
|
40
|
-
},
|
|
40
|
+
}, C = (o) => {
|
|
41
41
|
const a = o.target.value;
|
|
42
42
|
if (e.setRadioValCallback) {
|
|
43
|
-
let
|
|
44
|
-
n({ inputVal:
|
|
43
|
+
let f = e.setRadioValCallback(a);
|
|
44
|
+
n({ inputVal: f, radioVal: a });
|
|
45
45
|
} else
|
|
46
46
|
n({ radioVal: a });
|
|
47
47
|
};
|
|
48
|
-
return
|
|
48
|
+
return g(() => {
|
|
49
49
|
if (e.setRadioValCallback) {
|
|
50
50
|
let o = e.setRadioValCallback(e.value.radioVal);
|
|
51
51
|
n({ inputVal: o });
|
|
52
52
|
}
|
|
53
|
-
}), (o, a) => {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}, null, 8, ["value", "options"])
|
|
70
|
-
], 2);
|
|
71
|
-
};
|
|
53
|
+
}), (o, a) => (V(), R("div", {
|
|
54
|
+
class: h([t(c)()])
|
|
55
|
+
}, [
|
|
56
|
+
u(t(B), b({
|
|
57
|
+
class: t(d)("input-number")
|
|
58
|
+
}, t(x)(e, ["value", "options"]), {
|
|
59
|
+
value: e.value ? e.value?.inputVal : "",
|
|
60
|
+
placeholder: t(s)("ap.common.inputText"),
|
|
61
|
+
onChange: m
|
|
62
|
+
}), null, 16, ["class", "value", "placeholder"]),
|
|
63
|
+
u(t(k), {
|
|
64
|
+
value: e.value ? e.value?.radioVal : "",
|
|
65
|
+
options: e.options,
|
|
66
|
+
onChange: C
|
|
67
|
+
}, null, 8, ["value", "options"])
|
|
68
|
+
], 2));
|
|
72
69
|
}
|
|
73
70
|
});
|
|
74
71
|
export {
|
|
75
|
-
|
|
72
|
+
P as default
|
|
76
73
|
};
|
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
import { provide as
|
|
2
|
-
const
|
|
3
|
-
|
|
1
|
+
import { provide as p, nextTick as r, inject as v } from "vue";
|
|
2
|
+
const i = Symbol("ApKeepAliveProvideKey"), g = (t, s) => {
|
|
3
|
+
p(i, {
|
|
4
4
|
getter: async (e) => {
|
|
5
|
-
await
|
|
6
|
-
const
|
|
7
|
-
return
|
|
5
|
+
await r();
|
|
6
|
+
const a = t.get(s.value);
|
|
7
|
+
return a ? e ? a?.get(e) : Object.fromEntries(a) : {};
|
|
8
8
|
},
|
|
9
|
-
setter: async (e,
|
|
10
|
-
await
|
|
11
|
-
let n =
|
|
12
|
-
return n || (n = /* @__PURE__ */ new Map(),
|
|
9
|
+
setter: async (e, a) => {
|
|
10
|
+
await r();
|
|
11
|
+
let n = t.get(s.value);
|
|
12
|
+
return n || (n = /* @__PURE__ */ new Map(), t.set(s.value, n)), n?.set(e, a);
|
|
13
13
|
},
|
|
14
|
-
has: async (e) =>
|
|
15
|
-
if (await i(), e) {
|
|
16
|
-
const t = s.get(r.value);
|
|
17
|
-
return !!(t != null && t.has(e));
|
|
18
|
-
}
|
|
19
|
-
return s.has(r.value);
|
|
20
|
-
}
|
|
14
|
+
has: async (e) => (await r(), e ? !!t.get(s.value)?.has(e) : t.has(s.value))
|
|
21
15
|
});
|
|
22
|
-
},
|
|
16
|
+
}, f = () => v(i, {
|
|
23
17
|
getter: async () => {
|
|
24
18
|
},
|
|
25
19
|
setter: async () => {
|
|
@@ -28,6 +22,6 @@ const a = Symbol("ApKeepAliveProvideKey"), f = (s, r) => {
|
|
|
28
22
|
}
|
|
29
23
|
});
|
|
30
24
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
f as useApKeepAliveInject,
|
|
26
|
+
g as useApKeepAliveProvide
|
|
33
27
|
};
|
|
@@ -1,154 +1,149 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { matches as
|
|
4
|
-
import { catchWrapper as
|
|
5
|
-
import { LruCacher as
|
|
6
|
-
import { forceStopTags as
|
|
7
|
-
import { throttle as
|
|
8
|
-
import { useApKeepAliveProvide as
|
|
9
|
-
const
|
|
1
|
+
import { defineComponent as U, getCurrentInstance as j, ref as C, onMounted as M, onUpdated as E, onBeforeUnmount as z, onBeforeUpdate as F } from "vue";
|
|
2
|
+
import v from "./keeper/index.mjs";
|
|
3
|
+
import { matches as k, getAliveKey as I, isNoValue as L, getVNodeObjByVNodeChild as y, getVNodeObjByVNodeArrayChildren as D, getVNodeChirldren as T, getFirstVNodeChirldren as K } from "./utils.mjs";
|
|
4
|
+
import { catchWrapper as w, measureWrapper as h } from "@aplus-frontend/utils";
|
|
5
|
+
import { LruCacher as O } from "./cacher/lru-cacher.mjs";
|
|
6
|
+
import { forceStopTags as W, ApKeepAliveProps as R } from "./interface.mjs";
|
|
7
|
+
import { throttle as x } from "lodash-unified";
|
|
8
|
+
import { useApKeepAliveProvide as _ } from "./hook.mjs";
|
|
9
|
+
const s = console, c = "|", ee = U({
|
|
10
10
|
name: "ApKeepAlive",
|
|
11
11
|
inheritAttrs: !1,
|
|
12
|
-
props:
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
let
|
|
16
|
-
const
|
|
17
|
-
var f;
|
|
12
|
+
props: R(),
|
|
13
|
+
setup(n, { slots: B }) {
|
|
14
|
+
const f = j(), b = (e) => !(n.include && (!e || !k(n.include, e)) || n.exclude && e && k(n.exclude, e)), d = n.store || new O(n.max), a = C("");
|
|
15
|
+
let g = "";
|
|
16
|
+
const A = /* @__PURE__ */ new Set([...W, ...n.stopTags]), m = (e, o = "") => {
|
|
18
17
|
const t = [];
|
|
19
18
|
if (!e) return t;
|
|
20
|
-
const { VnodeName: i, vnodeSubPath:
|
|
19
|
+
const { VnodeName: i, vnodeSubPath: l } = I(
|
|
21
20
|
e,
|
|
22
|
-
|
|
21
|
+
a.value
|
|
23
22
|
);
|
|
24
|
-
|
|
25
|
-
const
|
|
26
|
-
if (
|
|
27
|
-
const r =
|
|
28
|
-
!
|
|
23
|
+
l && (o += c + l);
|
|
24
|
+
const u = v[i];
|
|
25
|
+
if (u) {
|
|
26
|
+
const r = u.get(e);
|
|
27
|
+
!L(r) && t.push([o, r]);
|
|
29
28
|
}
|
|
30
|
-
if (
|
|
31
|
-
return
|
|
29
|
+
if (A.has(i))
|
|
30
|
+
return n.debug && s.log("[ stop-VnodeName ] >", i, o), t;
|
|
32
31
|
if (e.children)
|
|
33
32
|
if (Array.isArray(e.children))
|
|
34
33
|
e.children.forEach((r) => {
|
|
35
|
-
r =
|
|
34
|
+
r = y(r), r && t.push(...m(r, o));
|
|
36
35
|
});
|
|
37
36
|
else {
|
|
38
|
-
const r =
|
|
39
|
-
r && t.push(...
|
|
37
|
+
const r = D(e.children);
|
|
38
|
+
r && t.push(...m(r, o));
|
|
40
39
|
}
|
|
41
|
-
return
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
const { VnodeName: i, vnodeSubPath: s } = T(
|
|
40
|
+
return e.component?.subTree && t.push(...m(e.component.subTree, o)), t;
|
|
41
|
+
}, p = async (e, o, t = "") => {
|
|
42
|
+
if (!e || !o || o?.size < 1) return;
|
|
43
|
+
const { VnodeName: i, vnodeSubPath: l } = I(
|
|
46
44
|
e,
|
|
47
|
-
|
|
45
|
+
a.value
|
|
48
46
|
);
|
|
49
|
-
|
|
50
|
-
const
|
|
51
|
-
if (
|
|
52
|
-
|
|
53
|
-
const r = t.split(
|
|
54
|
-
await
|
|
47
|
+
l && (t += c + l);
|
|
48
|
+
const u = v[i];
|
|
49
|
+
if (u) {
|
|
50
|
+
n.debug && s.log("[ vnkeeper ] >", i, e.key);
|
|
51
|
+
const r = t.split(c).slice(-1).join(c), S = o.get(r);
|
|
52
|
+
await u.set(e, S);
|
|
55
53
|
}
|
|
56
|
-
if (
|
|
57
|
-
|
|
54
|
+
if (A.has(i)) {
|
|
55
|
+
n.debug && s.log("[ stop VnodeName ] >", i, t);
|
|
58
56
|
return;
|
|
59
57
|
}
|
|
60
58
|
if (e.children)
|
|
61
59
|
if (Array.isArray(e.children))
|
|
62
60
|
e.children.forEach((r) => {
|
|
63
|
-
r =
|
|
61
|
+
r = y(r), r && p(r, o, t);
|
|
64
62
|
});
|
|
65
63
|
else {
|
|
66
|
-
const r =
|
|
67
|
-
r &&
|
|
64
|
+
const r = D(e.children);
|
|
65
|
+
r && p(r, o, t);
|
|
68
66
|
}
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
const e =
|
|
73
|
-
if (!t || typeof t.type == "string" || (typeof t.type == "object" && "name" in t.type && (
|
|
67
|
+
e.component?.subTree && p(e.component.subTree, o, t);
|
|
68
|
+
}, N = x(() => {
|
|
69
|
+
w(() => {
|
|
70
|
+
const e = T(f), o = K(e), t = y(o);
|
|
71
|
+
if (!t || typeof t.type == "string" || (typeof t.type == "object" && "name" in t.type && (g = t.type.name || ""), a.value = t.key || g || "", !b(g)) || !a.value)
|
|
74
72
|
return;
|
|
75
|
-
const i = d.get(
|
|
76
|
-
|
|
73
|
+
const i = d.get(a.value);
|
|
74
|
+
p(t, i), s.log(
|
|
77
75
|
"resetDataInVNode",
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
f.vnode.key,
|
|
77
|
+
a.value,
|
|
80
78
|
i
|
|
81
79
|
);
|
|
82
80
|
});
|
|
83
81
|
}, 100, {
|
|
84
82
|
trailing: !1
|
|
85
83
|
});
|
|
86
|
-
|
|
87
|
-
if (
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
M(() => {
|
|
85
|
+
if (n.debug) {
|
|
86
|
+
s.log("[ onMounted ] >", n.exclude), h(() => {
|
|
87
|
+
N();
|
|
90
88
|
});
|
|
91
89
|
return;
|
|
92
90
|
}
|
|
93
|
-
|
|
94
|
-
}),
|
|
95
|
-
if (
|
|
96
|
-
|
|
97
|
-
|
|
91
|
+
N();
|
|
92
|
+
}), E(() => {
|
|
93
|
+
if (n.debug) {
|
|
94
|
+
s.log("[ onUpdated ] >", n.exclude), h(() => {
|
|
95
|
+
N();
|
|
98
96
|
});
|
|
99
97
|
return;
|
|
100
98
|
}
|
|
101
|
-
|
|
99
|
+
N();
|
|
102
100
|
});
|
|
103
|
-
const
|
|
104
|
-
|
|
105
|
-
const e =
|
|
101
|
+
const V = x(() => {
|
|
102
|
+
w(() => {
|
|
103
|
+
const e = T(f), o = K(e), t = y(o);
|
|
106
104
|
if (!t) return;
|
|
107
|
-
if (!
|
|
108
|
-
|
|
105
|
+
if (!a.value) {
|
|
106
|
+
s.warn(
|
|
109
107
|
"ap-keep-alive 子组件 key 不存在,请检查组件是否设置了 key"
|
|
110
108
|
);
|
|
111
109
|
return;
|
|
112
110
|
}
|
|
113
|
-
if (!
|
|
114
|
-
let i =
|
|
115
|
-
i = i.map((
|
|
116
|
-
const
|
|
117
|
-
|
|
111
|
+
if (!b(g)) return;
|
|
112
|
+
let i = m(t);
|
|
113
|
+
i = i.map((u) => [u[0].split(c).slice(-1).join(c), u[1]]);
|
|
114
|
+
const l = i.map((u) => u[0]);
|
|
115
|
+
l.length > new Set(l).size && s.warn(
|
|
118
116
|
"需要缓存的路径重复请合理设置组件key,保证在当前ApKeepAlive模块下唯一",
|
|
119
|
-
|
|
120
|
-
), d.set(
|
|
117
|
+
l
|
|
118
|
+
), d.set(a.value, new Map(i)), n.debug && s.log(
|
|
121
119
|
"[ loadDataInVNode ] >",
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
d.get(
|
|
120
|
+
f.vnode.key,
|
|
121
|
+
a.value,
|
|
122
|
+
d.get(a.value)
|
|
125
123
|
);
|
|
126
124
|
});
|
|
127
125
|
}, 100, {
|
|
128
126
|
trailing: !1
|
|
129
127
|
});
|
|
130
|
-
return
|
|
131
|
-
if (
|
|
132
|
-
|
|
133
|
-
|
|
128
|
+
return z(() => {
|
|
129
|
+
if (n.debug) {
|
|
130
|
+
s.log("[ onBeforeUnmount ] >"), h(() => {
|
|
131
|
+
V();
|
|
134
132
|
});
|
|
135
133
|
return;
|
|
136
134
|
}
|
|
137
|
-
|
|
138
|
-
}),
|
|
139
|
-
if (
|
|
140
|
-
|
|
141
|
-
|
|
135
|
+
V();
|
|
136
|
+
}), F(() => {
|
|
137
|
+
if (n.debug) {
|
|
138
|
+
s.log("[ onBeforeUpdate ] >"), h(() => {
|
|
139
|
+
V();
|
|
142
140
|
});
|
|
143
141
|
return;
|
|
144
142
|
}
|
|
145
|
-
|
|
146
|
-
}),
|
|
147
|
-
var e;
|
|
148
|
-
return (e = h.default) == null ? void 0 : e.call(h);
|
|
149
|
-
};
|
|
143
|
+
V();
|
|
144
|
+
}), _(d, a), () => B.default?.();
|
|
150
145
|
}
|
|
151
146
|
});
|
|
152
147
|
export {
|
|
153
|
-
|
|
148
|
+
ee as default
|
|
154
149
|
};
|
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import { nextTick as
|
|
2
|
-
import { isNoValue as
|
|
3
|
-
const
|
|
4
|
-
get(
|
|
5
|
-
var o;
|
|
1
|
+
import { nextTick as n } from "vue";
|
|
2
|
+
import { isNoValue as r } from "../utils.mjs";
|
|
3
|
+
const m = {
|
|
4
|
+
get(o) {
|
|
6
5
|
let e;
|
|
7
|
-
const t =
|
|
6
|
+
const t = o.component?.exposed;
|
|
8
7
|
return t && (e = t.getFieldsValue()), e;
|
|
9
8
|
},
|
|
10
|
-
set(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
t && r(() => {
|
|
9
|
+
set(o, e) {
|
|
10
|
+
if (r(e)) return;
|
|
11
|
+
const t = o.component?.exposed;
|
|
12
|
+
t && n(() => {
|
|
15
13
|
t.setFieldsValue(e);
|
|
16
14
|
});
|
|
17
15
|
}
|
|
18
16
|
};
|
|
19
17
|
export {
|
|
20
|
-
|
|
18
|
+
m as default
|
|
21
19
|
};
|
|
@@ -1,27 +1,25 @@
|
|
|
1
|
-
import { unref as
|
|
2
|
-
import { isNoValue as
|
|
3
|
-
const
|
|
1
|
+
import { unref as a } from "vue";
|
|
2
|
+
import { isNoValue as i } from "../utils.mjs";
|
|
3
|
+
const l = {
|
|
4
4
|
get(r) {
|
|
5
|
-
var c, a, i;
|
|
6
5
|
let e, t, o = [];
|
|
7
|
-
const
|
|
8
|
-
return
|
|
9
|
-
(
|
|
10
|
-
), t =
|
|
6
|
+
const n = r.props?.rowKey || "key", s = r.component?.exposed;
|
|
7
|
+
return s && (e = s.getSearchFormValues(), o = a(s.rowSelection?.selectedRows).map(
|
|
8
|
+
(c) => c[n]
|
|
9
|
+
), t = s.getPaging()), {
|
|
11
10
|
selectedKeys: o,
|
|
12
11
|
data: e,
|
|
13
12
|
pagination: t
|
|
14
13
|
};
|
|
15
14
|
},
|
|
16
15
|
set(r, { data: e, pagination: t }) {
|
|
17
|
-
|
|
18
|
-
const o = (s = r.component) == null ? void 0 : s.exposed;
|
|
16
|
+
const o = r.component?.exposed;
|
|
19
17
|
if (o) {
|
|
20
|
-
if (
|
|
18
|
+
if (i(e)) return;
|
|
21
19
|
e && o.setSearchFormValues(e), t && o.setPaging(t, !1);
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
22
|
};
|
|
25
23
|
export {
|
|
26
|
-
|
|
24
|
+
l as default
|
|
27
25
|
};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { isNoValue as
|
|
2
|
-
const
|
|
3
|
-
get(
|
|
4
|
-
var n;
|
|
1
|
+
import { isNoValue as o } from "../utils.mjs";
|
|
2
|
+
const r = {
|
|
3
|
+
get(n) {
|
|
5
4
|
let s, t;
|
|
6
|
-
const e =
|
|
5
|
+
const e = n.component?.exposed;
|
|
7
6
|
return e && (s = e.getSearchFormValuesIfSetted(), t = e.getPaging()), { data: s, pagination: t };
|
|
8
7
|
},
|
|
9
|
-
set(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const e = (n = o.component) == null ? void 0 : n.exposed;
|
|
8
|
+
set(n, { pagination: s, data: t }) {
|
|
9
|
+
if (o(t)) return;
|
|
10
|
+
const e = n.component?.exposed;
|
|
13
11
|
e && (t && e.setSearchFormValuesIfSetted(t), s && e.setPaging(s));
|
|
14
12
|
}
|
|
15
13
|
};
|
|
16
14
|
export {
|
|
17
|
-
|
|
15
|
+
r as default
|
|
18
16
|
};
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { isNoValue as
|
|
2
|
-
const
|
|
1
|
+
import { isNoValue as n } from "../utils.mjs";
|
|
2
|
+
const p = {
|
|
3
3
|
get(t) {
|
|
4
|
-
var n;
|
|
5
4
|
let e;
|
|
6
|
-
const o =
|
|
5
|
+
const o = t.component?.proxy;
|
|
7
6
|
return o && (e = o.value), e;
|
|
8
7
|
},
|
|
9
8
|
set(t, e) {
|
|
10
|
-
if (
|
|
9
|
+
if (n(e)) return;
|
|
11
10
|
const o = t.component;
|
|
12
11
|
o && (o.emit("update:value", e), o.emit("change", e));
|
|
13
12
|
}
|
|
14
13
|
};
|
|
15
14
|
export {
|
|
16
|
-
|
|
15
|
+
p as default
|
|
17
16
|
};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { isNoValue as
|
|
2
|
-
const
|
|
3
|
-
get(
|
|
4
|
-
var t;
|
|
1
|
+
import { isNoValue as r } from "../utils.mjs";
|
|
2
|
+
const s = {
|
|
3
|
+
get(t) {
|
|
5
4
|
let e;
|
|
6
|
-
const o =
|
|
5
|
+
const o = t.component?.exposed;
|
|
7
6
|
return o && (e = o.apForm.value.getFieldsValue()), e;
|
|
8
7
|
},
|
|
9
|
-
set(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const o = (t = r.component) == null ? void 0 : t.exposed;
|
|
8
|
+
set(t, e) {
|
|
9
|
+
if (r(e)) return;
|
|
10
|
+
const o = t.component?.exposed;
|
|
13
11
|
o && o.apForm.value.setFieldsValue(e);
|
|
14
12
|
}
|
|
15
13
|
};
|
|
16
14
|
export {
|
|
17
|
-
|
|
15
|
+
s as default
|
|
18
16
|
};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { isNoValue as
|
|
2
|
-
const
|
|
3
|
-
get(
|
|
4
|
-
var n;
|
|
1
|
+
import { isNoValue as o } from "../utils.mjs";
|
|
2
|
+
const r = {
|
|
3
|
+
get(n) {
|
|
5
4
|
let a, t;
|
|
6
|
-
const e =
|
|
5
|
+
const e = n.component?.exposed;
|
|
7
6
|
return e && (a = e.getSearchFormValues(), t = e.getPaging()), { data: a, pagination: t };
|
|
8
7
|
},
|
|
9
|
-
set(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const e = (n = o.component) == null ? void 0 : n.exposed;
|
|
8
|
+
set(n, { pagination: a, data: t }) {
|
|
9
|
+
if (o(t)) return;
|
|
10
|
+
const e = n.component?.exposed;
|
|
13
11
|
e && (t && e.setSearchFormValues(t), a && e.setPaging(a));
|
|
14
12
|
}
|
|
15
13
|
};
|
|
16
14
|
export {
|
|
17
|
-
|
|
15
|
+
r as default
|
|
18
16
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a = {
|
|
2
2
|
get(t) {
|
|
3
3
|
},
|
|
4
|
-
set(t,
|
|
5
|
-
|
|
6
|
-
const e = (s = t.component) == null ? void 0 : s.exposed;
|
|
4
|
+
set(t, s) {
|
|
5
|
+
const e = t.component?.exposed;
|
|
7
6
|
console.log("[ apViewInstance ] >", e), e && e.setFirstDefaultSystemView(!0);
|
|
8
7
|
}
|
|
9
8
|
};
|
|
10
9
|
export {
|
|
11
|
-
|
|
10
|
+
a as default
|
|
12
11
|
};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { isNoValue as
|
|
2
|
-
const
|
|
3
|
-
get(
|
|
4
|
-
var o;
|
|
1
|
+
import { isNoValue as n } from "../utils.mjs";
|
|
2
|
+
const s = {
|
|
3
|
+
get(o) {
|
|
5
4
|
let e = [];
|
|
6
|
-
const t =
|
|
5
|
+
const t = o.component?.exposed;
|
|
7
6
|
return t && (e = t.getRowsData()), e;
|
|
8
7
|
},
|
|
9
|
-
set(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const t = (o = n.component) == null ? void 0 : o.exposed;
|
|
8
|
+
set(o, e) {
|
|
9
|
+
if (n(e)) return;
|
|
10
|
+
const t = o.component?.exposed;
|
|
13
11
|
t && t.setTableData(e);
|
|
14
12
|
}
|
|
15
13
|
};
|
|
16
14
|
export {
|
|
17
|
-
|
|
15
|
+
s as default
|
|
18
16
|
};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { isNoValue as
|
|
2
|
-
const
|
|
3
|
-
get(
|
|
4
|
-
var a;
|
|
1
|
+
import { isNoValue as o } from "../utils.mjs";
|
|
2
|
+
const s = {
|
|
3
|
+
get(a) {
|
|
5
4
|
let e = [];
|
|
6
|
-
const t =
|
|
5
|
+
const t = a.component?.exposed;
|
|
7
6
|
return t && (e = t.getRowsData()), e;
|
|
8
7
|
},
|
|
9
|
-
set(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const t = (a = o.component) == null ? void 0 : a.exposed;
|
|
8
|
+
set(a, e) {
|
|
9
|
+
if (o(e)) return;
|
|
10
|
+
const t = a.component?.exposed;
|
|
13
11
|
t && t.setTableData(e);
|
|
14
12
|
}
|
|
15
13
|
};
|
|
16
14
|
export {
|
|
17
|
-
|
|
15
|
+
s as default
|
|
18
16
|
};
|